Registered Target Instance shows unhealthy in target groups











up vote
0
down vote

favorite












enter image description here



I have created a Application Load Balancer(ALB) and registered target groups with Ec2 instance and all the deployment is done in openshift (I have created routes for all registered instances in Openshift). Deployment works fine but the issue is in Target groups registered instances health shows unhealthy and throws message {Health checks failed with these codes: [503]}. How do i make health checks success.



PS: if i use NLB target group instances shows healthy.



what am i deploying?



grafana and it works fine only issue is registred instances shows unhealthy



enter image description here










share|improve this question




























    up vote
    0
    down vote

    favorite












    enter image description here



    I have created a Application Load Balancer(ALB) and registered target groups with Ec2 instance and all the deployment is done in openshift (I have created routes for all registered instances in Openshift). Deployment works fine but the issue is in Target groups registered instances health shows unhealthy and throws message {Health checks failed with these codes: [503]}. How do i make health checks success.



    PS: if i use NLB target group instances shows healthy.



    what am i deploying?



    grafana and it works fine only issue is registred instances shows unhealthy



    enter image description here










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      enter image description here



      I have created a Application Load Balancer(ALB) and registered target groups with Ec2 instance and all the deployment is done in openshift (I have created routes for all registered instances in Openshift). Deployment works fine but the issue is in Target groups registered instances health shows unhealthy and throws message {Health checks failed with these codes: [503]}. How do i make health checks success.



      PS: if i use NLB target group instances shows healthy.



      what am i deploying?



      grafana and it works fine only issue is registred instances shows unhealthy



      enter image description here










      share|improve this question















      enter image description here



      I have created a Application Load Balancer(ALB) and registered target groups with Ec2 instance and all the deployment is done in openshift (I have created routes for all registered instances in Openshift). Deployment works fine but the issue is in Target groups registered instances health shows unhealthy and throws message {Health checks failed with these codes: [503]}. How do i make health checks success.



      PS: if i use NLB target group instances shows healthy.



      what am i deploying?



      grafana and it works fine only issue is registred instances shows unhealthy



      enter image description here







      amazon-web-services amazon-ec2 routes amazon-route53






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 9 at 19:29

























      asked Nov 9 at 15:18









      Cena

      255




      255
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          As far as I know, ALB is HTTP/HTTPS check (URL path), and NLB is TCP check (port).
          So, you might be configured your ALB health check details for your OpenShift cluster after checking your health check details. Check the target URL of health check is valid.




          • Application Load Balancer - health check

          • Network Load Balancr - health check


          I hope if help you. :^)






          share|improve this answer





















          • How to configure ALB health check for open shift or any other cluster, I didn't configure any health check
            – Cena
            Nov 11 at 23:38










          • As far as I remember, Application Load Balancer is HTTP/HTTPS health check against "/" path, so it will respond 503 status from OpenShift, how about change the health check to TCP port check, if you can ? Unfortunately I'm not familiar with AWS configuration, so I can't help you about AWS details, but you would check the around health check details between ALB and NLB, then you can find solution for this issue.
            – Daein Park
            Nov 12 at 0:58











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53228476%2fregistered-target-instance-shows-unhealthy-in-target-groups%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          As far as I know, ALB is HTTP/HTTPS check (URL path), and NLB is TCP check (port).
          So, you might be configured your ALB health check details for your OpenShift cluster after checking your health check details. Check the target URL of health check is valid.




          • Application Load Balancer - health check

          • Network Load Balancr - health check


          I hope if help you. :^)






          share|improve this answer





















          • How to configure ALB health check for open shift or any other cluster, I didn't configure any health check
            – Cena
            Nov 11 at 23:38










          • As far as I remember, Application Load Balancer is HTTP/HTTPS health check against "/" path, so it will respond 503 status from OpenShift, how about change the health check to TCP port check, if you can ? Unfortunately I'm not familiar with AWS configuration, so I can't help you about AWS details, but you would check the around health check details between ALB and NLB, then you can find solution for this issue.
            – Daein Park
            Nov 12 at 0:58















          up vote
          0
          down vote













          As far as I know, ALB is HTTP/HTTPS check (URL path), and NLB is TCP check (port).
          So, you might be configured your ALB health check details for your OpenShift cluster after checking your health check details. Check the target URL of health check is valid.




          • Application Load Balancer - health check

          • Network Load Balancr - health check


          I hope if help you. :^)






          share|improve this answer





















          • How to configure ALB health check for open shift or any other cluster, I didn't configure any health check
            – Cena
            Nov 11 at 23:38










          • As far as I remember, Application Load Balancer is HTTP/HTTPS health check against "/" path, so it will respond 503 status from OpenShift, how about change the health check to TCP port check, if you can ? Unfortunately I'm not familiar with AWS configuration, so I can't help you about AWS details, but you would check the around health check details between ALB and NLB, then you can find solution for this issue.
            – Daein Park
            Nov 12 at 0:58













          up vote
          0
          down vote










          up vote
          0
          down vote









          As far as I know, ALB is HTTP/HTTPS check (URL path), and NLB is TCP check (port).
          So, you might be configured your ALB health check details for your OpenShift cluster after checking your health check details. Check the target URL of health check is valid.




          • Application Load Balancer - health check

          • Network Load Balancr - health check


          I hope if help you. :^)






          share|improve this answer












          As far as I know, ALB is HTTP/HTTPS check (URL path), and NLB is TCP check (port).
          So, you might be configured your ALB health check details for your OpenShift cluster after checking your health check details. Check the target URL of health check is valid.




          • Application Load Balancer - health check

          • Network Load Balancr - health check


          I hope if help you. :^)







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 10 at 12:37









          Daein Park

          85527




          85527












          • How to configure ALB health check for open shift or any other cluster, I didn't configure any health check
            – Cena
            Nov 11 at 23:38










          • As far as I remember, Application Load Balancer is HTTP/HTTPS health check against "/" path, so it will respond 503 status from OpenShift, how about change the health check to TCP port check, if you can ? Unfortunately I'm not familiar with AWS configuration, so I can't help you about AWS details, but you would check the around health check details between ALB and NLB, then you can find solution for this issue.
            – Daein Park
            Nov 12 at 0:58


















          • How to configure ALB health check for open shift or any other cluster, I didn't configure any health check
            – Cena
            Nov 11 at 23:38










          • As far as I remember, Application Load Balancer is HTTP/HTTPS health check against "/" path, so it will respond 503 status from OpenShift, how about change the health check to TCP port check, if you can ? Unfortunately I'm not familiar with AWS configuration, so I can't help you about AWS details, but you would check the around health check details between ALB and NLB, then you can find solution for this issue.
            – Daein Park
            Nov 12 at 0:58
















          How to configure ALB health check for open shift or any other cluster, I didn't configure any health check
          – Cena
          Nov 11 at 23:38




          How to configure ALB health check for open shift or any other cluster, I didn't configure any health check
          – Cena
          Nov 11 at 23:38












          As far as I remember, Application Load Balancer is HTTP/HTTPS health check against "/" path, so it will respond 503 status from OpenShift, how about change the health check to TCP port check, if you can ? Unfortunately I'm not familiar with AWS configuration, so I can't help you about AWS details, but you would check the around health check details between ALB and NLB, then you can find solution for this issue.
          – Daein Park
          Nov 12 at 0:58




          As far as I remember, Application Load Balancer is HTTP/HTTPS health check against "/" path, so it will respond 503 status from OpenShift, how about change the health check to TCP port check, if you can ? Unfortunately I'm not familiar with AWS configuration, so I can't help you about AWS details, but you would check the around health check details between ALB and NLB, then you can find solution for this issue.
          – Daein Park
          Nov 12 at 0:58


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53228476%2fregistered-target-instance-shows-unhealthy-in-target-groups%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Schultheiß

          Liste der Kulturdenkmale in Wilsdruff

          Android Play Services Check