Contrail Ocata :: R4.0.1.0 build 19 :: openstack-compute provisioning fails with error missing /etc/libvirt/qemu.conf.

Bug #1713559 reported by Ritam Gangopadhyay
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Released
Critical
Ramprakash R
Trunk
Fix Released
Critical
Ramprakash R

Bug Description

Multi Node single interface setup with patch https://review.opencontrail.org/#/c/34943/1

nodei19 10.204.217.131 openstack
nodei17 10.204.217.129 controller, analytics, analyticsdb
nodec28 10.204.217.13 controller, analytics, analyticsdb
nodec10 10.204.217.176 controller, analytics, analyticsdb
nodeg37 10.204.217.77 lb
nodei20 10.204.217.132 compute
nodec33 10.204.217.168 compute

Provisioning fails with error:-

"2017-08-28 23:38:49,964-INFO-sm_ansible_callback.py:43-append(): TASK [openstack/compute : Copy vrouter-port-control from agent container to compute]"
"2017-08-28 23:38:50,021-INFO-sm_ansible_callback.py:43-append(): skipping: [10.204.217.132]"
"2017-08-28 23:38:50,038-INFO-sm_ansible_callback.py:43-append(): skipping: [10.204.217.168]"
"2017-08-28 23:38:50,047-INFO-sm_ansible_callback.py:43-append(): TASK [openstack/compute : Configure qemu]"
"2017-08-28 23:38:50,319-INFO-sm_ansible_callback.py:43-append(): fatal: [10.204.217.168]: FAILED! => (item - None) {"changed": false, "failed": true, "msg": "Path /etc/libvirt/qemu.conf does not exist !", "rc": 257}"
"2017-08-28 23:38:50,393-INFO-sm_ansible_callback.py:43-append(): fatal: [10.204.217.132]: FAILED! => (item - None) {"changed": false, "failed": true, "msg": "Path /etc/libvirt/qemu.conf does not exist !", "rc": 257}"
"2017-08-28 23:38:50,396-INFO-sm_ansible_callback.py:43-append(): RUNNING HANDLER [openstack/compute : restart nova-compute]"

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35012
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35013
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/35013
Committed: http://github.com/Juniper/contrail-server-manager/commit/e54af15e5b07d60658f1398655514f8b0ed64ad4
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit e54af15e5b07d60658f1398655514f8b0ed64ad4
Author: Ramprakash <email address hidden>
Date: Mon Aug 28 16:53:07 2017 -0700

Fix for failure to install nova-compute-kvm

As part of bug #1712937, the etc/apt/sources.list were updated with some repos
which cause a failure to install nova-compute-kvm. Due to this, the ansible
tasks to configure /etc/libvirt/qemu.conf fails. Removing the unnecessary lines
and retaining only the required ones.

Change-Id: I7f71b9bc6968fc37a4e77111cbd388527e32760d
Closes-bug: #1713559

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/35012
Committed: http://github.com/Juniper/contrail-server-manager/commit/cccd88ddc91f3a6a17657ec0433c6c3701b51dd8
Submitter: Zuul (<email address hidden>)
Branch: master

commit cccd88ddc91f3a6a17657ec0433c6c3701b51dd8
Author: Ramprakash <email address hidden>
Date: Mon Aug 28 16:53:07 2017 -0700

Fix for failure to install nova-compute-kvm

As part of bug #1712937, the etc/apt/sources.list were updated with some repos
which cause a failure to install nova-compute-kvm. Due to this, the ansible
tasks to configure /etc/libvirt/qemu.conf fails. Removing the unnecessary lines
and retaining only the required ones.

Change-Id: I7f71b9bc6968fc37a4e77111cbd388527e32760d
Closes-bug: #1713559

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35049
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35050
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/35050
Committed: http://github.com/Juniper/contrail-ansible/commit/f430cf8c92dede1cfb7fba639a43bf3fa62c8995
Submitter: Zuul (<email address hidden>)
Branch: master

commit f430cf8c92dede1cfb7fba639a43bf3fa62c8995
Author: nitishkrishna <email address hidden>
Date: Tue Aug 29 11:54:08 2017 -0700

Closes-bug: #1713559 - Set Xenial repo using ansible code instead of preconfig

As part of next check-in, the preconfig logic that adds internet repos to sources.list as part of Ocata can be removed

Change-Id: I9f82b7472818a1022067c8ba7b57f0212ea7cd9b

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/35049
Committed: http://github.com/Juniper/contrail-ansible/commit/7ed311e9176a0b7dd44a2b5c4699dfe1c3512d3d
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 7ed311e9176a0b7dd44a2b5c4699dfe1c3512d3d
Author: nitishkrishna <email address hidden>
Date: Tue Aug 29 11:54:08 2017 -0700

Closes-bug: #1713559 - Set Xenial repo using ansible code instead of preconfig

As part of next check-in, the preconfig logic that adds internet repos to sources.list as part of Ocata can be removed

Change-Id: I9f82b7472818a1022067c8ba7b57f0212ea7cd9b

Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

verified fix patch with build 21

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.