All the ceph related functionality and config are gone after server reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack-plugin-ceph |
New
|
Undecided
|
Unassigned |
Bug Description
I am trying to install devstack(liberty)
by clonning as:
git clone https:/
Then install ceph by using the following plugin in localrc file:
# Enable ceph DevStack plugin
enable_plugin devstack-
And it comes up fine
The problem is that when I reboot the server, I lost all ceph configuration.
All my ceph commands stop working and I am getting the following errors:
adminx@
2016-03-17 15:55:55.489590 7fa34c7c8700 0 -- :/3530400219 >> 192.168.
2016-03-17 15:55:58.489293 7fa34c6c7700 0 -- :/3530400219 >> 192.168.
^CError connecting to cluster: InterruptedOrTi
adminx@
adminx@
adminx@
adminx@
2016-03-17 15:56:05.009688 7fa050226700 0 -- :/3529225905 >> 192.168.
2016-03-17 15:56:08.010524 7fa050125700 0 -- :/3529225905 >> 192.168.
^CError connecting to cluster: InterruptedOrTi
The following file system disappears from mount
adminx@
Before reboot, I was getting the following output
/var/lib/
And all the following ceph monitor and osd related files disappear after the reboot:
Before reboot, I was getting the following output:
adminx@
total 0
drwxr-xr-x 2 root root 6 Mar 16 12:01 radosgw
drwxr-xr-x 2 root root 6 Mar 16 12:01 mds
drwxr-xr-x 2 root root 32 Mar 16 12:01 tmp
drwxr-xr-x 3 root root 25 Mar 16 12:01 mon
drwxr-xr-x 2 root root 25 Mar 16 12:01 bootstrap-osd
drwxr-xr-x 2 root root 25 Mar 16 12:01 bootstrap-rgw
drwxr-xr-x 2 root root 25 Mar 16 12:01 bootstrap-mds
drwxr-xr-x 3 root root 19 Mar 16 12:01 osd
adminx@
total 4
-rw-r--r-- 1 root root 77 Mar 16 12:01 keyring
-rw-r--r-- 1 root root 0 Mar 16 12:01 upstart
drwxr-xr-x 2 root root 128 Mar 16 12:01 store.db
adminx@cephos2:~$ ls -lrt /var/lib/ceph/osd
total 0
drwxr-xr-x 3 root root 163 Mar 16 12:01 ceph-0
adminx@cephos2:~$
adminx@cephos2:~$ ls -lrt /var/lib/ceph/mon
total 0
drwxr-xr-x 3 root root 49 Mar 16 12:01 ceph-cephos2
adminx@cephos2:~$
adminx@cephos2:~$
adminx@cephos2:~$ ls -lrt /var/lib/ceph/mds/
total 0
adminx@cephos2:~$ ls -lrt /var/lib/
total 102436
-rw-r--r-- 1 root root 53 Mar 16 12:01 superblock
-rw-r--r-- 1 root root 4 Mar 16 12:01 store_version
-rw-r--r-- 1 root root 37 Mar 16 12:01 fsid
-rw-r--r-- 1 root root 2 Mar 16 12:01 whoami
-rw-r--r-- 1 root root 6 Mar 16 12:01 ready
-rw-r--r-- 1 root root 21 Mar 16 12:01 magic
-rw-r--r-- 1 root root 37 Mar 16 12:01 ceph_fsid
-rw-r--r-- 1 root root 56 Mar 16 12:01 keyring
-rw-r--r-- 1 root root 0 Mar 16 12:01 upstart
drwxr-xr-x 92 root root 4096 Mar 16 12:31 current
-rw-r--r-- 1 root root 104857600 Mar 17 15:41 journal
adminx@cephos2:~$
adminx@cephos2:~$
adminx@cephos2:~$ ls -lrt /var/lib/
total 4
-rw-r--r-- 1 root root 77 Mar 16 12:01 keyring
-rw-r--r-- 1 root root 0 Mar 16 12:01 upstart
drwxr-xr-x 2 root root 230 Mar 17 16:00 store.db
After reboot, all the above files are gone
It seems like that I need to modify my /etc/fstab file to make it persistence and make some other ceph related changes so that it stays after the reboot
So it seems like a issue that after the reboot, everything related to ceph is gone
Does anyone know a workaround for this? I tried "sudo apt-get purge ceph*" and it wasn't enough. It instead got hung up on something related to cinder secrets.