Bug 988986

Summary: libvirt network directory is not persisted
Product: [Retired] oVirt Reporter: Antoni Segura Puimedon <asegurap>
Component: ovirt-nodeAssignee: Joey Boggs <jboggs>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: unspecifiedCC: acathrow, asegurap, bazulay, danken, fabian.deutsch, gklein, jboggs, lpeer, mgoldboi, oschreib, ovirt-bugs, ovirt-maint, talayan, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: ovirt-3.4.0-alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-31 12:23:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 918494    

Description Antoni Segura Puimedon 2013-07-26 20:40:39 UTC
Description of problem:
To be able to have vdsm networking across reboots libvirt network directory must be persisted, i.e., there should be /config/etc/libvirt/qemu/networks/

Version-Release number of selected component (if applicable):
ovirt-node-iso-3.0.0-5.0.5.vdsm.fc19.iso

How reproducible: 100%


Steps to Reproduce:
1. Install ovirt-node.
2. Add it to an engine.
3. Add a network


Actual results:
/config/etc/libvirt/qemu/ does not exist

Expected results:
/config/etc/libvirt/qemu/ exists and contains the networks.

Additional info:

Comment 1 Mike Burns 2013-07-26 20:58:20 UTC
it appears ovirt_store_firstboot_config is not getting run in the boot process.  We're calling out to the new tui which i think is preventing this from running.  It may need to be moved to a python function instead.

We should also check to make sure the other things in ovirt-firstboot are getting executed correctly.

Comment 2 Joey Boggs 2013-07-31 19:08:53 UTC
We save the same list of files/dirs from the bash scripts now in finish_install().

disable_firstboot is being run just not the storing of ovirt_firstboot_config and that's the last in the list. Suspect reboot delay is not long enough or some other process is killing it. Tried 15 secs delay and still same effect.

http://gerrit.ovirt.org/17547

Comment 3 Martin Pavlik 2014-02-25 12:01:28 UTC
verified

[root@dell-r210ii-06 ~]# cat /etc/redhat-release 
oVirt Node Hypervisor release 3.0.3 (0.999.201401221941draft.el6) (Edited)[root@dell-r210ii-06 ~]# ls -lad /config/etc/libvirt/qemu/
drwxr-xr-x. 3 root root 1024 2014-02-25 11:40 /config/etc/libvirt/qemu/

Comment 4 Sandro Bonazzola 2014-03-31 12:23:31 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released