Bug 1108571 - /var/lib/vdsm/persistence/netconf is not persistent
Summary: /var/lib/vdsm/persistence/netconf is not persistent
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.5.0
Assignee: Antoni Segura Puimedon
QA Contact: Martin Pavlik
URL:
Whiteboard: network
Depends On: 1104035
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-12 09:19 UTC by Douglas Schilling Landgraf
Modified: 2016-02-10 19:36 UTC (History)
15 users (show)

Fixed In Version: ovirt-3.5.0-beta1.1
Clone Of:
Environment:
Last Closed: 2014-10-17 12:25:34 UTC
oVirt Team: Network
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 29545 0 master MERGED upgrade: fix seal persistence for oVirt node Never
oVirt gerrit 29822 0 ovirt-3.5 MERGED upgrade: fix seal persistence for oVirt node Never

Description Douglas Schilling Landgraf 2014-06-12 09:19:31 UTC
Description of problem:

on oVirt node 3.0.4-1.0 build with vdsm from master branch (vdsm-4.15.0-112.gitffd6c57.el6.x86_64) the symbol link: 
/var/lib/vdsm/persistence/netconf is broken (files not persistent) after reboot.

Additional info:
- No more ovirtmgmt after reboot
- # findmnt /var/lib/vdsm/persistence
/var/lib/vdsm/persistence /dev/mapper/HostVG-Config[/var/lib/vdsm/persistence] ext4 rw,noatime
- there is /config/var/lib/vdsm/persistence/netconf


How reproducible:

- Install oVirt Node from:
  http://people.redhat.com/dlandgra/masterbuild.iso
  - vdsm-4.15.0-112.gitffd6c57.el6.x86_64 (current master)
  - oVirt node 3.0.4-1.0

* Login as admin
- Configure Network (in my case dhcp, eth0)

* Press F2 (to go to shell)
  # unpersist /etc/sysconfig/network-scripts/ifcfg-eth0 (BZ#1104035 in my interface is eth0)
  
  # vi /etc/vdsm-reg/vdsm-reg.conf  (or use the TUI)
  vdc_host_name=ip_addres_ovirt_engine
  vdc_host_port=port_ovirt_engine
  # service vdsm-reg restart

- Approve node on Engine

OK, host is UP.

# ls -la /var/lib/vdsm/persistence/
netconf -> /var/lib/vdsm/persistence/netconf.140256495835498
netconf.140256495835498

# ifconfig/ip addr (shows ovirtmgmt)

* Everything OK. Put host into Maintenance and reboot

After reboot, the symbol link  /var/lib/vdsm/persistence/ is broken.

Comment 1 Martin Pavlik 2014-08-08 12:54:43 UTC
VERFIED

symlink survives reboot

[root@localhost admin]# cat /etc/redhat-release 
oVirt Node Hypervisor release 3.1.0_master (20140805.0) (Edited, Unsigned)[root@localhost admin]#

Comment 2 Sandro Bonazzola 2014-10-17 12:25:34 UTC
oVirt 3.5 has been released and should include the fix for this issue.


Note You need to log in before you can comment on or make changes to this bug.