manila.exception.ShareBackendException: json_command failed - [errno -110] error calling ceph_mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Manila-Ganesha Charm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After fresh deployment of cephfs, manila and manila-genesha on jammy/zed stable all charms comes up active whitout errors.
Create nfs share fails with error. Please look manila.log attachment (from manila-
Steps:
manila create --share-type cephfsnfstype --name testshareWow nfs 1
...
manila show 8ef9d21e-
+------
| Property | Value |
+------
| id | 8ef9d21e-
| size | 1 |
| availability_zone | nova |
| created_at | 2023-03-
| status | error |
| name | testshareWow |
| description | None |
| project_id | ec101c020cd94de
| snapshot_id | None |
| share_network_id | None |
| share_proto | NFS |
| metadata | {} |
| share_type | 0f2f23df-
| is_public | False |
| snapshot_support | False |
| task_state | None |
| share_type_name | cephfsnfstype |
| access_rules_status | active |
| replication_type | None |
| has_replicas | False |
| user_id | a6c7ceede9af466
| create_
| revert_
| share_group_id | None |
| source_
| mount_snapshot_
| progress | None |
| is_soft_deleted | False |
| scheduled_
| share_server_id | None |
| host | 10.110.
| export_locations | [] |
+------
----
Controller Version: 2.9.31
Series: jammy
Openstack-
manila 15.1.0 active 3 manila zed/stable 92 no Unit is ready
manila-hacluster active 3 hacluster 2.4/stable 117 no Unit is ready and clustered
manila-mysql-router 8.0.32 active 3 mysql-router 8.0/stable 35 no Unit is ready
manila-ganesha-sc2 17.2.0 active 3 manila-ganesha zed/stable 72 no Unit is ready
manila-
manila-
...
manila:
charm: manila
channel: zed/stable
revision: 92
series: jammy
num_units: 3
to:
- lxd:0
- lxd:1
- lxd:2
options:
default-
default-
openstack
region: de1
share-
use-
vip: 10.104.100.200 10.105.100.200 10.110.100.200
vip_cidr: 16
constraints: arch=amd64
bindings:
"": internal-c1
admin: admin-c1
amqp: internal-c1
certificates: internal-c1
cluster: internal-c1
ha: internal-c1
identity-
internal: internal-c1
manila-
neutron-
nrpe-
public: service-c1
remote-
shared-db: internal-c1
manila-
charm: manila-ganesha
channel: zed/stable
revision: 72
series: jammy
num_units: 3
to:
- lxd:42
- lxd:43
- lxd:44
options:
openstack
use-
vip: 10.104.100.202 10.105.100.202 10.106.100.202 10.110.100.202
vip_cidr: 16
constraints: arch=amd64
bindings:
"": internal-c1
admin: admin-c1
amqp: internal-c1
ceph: storage-c1
certificates: internal-c1
cluster: internal-c1
ha: internal-c1
identity-
internal: internal-c1
manila-
nrpe-
public: service-c1
shared-db: internal-c1
tenant-
...
description: | updated |
I retried it with another ganesha backend (new ceph-cluster) with this post deployment steps:
manila type-create nfs-sc1 false name=CEPHFSNFS1 storage_ protocol= NFS
manila type-key nfs-sc1 set share_backend_
manila create --share-type nfs-sc1 --name sc1-test nfs 1
Charms all active and ready. Same error in manila-share.log on manila- ganesha- sc1/leader:
"2023-03-22 19:30:59.439 1394649 ERROR oslo_messaging. rpc.server [None req-61dc9d69- 9b9c-458e- ae7c-6bd53fef84 0f a6c7ceede9af466 089380c141428d4 39 ec101c020cd94de 3bdc7ef514021e0 e2 - - - -] Exception during message handling: manila. exception. ShareBackendExc eption: json_command failed - prefix=fs subvolume create, argdict= {'vol_name' : 'ceph-fs-sc1', 'sub_name': '4b07464c- e4b4-4d98- aa02-172a428719 72', 'size': 1073741824, 'namespace_ isolated' : True, 'mode': '755', 'format': 'json'} - exception message: [errno -110] error calling ceph_mount."