agent node unreachable after ansible provisioning
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Critical
|
Nitish Krishna Kaveri |
Bug Description
R4.0 Build 3041
On a setup with 2 compute nodes, after ansible provisioning, both the compute nodes had become unreachable.
The default gateway was missing on the node. (vhost0 was up)
I noticed that inside the container, /etc/network/
While the nodes were reachable once i manually configured the default route, after reboot , the agent containers were not started at all (vrouter module was not loaded)
Last few lines of provisioning log :
TASK [openstack/compute : Create /etc/contrail/
skipping: [10.204.217.197]
skipping: [10.204.217.198]
TASK [openstack/compute : Configure nova] *******
skipping: [10.204.217.197]
skipping: [10.204.217.198]
TASK [openstack/compute : Configure neutron credentials in nova.conf to fix configuration problem by above command] ***
skipping: [10.204.217.197] => (item={'key': u'project_name', 'value': u'services'})
skipping: [10.204.217.197] => (item={'key': u'password', 'value': u'admin'})
skipping: [10.204.217.198] => (item={'key': u'project_name', 'value': u'services'})
skipping: [10.204.217.197] => (item={'key': u'auth_url', 'value': u'http://
skipping: [10.204.217.197] => (item={'key': u'admin_
skipping: [10.204.217.198] => (item={'key': u'password', 'value': u'admin'})
skipping: [10.204.217.198] => (item={'key': u'auth_url', 'value': u'http://
skipping: [10.204.217.198] => (item={'key': u'admin_
TASK [openstack/compute : Configure oslo rabbit hosts in nova.conf to fix configuration problem by compute-
skipping: [10.204.217.197] => (item={'key': u'rabbit_hosts', 'value': u'10.204.
skipping: [10.204.217.198] => (item={'key': u'rabbit_hosts', 'value': u'10.204.
TASK [openstack/compute : Copy vrouter-
skipping: [10.204.217.197]
skipping: [10.204.217.198]
TASK [openstack/compute : Configure qemu] *******
skipping: [10.204.217.197]
skipping: [10.204.217.198]
PLAY RECAP *******
10.204.217.194 : ok=50 changed=24 unreachable=0 failed=0
10.204.217.197 : ok=57 changed=26 unreachable=0 failed=0
10.204.217.198 : ok=57 changed=24 unreachable=0 failed=0
[root@ansible-
Changed in juniperopenstack: | |
milestone: | none → r4.0 |
Changed in juniperopenstack: | |
assignee: | Ramprakash R (ramprakash) → Nitish Krishna Kaveri (nitishk) |
If you use agent container, then this behavior is fixed after 3041 official /github. com/Juniper/ contrail- ansible/ pull/346
build triggered with PR https:/
On Thu, Feb 23, 2017 at 11:47 PM, Ramprakash R <email address hidden>
wrote:
> ** Changed in: juniperopenstack /bugs.launchpad .net/bugs/ 1667583 interfaces referred to ctrl-details] ******* ******* ******* ** 10.204. 217.194: 35357/'}) tenant_ name', 10.204. 217.194: 35357/'}) tenant_ name', server- setup] *** 217.194: 5672'}) 217.194: 5672'}) port-control from agent container ******* ******* ******* ** ******* ******* ******* ******* ******* ******* ******* ****
> Assignee: Ramprakash R (ramprakash) => Nitish Krishna Kaveri (nitishk)
>
> --
> You received this bug notification because you are a member of Contrail
> Systems engineering, which is subscribed to Juniper Openstack.
> https:/
>
> Title:
> agent node unreachable after ansible provisioning
>
> Status in Juniper Openstack:
> New
>
> Bug description:
> R4.0 Build 3041
>
> On a setup with 2 compute nodes, after ansible provisioning, both the
> compute nodes had become unreachable.
> The default gateway was missing on the node. (vhost0 was up)
> I noticed that inside the container, /etc/network/
> interfaces.d/*, but nothing was in interfaces.d/
>
> While the nodes were reachable once i manually configured the default
> route, after reboot , the agent containers were not started at all
> (vrouter module was not loaded)
>
> Last few lines of provisioning log :
>
>
> TASK [openstack/compute : Create /etc/contrail/
> *******************
> skipping: [10.204.217.197]
> skipping: [10.204.217.198]
>
> TASK [openstack/compute : Configure nova] *******
> ********
> skipping: [10.204.217.197]
> skipping: [10.204.217.198]
>
> TASK [openstack/compute : Configure neutron credentials in nova.conf to
> fix configuration problem by above command] ***
> skipping: [10.204.217.197] => (item={'key': u'project_name', 'value':
> u'services'})
> skipping: [10.204.217.197] => (item={'key': u'password', 'value':
> u'admin'})
> skipping: [10.204.217.198] => (item={'key': u'project_name', 'value':
> u'services'})
> skipping: [10.204.217.197] => (item={'key': u'auth_url', 'value': u'
> http://
> skipping: [10.204.217.197] => (item={'key': u'admin_
> 'value': u'services'})
> skipping: [10.204.217.198] => (item={'key': u'password', 'value':
> u'admin'})
> skipping: [10.204.217.198] => (item={'key': u'auth_url', 'value': u'
> http://
> skipping: [10.204.217.198] => (item={'key': u'admin_
> 'value': u'services'})
>
> TASK [openstack/compute : Configure oslo rabbit hosts in nova.conf to
> fix configuration problem by compute-
> skipping: [10.204.217.197] => (item={'key': u'rabbit_hosts', 'value':
> u'10.204.
> skipping: [10.204.217.198] => (item={'key': u'rabbit_hosts', 'value':
> u'10.204.
>
> TASK [openstack/compute : Copy vrouter-
> to compute] ***
> skipping: [10.204.217.197]
> skipping: [10.204.217.198]
>
> TASK [openstack/compute : Configure qemu] *******
> ********
> skipping: [10.204.217.197]
> skipping: [10.204.217.198]
>
> PLAY RECAP *******
> *********
> 10.204.217.194 : ok=50 changed=24 unreach...