juju 2.4.1 bootstrap openstack fails : NeutronError unexpected status: 400











up vote
0
down vote

favorite












So I'm trying to bootstrap a controller inside my openstack cloud and it appears to be failing when trying to create the security group.



I believe this is happening because from the bootstrap debug I noticed that in the auth details there's no information for TenantId:



03:07:53 DEBUG goose client.go:511 auth details: &{Token:e755f8efd8b546c4bdcd1816aeeb0a65 TenantId: UserId:c98f1d30569b4712bd7b2dc80d38d09f Domain:admin_domain RegionServiceURLs:map[RegionOne:map[identity:http://xxx.xxx.xxx.174:5000/v3 object-store:http://xxx.xxx.xxx.164:80/swift/v1 placement:http://xxx.xxx.xxx.176:8778 network:http://xxx.xxx.xxx.169:9696 compute:http://xxx.xxx.xxx.176:8774/v2.1 image:http://xxx.xxx.xxx.175:9292]]}



The actual error in the debug is



caused by: request (http://xxx.xxx.xxx.169:9696/v2.0/security-groups) returned unexpected status: 400; error info: {"NeutronError": {"message": "Running without keystone AuthN requires that tenant_id is specified", "type": "HTTPBadRequest", "detail": ""}}



The error kinda makes sense because neutron would have no idea on which project to create the security group.



Does anyone know why the TenantId would not be declared, even though I declared this when running the juju add-credential.



my exact bootstrap command is :



juju bootstrap mycloudname.example.com juju-openstack-controller --metadata-source ~/simplestreams/images --config network=fef7b36b-8c2c-4a2c-a860-0ed826231730 --config use-floating-ip=yes --config external-network=46fb58fc-6935-4e64-a54e-8c351370f184 --debug



Updated to 2.4.3 problem still persists
https://bugs.launchpad.net/juju/+bug/1785747










share|improve this question




























    up vote
    0
    down vote

    favorite












    So I'm trying to bootstrap a controller inside my openstack cloud and it appears to be failing when trying to create the security group.



    I believe this is happening because from the bootstrap debug I noticed that in the auth details there's no information for TenantId:



    03:07:53 DEBUG goose client.go:511 auth details: &{Token:e755f8efd8b546c4bdcd1816aeeb0a65 TenantId: UserId:c98f1d30569b4712bd7b2dc80d38d09f Domain:admin_domain RegionServiceURLs:map[RegionOne:map[identity:http://xxx.xxx.xxx.174:5000/v3 object-store:http://xxx.xxx.xxx.164:80/swift/v1 placement:http://xxx.xxx.xxx.176:8778 network:http://xxx.xxx.xxx.169:9696 compute:http://xxx.xxx.xxx.176:8774/v2.1 image:http://xxx.xxx.xxx.175:9292]]}



    The actual error in the debug is



    caused by: request (http://xxx.xxx.xxx.169:9696/v2.0/security-groups) returned unexpected status: 400; error info: {"NeutronError": {"message": "Running without keystone AuthN requires that tenant_id is specified", "type": "HTTPBadRequest", "detail": ""}}



    The error kinda makes sense because neutron would have no idea on which project to create the security group.



    Does anyone know why the TenantId would not be declared, even though I declared this when running the juju add-credential.



    my exact bootstrap command is :



    juju bootstrap mycloudname.example.com juju-openstack-controller --metadata-source ~/simplestreams/images --config network=fef7b36b-8c2c-4a2c-a860-0ed826231730 --config use-floating-ip=yes --config external-network=46fb58fc-6935-4e64-a54e-8c351370f184 --debug



    Updated to 2.4.3 problem still persists
    https://bugs.launchpad.net/juju/+bug/1785747










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      So I'm trying to bootstrap a controller inside my openstack cloud and it appears to be failing when trying to create the security group.



      I believe this is happening because from the bootstrap debug I noticed that in the auth details there's no information for TenantId:



      03:07:53 DEBUG goose client.go:511 auth details: &{Token:e755f8efd8b546c4bdcd1816aeeb0a65 TenantId: UserId:c98f1d30569b4712bd7b2dc80d38d09f Domain:admin_domain RegionServiceURLs:map[RegionOne:map[identity:http://xxx.xxx.xxx.174:5000/v3 object-store:http://xxx.xxx.xxx.164:80/swift/v1 placement:http://xxx.xxx.xxx.176:8778 network:http://xxx.xxx.xxx.169:9696 compute:http://xxx.xxx.xxx.176:8774/v2.1 image:http://xxx.xxx.xxx.175:9292]]}



      The actual error in the debug is



      caused by: request (http://xxx.xxx.xxx.169:9696/v2.0/security-groups) returned unexpected status: 400; error info: {"NeutronError": {"message": "Running without keystone AuthN requires that tenant_id is specified", "type": "HTTPBadRequest", "detail": ""}}



      The error kinda makes sense because neutron would have no idea on which project to create the security group.



      Does anyone know why the TenantId would not be declared, even though I declared this when running the juju add-credential.



      my exact bootstrap command is :



      juju bootstrap mycloudname.example.com juju-openstack-controller --metadata-source ~/simplestreams/images --config network=fef7b36b-8c2c-4a2c-a860-0ed826231730 --config use-floating-ip=yes --config external-network=46fb58fc-6935-4e64-a54e-8c351370f184 --debug



      Updated to 2.4.3 problem still persists
      https://bugs.launchpad.net/juju/+bug/1785747










      share|improve this question















      So I'm trying to bootstrap a controller inside my openstack cloud and it appears to be failing when trying to create the security group.



      I believe this is happening because from the bootstrap debug I noticed that in the auth details there's no information for TenantId:



      03:07:53 DEBUG goose client.go:511 auth details: &{Token:e755f8efd8b546c4bdcd1816aeeb0a65 TenantId: UserId:c98f1d30569b4712bd7b2dc80d38d09f Domain:admin_domain RegionServiceURLs:map[RegionOne:map[identity:http://xxx.xxx.xxx.174:5000/v3 object-store:http://xxx.xxx.xxx.164:80/swift/v1 placement:http://xxx.xxx.xxx.176:8778 network:http://xxx.xxx.xxx.169:9696 compute:http://xxx.xxx.xxx.176:8774/v2.1 image:http://xxx.xxx.xxx.175:9292]]}



      The actual error in the debug is



      caused by: request (http://xxx.xxx.xxx.169:9696/v2.0/security-groups) returned unexpected status: 400; error info: {"NeutronError": {"message": "Running without keystone AuthN requires that tenant_id is specified", "type": "HTTPBadRequest", "detail": ""}}



      The error kinda makes sense because neutron would have no idea on which project to create the security group.



      Does anyone know why the TenantId would not be declared, even though I declared this when running the juju add-credential.



      my exact bootstrap command is :



      juju bootstrap mycloudname.example.com juju-openstack-controller --metadata-source ~/simplestreams/images --config network=fef7b36b-8c2c-4a2c-a860-0ed826231730 --config use-floating-ip=yes --config external-network=46fb58fc-6935-4e64-a54e-8c351370f184 --debug



      Updated to 2.4.3 problem still persists
      https://bugs.launchpad.net/juju/+bug/1785747







      juju openstack






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 28 at 1:20

























      asked Sep 13 at 3:28









      dvnt

      12




      12






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Try changing 'domain-name: admin_domain' to 'domain-name: ""' in your ~/.local/share/juju/credentials.yaml file, where the openstack cloud credentials are specified. This has worked in at least one case.



          A bug was created which is specific to this error:
          https://bugs.launchpad.net/juju/+bug/1806985






          share|improve this answer










          New contributor




          Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















            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: 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%2f1074819%2fjuju-2-4-1-bootstrap-openstack-fails-neutronerror-unexpected-status-400%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













            Try changing 'domain-name: admin_domain' to 'domain-name: ""' in your ~/.local/share/juju/credentials.yaml file, where the openstack cloud credentials are specified. This has worked in at least one case.



            A bug was created which is specific to this error:
            https://bugs.launchpad.net/juju/+bug/1806985






            share|improve this answer










            New contributor




            Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






















              up vote
              0
              down vote













              Try changing 'domain-name: admin_domain' to 'domain-name: ""' in your ~/.local/share/juju/credentials.yaml file, where the openstack cloud credentials are specified. This has worked in at least one case.



              A bug was created which is specific to this error:
              https://bugs.launchpad.net/juju/+bug/1806985






              share|improve this answer










              New contributor




              Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.




















                up vote
                0
                down vote










                up vote
                0
                down vote









                Try changing 'domain-name: admin_domain' to 'domain-name: ""' in your ~/.local/share/juju/credentials.yaml file, where the openstack cloud credentials are specified. This has worked in at least one case.



                A bug was created which is specific to this error:
                https://bugs.launchpad.net/juju/+bug/1806985






                share|improve this answer










                New contributor




                Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                Try changing 'domain-name: admin_domain' to 'domain-name: ""' in your ~/.local/share/juju/credentials.yaml file, where the openstack cloud credentials are specified. This has worked in at least one case.



                A bug was created which is specific to this error:
                https://bugs.launchpad.net/juju/+bug/1806985







                share|improve this answer










                New contributor




                Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer








                edited Dec 7 at 14:27





















                New contributor




                Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Dec 5 at 18:10









                Heather

                11




                11




                New contributor




                Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Heather is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    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%2f1074819%2fjuju-2-4-1-bootstrap-openstack-fails-neutronerror-unexpected-status-400%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

                    數位音樂下載

                    格利澤436b

                    When can things happen in Etherscan, such as the picture below?