yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64125
[Bug 1692026] [NEW] failed to attach cinder volume with vstorage backend when log path doesn't exist
Public bug reported:
VStorage share is mounted by fuse using vstorage-mount utility
(pstorage-mount is symlink). This utility has the option to specify log
file "-l". Currently default log path used by nova-compute is
"/var/lib/pstorage". However when VStorage package is installed it
creates "/var/lib/vstorage" instead. So this needs to be default value
in nova.conf. Non-existent log path results in vstorage-mount fail like:
Command: sudo cinder-rootwrap /etc/nova/rootwrap.conf pstorage-mount -c mycluster -l /var/log/pstorage/nova-mycluster.log.gz -u nova -g root -m 0770 /var/lib/nova/mnt/a0836a988e84c4c0245d1ffa7cee4921
Exit code: 253
Stdout: u''
Stderr: u'19-05-17 16:28:52.719 failed to access directory /var/log/pstorage - No such file or directory\n'
** Affects: nova
Importance: Undecided
Assignee: Pavel Gluschak (scsnow)
Status: In Progress
** Changed in: nova
Assignee: (unassigned) => Pavel Gluschak (scsnow)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1692026
Title:
failed to attach cinder volume with vstorage backend when log path
doesn't exist
Status in OpenStack Compute (nova):
In Progress
Bug description:
VStorage share is mounted by fuse using vstorage-mount utility
(pstorage-mount is symlink). This utility has the option to specify
log file "-l". Currently default log path used by nova-compute is
"/var/lib/pstorage". However when VStorage package is installed it
creates "/var/lib/vstorage" instead. So this needs to be default value
in nova.conf. Non-existent log path results in vstorage-mount fail
like:
Command: sudo cinder-rootwrap /etc/nova/rootwrap.conf pstorage-mount -c mycluster -l /var/log/pstorage/nova-mycluster.log.gz -u nova -g root -m 0770 /var/lib/nova/mnt/a0836a988e84c4c0245d1ffa7cee4921
Exit code: 253
Stdout: u''
Stderr: u'19-05-17 16:28:52.719 failed to access directory /var/log/pstorage - No such file or directory\n'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1692026/+subscriptions
Follow ups