Nova service restart disconnects vzstorage volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Undecided
|
Maxim Nestratov |
Bug Description
Description
===========
Virtuozzo storage mounts invalid state after Openstack Nova Compute service restart.
==================
Running Openstack Ocata release with Virtuozzo KVM hypervisor on Vstorage backed by Cinder. A restart of the openstack-
Before restart:
[user@node ~]$ sudo systemctl status -l openstack-
● openstack-
Loaded: loaded (/usr/lib/
Active: active (running) since Mon 2017-08-14 13:47:00 CEST; 1 day 23h ago
Main PID: 3932 (nova-compute)
CGroup: /system.
├─3932 /usr/bin/python2 /usr/bin/
├─4251 /usr/bin/python2 /bin/privsep-helper --config-file /usr/share/
├─4454 /usr/bin/python2 /bin/privsep-helper --config-file /usr/share/
└─4498 pstorage-mount -c openstackpoc -u nova -g root -m 0770 -l /var/log/
We restart the service :
sudo systemctl restart openstack-
After this we see:
[user@node ~]$ sudo systemctl status -l openstack-
● openstack-
Loaded: loaded (/usr/lib/
Active: active (running) since Wed 2017-08-16 13:15:26 CEST; 50s ago
Main PID: 199753 (nova-compute)
CGroup: /system.
├─199753 /usr/bin/python2 /usr/bin/
└─199798 /usr/bin/python2 /bin/privsep-helper --config-file /usr/share/
The vstorage-mount is not reinitialised by nova-compute.
Expected result
===============
The vstorage-mount is available after nova-compute restart.
Actual result
=============
The vstorage-mount is not reinitialised by nova-compute.
Nova mounts do not disappear after restart but are unreachable:
[user@node ~]$ sudo lsof | grep /var/lib/
lsof: WARNING: can't stat() fuse.vstorage file system /var/lib/
Output information may be incomplete.
qemu-kvm 7366 root 18u unknown /var/lib/
qemu-kvm 7366 7370 root 18u unknown /var/lib/
We currently implemented a workaround by adding
KillMode=process
to the openstack nova compute unit file override. This leave open the vzstorage mounts and keeps the VMs running.
Environment
===========
1. Openstack Ocata release 15.0.3-2.el7
2. Which hypervisor did you use?
qemu-kvm-vz 2.6.0-28.
2. Which storage type did you use?
Vstorage, 7.4.106-1
3. Which networking type did you use?
Neutron with Linuxbridge
description: | updated |
tags: | added: libvirt ocata-backport-potential virtuozzo |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Maxim Nestratov (mnestratov) |