default state_path is /usr/lib/python/dist-packages seems incorrect

Bug #1240879 reported by Mehdi Abaakouk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Mehdi Abaakouk
OpenStack Compute (nova)
Fix Released
Undecided
Mehdi Abaakouk

Bug Description

Hi,

The default value of state_path is $pylibbase (ie: /usr/lib/python/dist-packages), this look incorrect because cinder/nova needs read/write permission in the state_path.

Regards,

Mehdi Abaakouk (sileht)
description: updated
Mehdi Abaakouk (sileht)
Changed in nova:
assignee: nobody → Mehdi Abaakouk (sileht)
Changed in cinder:
assignee: nobody → Mehdi Abaakouk (sileht)
Changed in nova:
status: New → In Progress
Changed in cinder:
status: New → In Progress
Mike Perez (thingee)
tags: added: drivers
tags: removed: drivers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/52372
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=4df8093c30d6a9d20a756e3aeeda89649c2ab981
Submitter: Jenkins
Branch: master

commit 4df8093c30d6a9d20a756e3aeeda89649c2ab981
Author: Mehdi Abaakouk <email address hidden>
Date: Thu Oct 17 14:41:01 2013 +0200

    Set a sane default for state_path

    This change set a sane default to state_path, removed no more used cfg
    options, and put the previous state_path for tests only.

    DocImpact
    Closes bug: #1240879

    Change-Id: If56b60950d8ebf9111ef99bfbf2cb549bbb6b29b

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/52383
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=27ced7a09be5f8192de3aa2771af54fb7a8b8e4a
Submitter: Jenkins
Branch: master

commit 27ced7a09be5f8192de3aa2771af54fb7a8b8e4a
Author: Mehdi Abaakouk <email address hidden>
Date: Thu Oct 17 15:08:51 2013 +0200

    Set a sane default for state_path

    This change sets a sane default to state_path and puts the previous
    state_path for tests only.

    Because the default value of state_path changed, if this one isn't set in the
    configuration file, pybasedir is not more used as replacement but /var/lib/nova
    is used instead.

    UpgradeImpact
    DocImpact
    Closes bug: #1240879

    Change-Id: I94502bcfac8b372271acd0dbc1710c0e3009b8e1

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-3
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-3 → 2014.1
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.