openstack volume list The resource could not be found
Hi, If I run below command openstack volume list I am getting this response The resource could not be found
However, "cinder list" and listing the volumes from GUI(Horizon), works fine
Any suggestions / ideas will be appreciated I am using CEPH for volumes and imgaes
Here is cinder.conf [root@ops-ctrl-dev ~]# cat /etc/cinder/cinder.conf
[DEFAULT]
enabled_backends = ceph
default_volume_type = ceph
backup_swift_url=http://10.10.30.158:8080/v1/AUTH_
backup_swift_container=volumebackups
backup_driver=cinder.backup.drivers.swift
enable_v3_api=True
enable_v2_api=false
storage_availability_zone=nova
default_availability_zone=nova
auth_strategy=keystone
osapi_volume_listen=0.0.0.0
osapi_volume_workers=2
enable_force_upload = true
debug=True
log_dir=/var/log/cinder
transport_url=rabbit://guest:guest@10.10.30.158:5672/
control_exchange=openstack
api_paste_config=/etc/cinder/api-paste.ini
glance_host=10.10.30.158
#image_conversion_dir = /mnt/nfs/img/conversion
#image_conversion_dir = $state_path/conversion
[database]
connection=mysql+pymysql://cinder:92fcdb6ddf42473e@10.10.30.158/cinder
[key_manager]
backend=cinder.keymgr.conf_key_mgr.ConfKeyManager
[keystone_authtoken] www_authenticate_uri=http://10.10.30.158:5000/v3 auth_uri=http://10.10.30.158:5000/v3 auth_type=password auth_url=http://10.10.30.158:35357/v3 username=cinder password=8a68c661ca6e4de6 user_domain_name=Default project_name=services project_domain_name=Default [ceph]
volume_driver = cinder.volume.drivers.rbd.RBDDriver volume_backend_name = ceph rbd_pool = volumes rbd_ceph_conf = /etc/ceph/ceph.conf rbd_flatten_volume_from_snapshot = false rbd_max_clone_depth = 5 rbd_store_chunk_size = 4 rados_connect_timeout = -1 rbd_user = cinder rbd_secret_uuid = 78720044-69a4-4256-a2a1-22f55ca1de11 rbd_keyring_config = /etc/ceph/ceph.client.cinder.keyring
If the cinder client works and the openstack client doesn’t, I would look for problems in the openstack client. You could start by finding out which API fails, for example by inspecting the debug output of the client, or comparing debug outputs of both clients.