Mark volume pool for autostart fails on RHEL 7.2

Bug #1597905 reported by wes hayutin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo-quickstart
Fix Released
Undecided
Unassigned

Bug Description

00:04:19.105 TASK [setup/overcloud : Mark volume pool for autostart] ************************
00:04:19.106 task path: /home/rhos-ci/jenkins/workspace/tripleo-quickstart-periodic-master-delorean-ha/tripleo-quickstart/roles/libvirt/setup/overcloud/tasks/main.yml:26
00:04:19.107 Thursday 30 June 2016 18:47:49 +0000 (0:00:01.367) 0:02:02.600 *********
00:04:20.459 fatal: [rdo-ci-fx2-02-s1.v101.rdoci.lab.eng.rdu.redhat.com]: FAILED! => {"changed": false, "failed": true, "msg": "internal error: pool has no config file"}
00:04:20.461
00:04:20.461 NO MORE HOSTS LEFT *************************************************************

Tried manually

[stack@rdo-ci-fx2-02-s1 .config]$ virsh pool-list
 Name State Autostart
-------------------------------------------
 oooq_pool active no

[stack@rdo-ci-fx2-02-s1 .config]$ virsh pool-autostart oooq_pool
error: failed to mark pool oooq_pool as autostarted
error: internal error: pool has no config file

The config is not written to .config/libvirt
[stack@rdo-ci-fx2-02-s1 ~]$ cd .config/
[stack@rdo-ci-fx2-02-s1 .config]$ ls
libvirt
[stack@rdo-ci-fx2-02-s1 .config]$ cd libvirt/qemu/
channel/ dump/ lib/ nvram/ save/ snapshot/

Manual Fix:
virsh pool-dumpxml oooq_pool > oooq_pool.xml
virsh pool-define oooq_pool.xml
[stack@rdo-ci-fx2-02-s1 ~]$ virsh pool-autostart oooq_pool
Pool oooq_pool marked as autostarted

Revision history for this message
wes hayutin (weshayutin) wrote :

FYI.. this does NOT recreate everytime, but others are hitting it.

Revision history for this message
Steve Linabery (slinabery) wrote :

I'm hitting this with my RHEL 7.2 VIRTHOST as well.

Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
Matt Young (halcyondude) wrote :

+1 on RHEL 7.2. The image promotion jobs we have for building quickstart images for OSP 8 and 9 are reproducing this issue. I've rekicked the jobs and will likely have additional data points and full logs if this helps.

Revision history for this message
wes hayutin (weshayutin) wrote : Re: [Bug 1597905] Re: Mark volume pool for autostart fails on RHEL 7.2

Review added to quickstart that fixes it

On Thu, Jun 30, 2016, 21:05 Matt Young <email address hidden> wrote:

> +1 on RHEL 7.2. The image promotion jobs we have for building
> quickstart images for OSP 8 and 9 are reproducing this issue. I've
> rekicked the jobs and will likely have additional data points and full
> logs if this helps.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1597905
>
> Title:
> Mark volume pool for autostart fails on RHEL 7.2
>
> Status in tripleo-quickstart:
> New
>
> Bug description:
> 00:04:19.105 TASK [setup/overcloud : Mark volume pool for autostart]
> ************************
> 00:04:19.106 task path:
> /home/rhos-ci/jenkins/workspace/tripleo-quickstart-periodic-master-delorean-ha/tripleo-quickstart/roles/libvirt/setup/overcloud/tasks/main.yml:26
> 00:04:19.107 Thursday 30 June 2016 18:47:49 +0000 (0:00:01.367)
> 0:02:02.600 *********
> 00:04:20.459 fatal: [rdo-ci-fx2-02-s1.v101.rdoci.lab.eng.rdu.redhat.com]:
> FAILED! => {"changed": false, "failed": true, "msg": "internal error: pool
> has no config file"}
> 00:04:20.461
> 00:04:20.461 NO MORE HOSTS LEFT
> *************************************************************
>
> Tried manually
>
> [stack@rdo-ci-fx2-02-s1 .config]$ virsh pool-list
> Name State Autostart
> -------------------------------------------
> oooq_pool active no
>
> [stack@rdo-ci-fx2-02-s1 .config]$ virsh pool-autostart oooq_pool
> error: failed to mark pool oooq_pool as autostarted
> error: internal error: pool has no config file
>
> The config is not written to .config/libvirt
> [stack@rdo-ci-fx2-02-s1 ~]$ cd .config/
> [stack@rdo-ci-fx2-02-s1 .config]$ ls
> libvirt
> [stack@rdo-ci-fx2-02-s1 .config]$ cd libvirt/qemu/
> channel/ dump/ lib/ nvram/ save/ snapshot/
>
>
> Manual Fix:
> virsh pool-dumpxml oooq_pool > oooq_pool.xml
> virsh pool-define oooq_pool.xml
> [stack@rdo-ci-fx2-02-s1 ~]$ virsh pool-autostart oooq_pool
> Pool oooq_pool marked as autostarted
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/tripleo-quickstart/+bug/1597905/+subscriptions
>

Revision history for this message
John Trowbridge (trown) wrote :
Changed in tripleo-quickstart:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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