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

Bug #1240879 reported by Mehdi Abaakouk on 2013-10-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Mehdi Abaakouk
OpenStack Compute (nova)
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) on 2013-10-17
description: updated
Mehdi Abaakouk (sileht) on 2013-10-17
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) on 2013-10-31
tags: added: drivers
tags: removed: drivers

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

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) on 2014-03-05
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-03-05
Changed in cinder:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in nova:
milestone: icehouse-3 → 2014.1
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers