charm does not restart cinder-volume after creating LVM

Bug #1383801 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cinder (Juju Charms Collection)
Fix Released
Low
Seyeong Kim

Bug Description

How to reproduce:
 1. deploy openstack services including cinder with local LVM iSCSI without setting overwrite=true(Bug #1383795)
 2. set overwrite=true in cinder after deploying openstack services

Expected result:
 charm setup LVM and restart cinder-volume service

Actual result:
 cinder charm does not restart cinder-volume after setting up LVM, then volumes cannot be created unless restarting cinder-volume service manually.

Tags: openstack sts

Related branches

Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :

The first try to create LVM was skipped due to missing overwrite=true (Bug #1383795).
====
2014-10-21 15:00:52 INFO config-changed No physical volume label read from /dev/vdb
2014-10-21 15:00:52 INFO config-changed Failed to read physical volume "/dev/vdb"
2014-10-21 15:00:52 INFO worker.uniter.jujuc server.go:103 running hook tool "config-get" ["openstack-origin" "--format=json"]
====

Then setting overwrite=true after the deployment.
====
2014-10-21 15:09:13 INFO config-changed No physical volume label read from /dev/vdb
2014-10-21 15:09:13 INFO config-changed Failed to read physical volume "/dev/vdb"
2014-10-21 15:09:13 INFO config-changed No physical volume label read from /dev/vdb
2014-10-21 15:09:13 INFO config-changed Failed to read physical volume "/dev/vdb"
2014-10-21 15:09:15 INFO config-changed Creating new GPT entries.
2014-10-21 15:09:15 INFO config-changed GPT data structures destroyed! You may now partition the disk using fdisk or
2014-10-21 15:09:15 INFO config-changed other utilities.
2014-10-21 15:09:15 INFO config-changed The operation has completed successfully.
2014-10-21 15:09:15 INFO config-changed 1+0 records in
2014-10-21 15:09:15 INFO config-changed 1+0 records out
2014-10-21 15:09:15 INFO config-changed 1048576 bytes (1.0 MB) copied, 0.00334951 s, 313 MB/s
2014-10-21 15:09:15 INFO config-changed 100+0 records in
2014-10-21 15:09:15 INFO config-changed 100+0 records out
2014-10-21 15:09:15 INFO config-changed 51200 bytes (51 kB) copied, 0.00120039 s, 42.7 MB/s
2014-10-21 15:09:15 INFO config-changed Physical volume "/dev/vdb" successfully created
2014-10-21 15:09:15 INFO config-changed Volume group "cinder-volumes" successfully created
2014-10-21 15:09:15 INFO worker.uniter.jujuc server.go:103 running hook tool "config-get" ["openstack-origin" "--format=json"]
====

LVM was created, but no restart for cinder-volume service.

tags: added: cts
tags: added: openstack
James Page (james-page)
Changed in cinder (Juju Charms Collection):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Liang Chen (cbjchen) wrote :

Fix for bug #1383795 has been merged, and will be back-ported to trunk later. As the first step to reproduce this bug involves the presence of that bug, is this bug still reproducible after that one being fixed?

Revision history for this message
Seyeong Kim (seyeongkim) wrote :

http://pastebin.ubuntu.com/11953242/

it seems that cinder-volume is not started after set overwrite=true.

Seyeong Kim (seyeongkim)
Changed in cinder (Juju Charms Collection):
assignee: nobody → Seyeong Kim (xtrusia)
status: Triaged → In Progress
Seyeong Kim (seyeongkim)
tags: added: sts
removed: cts
Changed in cinder (Juju Charms Collection):
status: In Progress → Fix Committed
milestone: none → 15.10
James Page (james-page)
Changed in cinder (Juju Charms Collection):
status: Fix Committed → Fix Released
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.