Juju bootstrap failure












0














First thing, Thanks for reading.



System specification:



MAAS region controller(also juju client):
lemur laptop from System76.



Ubuntu Linux 18.04.1 LTS



juju --version is 2.4.3-bionic-amd64



MAAS rack controller:



Dell Poweredge R620 with 2 * Intel Xeon E5-2630 v3
Same Linux as my laptop



MAAS version : 2.4.2 (7034-g2f5deb8b8-0ubuntu1)



How did i installed and set MAAS?
This





So what i'm thinking is to control MAAS using juju to deploy some apps.
On rack server, there are 5 kvm nodes are deployed and running.



I checked everything.



MAAS can deploy and destroy kvm nodes whenever i want.



Each MAAS node can be connected via ssh. ssh ubuntu 192.168.10.36 for example, which is node1.maas, i can remotely control it.



And MAAS DHCP, image syncing are working with no issue.



Now i tried to bootstrap juju with following method.




  1. Type juju add-cloud maas mylab to add my maas.

  2. Type juju add-credential mylab to add credential.

  3. Type juju bootstrap mylab to bootstrap.


And the result (10 mins waiting..).



lee@lee-Lemur:~$ juju bootstrap mylab
Creating Juju controller "mylab" on mylab
Looking for packaged Juju agent version 2.4.3 for amd64
Launching controller instance(s) on mylab...
- h7gbtn (arch=amd64 mem=3.5G cores=1)
Installing Juju agent on bootstrap instance
Fetching Juju GUI 2.14.0
Waiting for address
Attempting to connect to 192.168.10.44:22
ERROR failed to bootstrap model: waited for 20m0s without being able to connect: ssh: connect to host 192.168.10.44 port 22: Connection timed out
lee@lee-Lemur:~$


Why this happened to me?
What should i check?










share|improve this question





























    0














    First thing, Thanks for reading.



    System specification:



    MAAS region controller(also juju client):
    lemur laptop from System76.



    Ubuntu Linux 18.04.1 LTS



    juju --version is 2.4.3-bionic-amd64



    MAAS rack controller:



    Dell Poweredge R620 with 2 * Intel Xeon E5-2630 v3
    Same Linux as my laptop



    MAAS version : 2.4.2 (7034-g2f5deb8b8-0ubuntu1)



    How did i installed and set MAAS?
    This





    So what i'm thinking is to control MAAS using juju to deploy some apps.
    On rack server, there are 5 kvm nodes are deployed and running.



    I checked everything.



    MAAS can deploy and destroy kvm nodes whenever i want.



    Each MAAS node can be connected via ssh. ssh ubuntu 192.168.10.36 for example, which is node1.maas, i can remotely control it.



    And MAAS DHCP, image syncing are working with no issue.



    Now i tried to bootstrap juju with following method.




    1. Type juju add-cloud maas mylab to add my maas.

    2. Type juju add-credential mylab to add credential.

    3. Type juju bootstrap mylab to bootstrap.


    And the result (10 mins waiting..).



    lee@lee-Lemur:~$ juju bootstrap mylab
    Creating Juju controller "mylab" on mylab
    Looking for packaged Juju agent version 2.4.3 for amd64
    Launching controller instance(s) on mylab...
    - h7gbtn (arch=amd64 mem=3.5G cores=1)
    Installing Juju agent on bootstrap instance
    Fetching Juju GUI 2.14.0
    Waiting for address
    Attempting to connect to 192.168.10.44:22
    ERROR failed to bootstrap model: waited for 20m0s without being able to connect: ssh: connect to host 192.168.10.44 port 22: Connection timed out
    lee@lee-Lemur:~$


    Why this happened to me?
    What should i check?










    share|improve this question



























      0












      0








      0







      First thing, Thanks for reading.



      System specification:



      MAAS region controller(also juju client):
      lemur laptop from System76.



      Ubuntu Linux 18.04.1 LTS



      juju --version is 2.4.3-bionic-amd64



      MAAS rack controller:



      Dell Poweredge R620 with 2 * Intel Xeon E5-2630 v3
      Same Linux as my laptop



      MAAS version : 2.4.2 (7034-g2f5deb8b8-0ubuntu1)



      How did i installed and set MAAS?
      This





      So what i'm thinking is to control MAAS using juju to deploy some apps.
      On rack server, there are 5 kvm nodes are deployed and running.



      I checked everything.



      MAAS can deploy and destroy kvm nodes whenever i want.



      Each MAAS node can be connected via ssh. ssh ubuntu 192.168.10.36 for example, which is node1.maas, i can remotely control it.



      And MAAS DHCP, image syncing are working with no issue.



      Now i tried to bootstrap juju with following method.




      1. Type juju add-cloud maas mylab to add my maas.

      2. Type juju add-credential mylab to add credential.

      3. Type juju bootstrap mylab to bootstrap.


      And the result (10 mins waiting..).



      lee@lee-Lemur:~$ juju bootstrap mylab
      Creating Juju controller "mylab" on mylab
      Looking for packaged Juju agent version 2.4.3 for amd64
      Launching controller instance(s) on mylab...
      - h7gbtn (arch=amd64 mem=3.5G cores=1)
      Installing Juju agent on bootstrap instance
      Fetching Juju GUI 2.14.0
      Waiting for address
      Attempting to connect to 192.168.10.44:22
      ERROR failed to bootstrap model: waited for 20m0s without being able to connect: ssh: connect to host 192.168.10.44 port 22: Connection timed out
      lee@lee-Lemur:~$


      Why this happened to me?
      What should i check?










      share|improve this question















      First thing, Thanks for reading.



      System specification:



      MAAS region controller(also juju client):
      lemur laptop from System76.



      Ubuntu Linux 18.04.1 LTS



      juju --version is 2.4.3-bionic-amd64



      MAAS rack controller:



      Dell Poweredge R620 with 2 * Intel Xeon E5-2630 v3
      Same Linux as my laptop



      MAAS version : 2.4.2 (7034-g2f5deb8b8-0ubuntu1)



      How did i installed and set MAAS?
      This





      So what i'm thinking is to control MAAS using juju to deploy some apps.
      On rack server, there are 5 kvm nodes are deployed and running.



      I checked everything.



      MAAS can deploy and destroy kvm nodes whenever i want.



      Each MAAS node can be connected via ssh. ssh ubuntu 192.168.10.36 for example, which is node1.maas, i can remotely control it.



      And MAAS DHCP, image syncing are working with no issue.



      Now i tried to bootstrap juju with following method.




      1. Type juju add-cloud maas mylab to add my maas.

      2. Type juju add-credential mylab to add credential.

      3. Type juju bootstrap mylab to bootstrap.


      And the result (10 mins waiting..).



      lee@lee-Lemur:~$ juju bootstrap mylab
      Creating Juju controller "mylab" on mylab
      Looking for packaged Juju agent version 2.4.3 for amd64
      Launching controller instance(s) on mylab...
      - h7gbtn (arch=amd64 mem=3.5G cores=1)
      Installing Juju agent on bootstrap instance
      Fetching Juju GUI 2.14.0
      Waiting for address
      Attempting to connect to 192.168.10.44:22
      ERROR failed to bootstrap model: waited for 20m0s without being able to connect: ssh: connect to host 192.168.10.44 port 22: Connection timed out
      lee@lee-Lemur:~$


      Why this happened to me?
      What should i check?







      server ssh juju maas






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 5 at 9:16









      mature

      1,483422




      1,483422










      asked Dec 5 at 6:10









      heechan Lee

      11




      11



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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',
          autoActivateHeartbeat: false,
          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%2faskubuntu.com%2fquestions%2f1098561%2fjuju-bootstrap-failure%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098561%2fjuju-bootstrap-failure%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

          Ellipse (mathématiques)

          Quarter-circle Tiles

          Mont Emei