Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2791

October 20th, 2016 11:00

Error in Cinder Logs

I am getting such errors in cinder logs while using EMC driver.

2016-10-20 13:47:06.654 18506 ERROR cinder.volume.drivers.emc.scaleio [req-6061f8a1-65da-4b81-b419-bb67578179ac - - - - -] Error getting domain id from name default: Not found.

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service [req-6061f8a1-65da-4b81-b419-bb67578179ac - - - - -] Error starting thread.

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service Traceback (most recent call last):

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 680, in run_service

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service     service.start()

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/cinder/service.py", line 150, in start

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service     self.manager.init_host()

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 436, in init_host

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service     self.driver.init_capabilities()

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/cinder/volume/driver.py", line 656, in init_capabilities

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service     stats = self.get_volume_stats(True)

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/emc/scaleio.py", line 872, in get_volume_stats

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service     self._update_volume_stats()

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/emc/scaleio.py", line 774, in _update_volume_stats

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service     raise exception.VolumeBackendAPIException(data=msg)

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error getting domain id from name default: Not found.

2016-10-20 13:47:06.655 18506 ERROR oslo_service.service

2016-10-20 13:47:06.666 18427 INFO oslo_service.service [req-a1d144da-8b99-4c8b-ba54-3a572653320a - - - - -] Child 18506 exited with status 1

2016-10-20 13:47:06.675 18507 INFO cinder.service [-] Starting cinder-volume node (version 8.0.0)

2016-10-20 13:47:06.677 18507 INFO cinder.volume.manager [req-860caa7b-79bc-4b45-b9b4-46b3ad07a93d - - - - -] Starting volume driver ScaleIODriver (2.0)

2016-10-20 13:47:06.679 18507 WARNING cinder.volume.drivers.emc.scaleio [req-860caa7b-79bc-4b45-b9b4-46b3ad07a93d - - - - -] Verify certificate is not set, using default of False.

2016-10-20 13:47:06.680 18507 INFO cinder.volume.drivers.emc.scaleio [req-860caa7b-79bc-4b45-b9b4-46b3ad07a93d - - - - -] ScaleIO get domain id by name request: https://x.x.x.x:443/api/types/Domain/instances/getByName::default.

2016-10-20 13:47:06.681 18507 INFO cinder.volume.drivers.emc.scaleio [req-860caa7b-79bc-4b45-b9b4-46b3ad07a93d - - - - -] username: admin, verify_cert: False.

2016-10-20 13:47:06.717 18507 INFO cinder.volume.drivers.emc.scaleio [req-860caa7b-79bc-4b45-b9b4-46b3ad07a93d - - - - -] Token is invalid, going to re-login and get a new one.

2016-10-20 13:47:07.529 18507 INFO cinder.volume.drivers.emc.scaleio [req-860caa7b-79bc-4b45-b9b4-46b3ad07a93d - - - - -] Going to perform request again https://x.x.x.x:443/api/types/Domain/instances/getByName::default with valid token.

^[2016-10-20 13:47:08.375 18507 INFO cinder.volume.drivers.emc.scaleio [req-860caa7b-79bc-4b45-b9b4-46b3ad07a93d - - - - -] Get domain by name response: {"message":"Not found","httpStatusCode":500,"errorCode":3}

October 2nd, 2017 12:00

Hello,


Try changing your volume_driver parameter in cinder.conf to:

volume_driver = cinder.volume.drivers.dell_emc.scaleio.driver.ScaleIODriver

You can confirm that this is the new driver name by navigating to this directory:

/usr/lib/python2.7/site-packages/cinder/volume/drivers/

Look to see if there is a "dell_emc" or "emc" directory. Based on this, this should be your parameter you use for your volume_driver.

Note that this path may vary due to your OS.


Let me know if this works for you.

10 Posts

September 22nd, 2017 00:00

Hi,

Did you solve this issue?

I am hitting the exact issue. Can you share the solution if you were able to solve this?

Thanks.

10 Posts

October 3rd, 2017 03:00

Hi David,

I was hitting the issue due to issue with password. Initially what I knew was to use the SIO Gateway IP and Gateway's admin user password in the cinder config. Using the MDM's password instead, it worked. Is that what we should do?

October 4th, 2017 21:00

Hello,

Thank you for the input! Yes, using the MDM credentials and giving the ScaleIO Gateway IP address is the correct way to configure the cinder config.

No Events found!

Top