Cinder issues
Hello everyone,
I'm facing an issue after installing and configuring Cinder.
When I try to list the volume on my Controller Node with the command : # openstack volume list
It returns me the following error : The resource could not be found. (HTTP 404)
This is my cinder.conf file :
[DEFAULT] rootwrap_config = /etc/cinder/rootwrap.conf api_paste_confg = /etc/cinder/api-paste.ini target_helper = tgtadm volume_name_template = volume-%s volume_group = cinder-volumes2 verbose = True auth_strategy = keystone state_path = /var/lib/cinder lock_path = /var/lock/cinder volumes_dir = /var/lib/cinder/volumes enabled_backends = lvm transport_url = rabbit://openstack:MY_PASSWORD@ControllerNode1 my_ip = 192.168.21.201
enable_v3_api=true enable_v2_api=false
[database] connection = mysql+pymysql://cinder:MY_PASSWORD@ControllerNode1/cinder
[keystone_authtoken] www_authenticate_uri = http://ControllerNode1:5000/v3 auth_url = http://ControllerNode1:8776 memcached_servers = ControllerNode1:11211 auth_type = password project_domain_id = default user_domain_id = default project_name = service username = cinder password = *my_password*
service_token_roles_required=true
[oslo_concurrency] lock_path = /var/lib/cinder/tmp
This are the logs of cinder found in /var/log/apache2/cinder_error.log :
WARNING cinder.api.contrib.hosts [req-447a5b76-4593-46b1-89ff-117d267238ba - - - - -] Deprecated: The Host API is deprecated and will be be removed in$ WARNING keystonemiddleware._common.config [req-447a5b76-4593-46b1-89ff-117d267238ba - - - - -] The option "file" in conf is not known to auth_token WARNING keystonemiddleware._common.config [req-447a5b76-4593-46b1-89ff-117d267238ba - - - - -] The option "here" in conf is not known to auth_token
Does anyone has ever faced this issue ?
Thank you a lot for your support
Not sure how that might be related, but the auth_url seems to have an incorrect IP port number 8776.
I think it's the good one because it's listed when you use the commande openstack endpoint list
Check what process listens at this port. 8776 is normally the Cinder endpoint, not Keystone.