charm does not restart cinder-volume after creating LVM
Bug #1383801 reported by
Nobuto Murata
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.
Related branches
lp:~seyeongkim/charms/trusty/cinder/lp1383801
- Billy Olsen: Approve
- OpenStack Charmers: Pending requested
-
Diff: 89 lines (+36/-4)2 files modifiedhooks/cinder_hooks.py (+4/-0)
unit_tests/test_cinder_hooks.py (+32/-4)
tags: | added: openstack |
Changed in cinder (Juju Charms Collection): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in cinder (Juju Charms Collection): | |
assignee: | nobody → Seyeong Kim (xtrusia) |
status: | Triaged → In Progress |
tags: |
added: sts removed: cts |
Changed in cinder (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
milestone: | none → 15.10 |
Changed in cinder (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.