[Bug 1611082] Re: Upgrading ceph-osd from Kilo to Mitaka "misses" /var/lib/ceph ownership change
Rafael David Tinoco
rafael.tinoco at canonical.com
Tue Aug 9 20:49:42 UTC 2016
Ok I just re-deployed everything.
After I finished upgrade, I rebooted all the environment.
After ceph machines came back, I had:
https://pastebin.canonical.com/162720/
So I guess something is wrong... 2nd time I was able to reproduce the
same behaviour.
When changing permissions:
juju ssh ceph-osd/0 -- sudo chown -R ceph:ceph /var/lib/ceph
juju ssh ceph-osd/1 -- sudo chown -R ceph:ceph /var/lib/ceph
juju ssh ceph-osd/2 -- sudo chown -R ceph:ceph /var/lib/ceph
juju ssh ceph-osd/0 -- sudo chown -R ceph:ceph /var/log/ceph
juju ssh ceph-osd/1 -- sudo chown -R ceph:ceph /var/log/ceph
juju ssh ceph-osd/2 -- sudo chown -R ceph:ceph /var/log/ceph
Everything went back to normal:
https://pastebin.canonical.com/162725/
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1611082
Title:
Upgrading ceph-osd from Kilo to Mitaka "misses" /var/lib/ceph
ownership change
Status in ceph package in Ubuntu:
Opinion
Status in ceph-osd package in Juju Charms Collection:
New
Bug description:
I just upgraded ceph-{osd,mon} from Kilo to Mitaka (when doing a full OpenStack upgrade)
and it looks like the charm missed the step described in:
http://docs.ceph.com/docs/master/release-notes/#upgrading-from-hammer
Fix the ownership:
chown -R ceph:ceph /var/lib/ceph
chown -R ceph:ceph /var/log/ceph
As you can see in the log files:
http://paste.ubuntu.com/22719924/
http://paste.ubuntu.com/22719976/
Fixing the ownership by hand makes the error:
No block devices detected using current configuration
To disappear from juju status.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1611082/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list