Can't access cephfs after upgrading Starlingx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Thiago Oliveira Miranda |
Bug Description
Brief Description
Can't access the cephfs after upgrading the sub cloud
Severity
Major
Steps to Reproduce
1. Install with stx.5.0
2. configure cephfs:
sudo mount -t ceph controller-0:6789:/ /mnt/mycephfs
sudo bash -c "echo 'I am here' > /mnt/mycephfs/foo"
sudo bash -c "echo 'You are there' > /mnt/mycephfs/bar"
sudo ls -al /mnt/mycephfs
cat /mnt/mycephfs/foo
cat /mnt/mycephfs/bar
Expected Behavior
After upgrade expected to re-mount and access the files.
Actual Behavior
Failing to mount due to missing keyring
Reproducibility
seen once
System Configuration
DC-4, subcloud-12
Branch/Pull Time/Commit
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID=
SRC_BUILD_ID="19"
Last Pass
stx.5.0
Timestamp/Logs
Time: 2021-12-
After Upgrade Error msg:
sudo mkdir /mnt/mycephfs
[sysadmin@
2021-12-11 23:20:41.464 7f57edebbb40 -1 auth: unable to find a keyring on /etc/ceph/
Alarms
No Alarms
Test Activity
Upgrade Testing
Workaround
Tried the following workaround:
KEYRING=$(ceph auth get client.
echo $KEYRING
CEPH_USER_
sudo bash -c "echo $KEYRING >$CEPH_
sudo cat $CEPH_USER_KEYRING
ceph fs dump
sudo mkdir /mnt/mycephfs
sudo mount -t ceph controller-0:6789:/ /mnt/mycephfs
sudo ls -al /mnt/mycephfs
sudo umount /mnt/mycephfs
Mount was successful but still can't see any of the files created prior to upgrade (foo, bar)
sudo ls -al /mnt/mycephfs
Password:
total 4
drwxr-xr-x 2 root root 0 Dec 11 22:22 .
drwxr-xr-x. 6 root root 4096 Dec 11 23:20 ..
summary: |
- Can't access cephfs after upgrading subcloud to 21.12 + Can't access cephfs after upgrading Starlingx |
description: | updated |
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 stx.update |
Changed in starlingx: | |
assignee: | nobody → Thiago Oliveira Miranda (thiagooliveiramiranda) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/823016
Review: https:/