/var/lib/nova/volumes is owned by root after Folsom upgrade

Bug #1065320 reported by Adam Gandelman
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova (Ubuntu)
Fix Released
Adam Gandelman

Bug Description

In Folsom, Nova begins to store target config files in a directory @ /var/lib/nova/volumes. This directory needs to be created by packaging and owned by nova:nova. This seems to be the case for new installations, however, during upgrades the directory is created but ends up owned as root. This causes nova-volume to error on any action that requires write access to the directory.

After upgrading from nova-volume 2012.1.3+stable-20120827-4d2a4afe-0ubuntu1

ubuntu@server-652:~$ ls /var/lib/nova/ -l
total 192
drwxr-xr-x 2 nova nova 4096 Aug 28 23:39 buckets
drwxr-xr-x 6 nova nova 4096 Oct 10 23:58 CA
drwxr-xr-x 2 nova nova 4096 Aug 28 23:39 images
drwxr-xr-x 2 nova nova 4096 Aug 28 23:39 instances
drwxr-xr-x 2 nova nova 4096 Aug 28 23:39 keys
drwxr-xr-x 2 nova nova 4096 Aug 28 23:39 networks
-rw-r----- 1 nova nova 159744 Oct 11 00:02 nova.sqlite
drwxr-xr-x 2 nova nova 4096 Aug 28 23:39 tmp
drwxr-xr-x 2 root root 4096 Oct 3 20:27 volumes

James Page (james-page)
Changed in nova (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Adam Gandelman (gandelman-a)
tags: added: cloud-archive
tags: added: openstack-ubuntu-upgrade
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nova - 2012.2-0ubuntu5

nova (2012.2-0ubuntu5) quantal-proposed; urgency=low

  [ Adam Gandelman ]
  * Move management of /var/lib/nova/volumes from nova-common to
    nova-volume. Ensure it has proper permissions. (LP: #1065320)
  * debian/patches/avoid_setuptools_git_dependency.patch: Remove
    setuptools_git from tools/pip-requires to avoid it being automatically
    added to python-nova's runtime dependencies. (LP: #1059907)

  [ Chuck Short ]
  * debian/patches/rbd-security.patch: Support override of ceph rbd
    user and secret in nova-compute. (LP: #1065883)
  * debian/patches/ubuntu/fix-libvirt-firewall-slowdown.patch: Fix
    refreshing of security groups in libvirt not to block on RPC calls.
    (LP: #1062314)
  * debian/patches/ubuntu/fix-ec2-volume-id-mappings.patch: Read deleted
    snapshot and volume id mappings. (LP: #1065785)
 -- Chuck Short <email address hidden> Fri, 12 Oct 2012 12:35:01 -0500

Changed in nova (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers