Failed to schedule create_share: 'reserved_snapshot_percentage'

Bug #2013026 reported by xieqilin
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)

Bug Description

Creating shares with Shared File Systems Option 1 (DHSS = False)
report errors

manila create NFS 1 --name share1
report errors
ERROR: There is no default share type available. You must pick a valid share type to create a share.
Default has been defined in the configuration file_ share_ type = default_ share_ type

So I added a parameter to specify
manila create NFS 1 --name share1 --share-type default_ share_ type

Can create, but the result from the manila list is incorrect

check /var/log/manila/manila-scheduler.log

ERROR manila.scheduler.manager [None req-d198cf17-4892-42d3-9604-d4ba1daafe9e 0bbb72948a844ab5b44fd8ca513e76e8 f62ede92e97642 0d8f4b7cb9eab5a6b6 - - - -] Failed to schedule create_share: 'reserved_snapshot_percentage'
ERROR oslo_messaging.rpc.server [None req-d198cf17-4892-42d3-9604-d4ba1daafe9e 0bbb72948a844ab5b44fd8ca513e76e8 f62ede92e9764 20d8f4b7cb9eab5a6b6 - - - -] Exception during message handling: KeyError: 'reserved_snapshot_percentage'

Version´╝Üopenstack yoga

Logs & Configs

Revision history for this message
Vida Haririan (vhariria) wrote :

Hello, Please provide additional logs and specify which backend is used

Revision history for this message
Vida Haririan (vhariria) wrote :
Vida Haririan (vhariria)
Changed in manila:
status: New → Triaged
Revision history for this message
Jean Pierre Roquesalane (jproque15130) wrote :


I'm experiencing the same issue, it looks like the host manager is looking for an entry which doesn't exist:

Jun 05 12:54:25 ubuntu2204-devstack manila-scheduler[169298]: INFO manila.scheduler.host_manager [None req-9fa07831-1238-4787-97e1-e11883ce4210 admin None] CAPABILITY HAS: {'pool_name': 'Env8-SP-SW_SSD-1', 'thin_provisioning': True, 'total_capacity_gb': 4602, 'free_capacity_gb': 1485, 'allocated_capacity_gb': 67, 'provisioned_capacity_gb': 200, 'qos': False, 'reserved_percentage': 66, 'share_backend_name': 'powerflex', 'storage_protocol': 'NFS', 'vendor_name': 'Dell EMC', 'driver_version': '1.0', 'timestamp': datetime.datetime(2023, 6, 5, 12, 53, 28, 923517), 'driver_handles_share_servers': False, 'snapshot_support': True, 'create_share_from_snapshot_support': False, 'revert_to_snapshot_support': False, 'mount_snapshot_support': False, 'dedupe': False, 'compression': False, 'replication_type': None, 'replication_domain': None, 'sg_consistent_snapshot_support': None, 'security_service_update_support': False, 'network_allocation_update_support': False, 'share_server_multiple_subnet_support': False, 'ipv4_support': True, 'ipv6_support': False}

As you can see in the previous ouput, there is no reserved_snapshot_percentage Key.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.