Deploying charms to Juju bootstrap node

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Is it possible to deploy a charm to Juju bootstrap node (to a container) ?
I have not been able to add machine on which Juju controller resides, and see it in the list of available machines that can be targeted for charm deployment.
Tried, for example, with:



juju add-machine --constraints tags=juju


Error:



Machine State DNS Inst id Series AZ Message
0 pending pending xenial failed to start machine 0 (failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['594543d5-4690-4f80-822a-60ea0446016a']), ('tags', ['juju'])] (resolved to "tags=juju zone=default")), retrying in 10s (5 more attempts)


The machine was successfully bootstrapped via (tag _is there)



 juju bootstrap --constraints tags=juju mymaas maas-controller --
config=config.yaml









share|improve this question



























    up vote
    0
    down vote

    favorite












    Is it possible to deploy a charm to Juju bootstrap node (to a container) ?
    I have not been able to add machine on which Juju controller resides, and see it in the list of available machines that can be targeted for charm deployment.
    Tried, for example, with:



    juju add-machine --constraints tags=juju


    Error:



    Machine State DNS Inst id Series AZ Message
    0 pending pending xenial failed to start machine 0 (failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['594543d5-4690-4f80-822a-60ea0446016a']), ('tags', ['juju'])] (resolved to "tags=juju zone=default")), retrying in 10s (5 more attempts)


    The machine was successfully bootstrapped via (tag _is there)



     juju bootstrap --constraints tags=juju mymaas maas-controller --
    config=config.yaml









    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Is it possible to deploy a charm to Juju bootstrap node (to a container) ?
      I have not been able to add machine on which Juju controller resides, and see it in the list of available machines that can be targeted for charm deployment.
      Tried, for example, with:



      juju add-machine --constraints tags=juju


      Error:



      Machine State DNS Inst id Series AZ Message
      0 pending pending xenial failed to start machine 0 (failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['594543d5-4690-4f80-822a-60ea0446016a']), ('tags', ['juju'])] (resolved to "tags=juju zone=default")), retrying in 10s (5 more attempts)


      The machine was successfully bootstrapped via (tag _is there)



       juju bootstrap --constraints tags=juju mymaas maas-controller --
      config=config.yaml









      share|improve this question















      Is it possible to deploy a charm to Juju bootstrap node (to a container) ?
      I have not been able to add machine on which Juju controller resides, and see it in the list of available machines that can be targeted for charm deployment.
      Tried, for example, with:



      juju add-machine --constraints tags=juju


      Error:



      Machine State DNS Inst id Series AZ Message
      0 pending pending xenial failed to start machine 0 (failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['594543d5-4690-4f80-822a-60ea0446016a']), ('tags', ['juju'])] (resolved to "tags=juju zone=default")), retrying in 10s (5 more attempts)


      The machine was successfully bootstrapped via (tag _is there)



       juju bootstrap --constraints tags=juju mymaas maas-controller --
      config=config.yaml






      juju maas cloud






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 18 at 3:57









      Maki

      1376




      1376










      asked Mar 18 at 3:34









      Alex S

      13




      13




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:



          dpb@helo:~$ juju models
          Controller: localhost-localhost

          Model Cloud/Region Status Machines Access Last connection
          controller* localhost/localhost available 1 admin just now
          default localhost/localhost available 0 admin 2018-02-26


          Then, use juju switch MODEL_NAME to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).






          share|improve this answer




















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1016899%2fdeploying-charms-to-juju-bootstrap-node%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:



            dpb@helo:~$ juju models
            Controller: localhost-localhost

            Model Cloud/Region Status Machines Access Last connection
            controller* localhost/localhost available 1 admin just now
            default localhost/localhost available 0 admin 2018-02-26


            Then, use juju switch MODEL_NAME to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).






            share|improve this answer
























              up vote
              0
              down vote













              The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:



              dpb@helo:~$ juju models
              Controller: localhost-localhost

              Model Cloud/Region Status Machines Access Last connection
              controller* localhost/localhost available 1 admin just now
              default localhost/localhost available 0 admin 2018-02-26


              Then, use juju switch MODEL_NAME to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:



                dpb@helo:~$ juju models
                Controller: localhost-localhost

                Model Cloud/Region Status Machines Access Last connection
                controller* localhost/localhost available 1 admin just now
                default localhost/localhost available 0 admin 2018-02-26


                Then, use juju switch MODEL_NAME to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).






                share|improve this answer












                The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:



                dpb@helo:~$ juju models
                Controller: localhost-localhost

                Model Cloud/Region Status Machines Access Last connection
                controller* localhost/localhost available 1 admin just now
                default localhost/localhost available 0 admin 2018-02-26


                Then, use juju switch MODEL_NAME to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 6 at 1:20









                dpb

                4,90911545




                4,90911545



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1016899%2fdeploying-charms-to-juju-bootstrap-node%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

                    `kcmshell` modules relation with `/usr/share/applications`

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491