Open usma0118 opened 2 months ago
Related #219
@UtkarshBhatthere any help?
Thanks for sharing this issue @usma0118. We will take a look at it. I also do not think this is related to #219. That was a simpler command timeout that happened if the bootstrap process was slow.
App armor settings:
x profiles are in enforce mode.
snap.microceph.ceph
snap.microceph.daemon
snap.microceph.hook.install
snap.microceph.hook.post-refresh
snap.microceph.mds
snap.microceph.mgr
snap.microceph.microceph
snap.microceph.mon
snap.microceph.osd
snap.microceph.rados
snap.microceph.radosgw-admin
snap.microceph.rbd
snap.microceph.rgw
Processes are in enforce mode.
/snap/microceph/975/bin/ceph-mds (14118) snap.microceph.mds
/snap/microceph/975/bin/ceph-mgr (14119) snap.microceph.mgr
/usr/bin/dash (14191) snap.microceph.osd
/snap/microceph/975/bin/ceph-osd (14222) snap.microceph.osd
Another observation, truststore after upgrade was empty, had to manually create cluster.yaml
yes, the empty truststore was an old issue (which you possibly observed due to upgrade from an older revision). You should not see this going forward since the fix has been merged in microcluster and we have refreshed our dependencies.
After manually fixing truststore, I am can see microceph services running.
but ceph status gives timeout. any ideas?
Are the required ceph config files present in the /var/snap/microceph
path ?
Also @usma0118 please feel free to discuss this directly in our Matrix Room if there is a bit of to and fro required.
Had to manually create config files. after that microceph services are started.
it would be awesome if you could share a bit about what config files you had to create to get it working.
difficult to remember but based on command history:
/var/snap/microceph/common/state/truststore/ (Culster file)
symlink /var/snap/microceph//current/conf/ceph.client.admin.keyring and /var/snap/microceph//current/conf/ceph.conf to required places (can't recall which)
Issue report
After upgrading from snap 707 to 975, i am getting error failed to initialize trust store.
I have looked into issue reported #336 and followed copied values to trust store as defined in #269. but still fails.
What version of MicroCeph are you using ?
18.2.0+snap450240f5dd (Single node)
Use this section to describe the channel/revision which produces the unexpected behavior. This information can be fetched from the
installed:
section ofsudo snap info microceph
output.What are the steps to reproduce this issue ?
Upgraded from snap version 707 to 975
What happens (observed behaviour) ?
…
What were you expecting to happen ?
…
Relevant logs, error output, etc.
Additional comments.
…