VMAX: ValueError: too many values to unpack

Bug #1800891 reported by Carl Pecinovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Incomplete
Undecided
Helen Walsh

Bug Description

When SRP pool info can't be update, update_volume_stats() blows up every periodic cycle.

2018-10-31 13:43:51.867 60451 DEBUG cinder.volume.drivers.dell_emc.vmax.rest [req-38ccd0ba-b63e-44bd-adec-e097f72908b2 - - - - -] GET request to httpspvc://9.3.18.68:8443/univmax/restapi/84/sloprovisioning/symmetrix/000196800573/srp/SRP_1 has returned with a status code of: 503. request /usr/lib/python2.7/site-packages/cinder/volume/drivers/dell_emc/vmax/rest.py:138
2018-10-31 13:43:51.868 60451 DEBUG cinder.volume.drivers.dell_emc.vmax.rest [req-38ccd0ba-b63e-44bd-adec-e097f72908b2 - - - - -] Get resource failed with Bad or unexpected response from the storage volume backend API: Error get srp. The status code received is 503 and the message is None. _get_request /usr/lib/python2.7/site-packages/cinder/volume/drivers/dell_emc/vmax/rest.py:316
2018-10-31 13:43:51.869 60451 ERROR cinder.volume.drivers.dell_emc.vmax.provision [req-38ccd0ba-b63e-44bd-adec-e097f72908b2 - - - - -] Unable to retrieve srp instance of SRP_1 on array 000196800573.
2018-10-31 13:43:51.869 60451 WARNING powervc_cinder.volume.manager [req-38ccd0ba-b63e-44bd-adec-e097f72908b2 - - - - -] Caught Exception Refreshing Driver Status: too many values to unpack

code:
            LOG.error("Unable to retrieve srp instance of %(srpName)s on "
                      "array %(array)s.",
                      {'srpName': srp, 'array': array})
            return 0, 0, 0, 0, False

Caller expects 4 returned values, not 5.

Helen Walsh (walshh2)
Changed in cinder:
status: New → Incomplete
assignee: nobody → Helen Walsh (walshh2)
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.