Ubuntu packaging should create DB automatically
Bug #705073 reported by
Thierry Carrez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Looks like we now need to run manually "nova-manage db sync" to initially create the database. Ideally that would automatically be taken care of by the Ubuntu packaging.
Changed in nova (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in nova: | |
status: | Confirmed → Fix Committed |
Changed in nova (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in nova: | |
milestone: | none → 2011.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm not sure if this is the right solution. We currently require users to create admin users manually and get images manually. It isn't a huge burden to have them initialize the database as well, and it might prevent some misconfiguration. The current approach we are using for testing at anso is to have the packaging not start the services by default (via a setting /etc/default/ nova-common) , so a user would be responsible for creating the db and then enabling and running the services. This is a bit of extra work, but it ensures services aren't trampling on each other and creating databases silently.
Vish
On Jan 19, 2011, at 11:25 AM, Thierry Carrez wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 705073
>
> Looks like we now need to run manually "nova-manage db sync" to
> initially create the database. Ideally that would automatically be taken
> care of by the Ubuntu packaging.
>
> ** Affects: nova
> Importance: Undecided
> Status: New
>
> ** Affects: nova (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Also affects: nova (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https:/
>
> Title:
> Ubuntu packaging should create DB automatically
>
> Status in OpenStack Compute (Nova):
> New
> Status in “nova” package in Ubuntu:
> New
>
> Bug description:
> Looks like we now need to run manually "nova-manage db sync" to
> initially create the database. Ideally that would automatically be
> taken care of by the Ubuntu packaging.
>
>