[Openstack] Xenial / Mitaka = Instance failed network setup / nova.compute.manager Unauthorized
Martinx - ジェームズ
thiagocmartinsc at gmail.com
Mon Apr 18 00:26:00 UTC 2016
On 17 April 2016 at 17:39, Martinx - ジェームズ <thiagocmartinsc at gmail.com>
wrote:
> Guys,
>
> I am trying to deploy Mitaka, on top of Ubuntu 16.04, by using the
> following document:
>
> http://docs.openstack.org/mitaka/install-guide-ubuntu
>
> Yes, I know, the above document is for installing Mitaka on top of Ubuntu
> 14.04 but, from what I understand, the only difference is that on Xenial,
> there is no need to add the Ubuntu Mitaka Cloud Archive, since Mitaka is
> the default on Xenial, so, I can follow that document, right? =)
>
> At first, OpenStack installation goes okay, without any errors, all
> services comes up, etc... However, it is not possible to launch an Instance.
>
> *** Errors on launching the Instance:
>
> - Right after launching it:
>
> https://paste.ubuntu.com/15902503/
>
> - Spawning it, after Glance finishes the download, similar error a second
> time:
>
> https://paste.ubuntu.com/15902556/
>
> What am I missing?
>
> Apparently, Nova is not authorized to talk with Neutron but, I am
> following the docs (maybe it is just a typo somewhere?)...
>
> Also, I have an Ansible automation to deploy it, so, it is less error
> prone. And however can help me, will see how I am deploying it.
>
> I see no error on Admin Dashboard, all services are up.
>
> NOTE: My Ansible playbooks is in a sense, "
> docs.openstack.org/mitaka/install-guide-ubuntu fully automated", it is
> very close to it, step-by-step.
>
> How can I debug this? I mean, how can I try to do, what Nova is doing
> (its connection with Neutron), to make sure that the settings are in place
> correctly?
>
> Here is how I am installing Mitaka on Xenial:
>
> ---
> 1- Install Ubuntu 16.04 server 64-bit on bare-metal;
>
> * Configure your /etc/hostname and /etc/hosts.
>
> DETAILS:
> https://github.com/tmartinx/svauto/blob/dev/README.OpenStack.md
>
>
> 2- Clone the automation:
>
> cd ~
> git clone https://github.com/tmartinx/svauto.git
>
>
> 3- Run the automation to install OpenStack (all-in-one)
>
> cd ~/svauto
>
> ./os-deploy.sh --br-mode=LBR --use-dummies --base-os=ubuntu16
> --base-os-upgrade=yes --openstack-release=mitaka --openstack-installation
> --dry-run
>
> ansible-playbook -c local site-openstack.yml --extra-vars
> "openstack_installation=yes"
> ---
>
> NOTE: If you don't use "--dry-run" option, Ansible will be executed
> automatically by "os-deploy.sh".
>
> I am sharing the Ansible playbooks, because it will be easier to see what
> I am doing.
>
> About the relevant configuration blocks, I believe that I have it
> properly configured (I followed Mitaka docs), like this:
>
> * neutron.conf:
> -
>
> https://github.com/tmartinx/svauto/blob/dev/ansible/roles/os_neutron_aio/templates/mitaka/neutron.conf
> -
>
> * nova.conf:
> -
>
> https://github.com/tmartinx/svauto/blob/dev/ansible/roles/os_nova_aio/templates/mitaka/nova.conf
> -
>
> I already installed OpenStack many, many, many times, since Havana
> release, I'm confident that I am doing it right but, of course, maybe I did
> something wrong this time... =P
>
> I appreciate any help!
>
> Thanks!
> Thiago
>
Hey guys,
I am reviewing everything, to make sure that my automation matches
docs.openstack.org/mitaka/install-guide-ubuntu/ in details.
Two things...
---
1- All the verification steps (from official doc) passed
http://docs.openstack.org/mitaka/install-guide-ubuntu/keystone-verify.html
- passed
http://docs.openstack.org/mitaka/install-guide-ubuntu/keystone-openrc.html
- passed
http://docs.openstack.org/mitaka/install-guide-ubuntu/glance-verify.html
- passed
http://docs.openstack.org/mitaka/install-guide-ubuntu/nova-verify.html -
passed
http://docs.openstack.org/mitaka/install-guide-ubuntu/neutron-verify.html
- passed
http://docs.openstack.org/mitaka/install-guide-ubuntu/neutron-verify-option2.html
- passed
http://docs.openstack.org/mitaka/install-guide-ubuntu/horizon-verify.html
- passed (mine doesn't have /horizon)
http://docs.openstack.org/mitaka/install-guide-ubuntu/cinder-verify.html
- passed but, I'm not using any cinder-volume yet
http://docs.openstack.org/mitaka/install-guide-ubuntu/launch-instance-selfservice.html
- "6. Launch the instance" - FAIL
NOTE: I can create Networks, Subnets, Routers... I can see the Linux
Namespaces at the Neutron L3 Router (All-in-One)
2- This problem happen no matter if deploying it with Linux Bridges
(--br-mode=LBR) or with OpenvSwitch (--br-mode=OVS)
---
So, I think that OpenStack should provide more verification steps,
specially to test the communication / authentication between its different
projects, for example:
A- Does Nova can communicate with Neutron? How to test this?
B- Can Nova download images from Glance? Etc...
Doing more reviews now...
Cheers!
Thiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160417/8bd9964f/attachment.html>
More information about the Openstack
mailing list