← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1692026] Re: failed to attach cinder volume with vstorage backend when log path doesn't exist

 

Reviewed:  https://review.openstack.org/458557
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7f5921fedf94f15c7290fa8bfde561b40e14e542
Submitter: Jenkins
Branch:    master

commit 7f5921fedf94f15c7290fa8bfde561b40e14e542
Author: Pavel Gluschak <pglushchak@xxxxxxxxxxxxx>
Date:   Thu Apr 20 18:39:26 2017 +0300

    VStorage: changed default log path
    
    When VStorage rpm is installed, default log path
    /var/log/vstorage is created. So this should be a
    default value for logging path.
    Otherwise user is forced to create logging path manually,
    because volume mount will fail.
    
    Closes-Bug: #1692026
    Change-Id: If6be49dad553f7ad9a947ea56ce107f8d028d28a
    Signed-off-by: Pavel Gluschak <pglushchak@xxxxxxxxxxxxx>


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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


References