openstack rsd storage show results in error related to remote_targets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-rsdclient |
Fix Released
|
High
|
Lin Yang |
Bug Description
I am using the latest rsd-lib and rsd-client from GitHub. When running rsd storage show command, it is resulting in an error.
stack@openstack
Passing username and password to Connector is deprecated. Authentication is passed through set_auth now, support for these arguments will be removed in the future
'StorageService' object has no attribute 'remote_targets'
The /redfish/
When querying pod-manager using curl, it is showing the storage service properly.
stack@openstack
{
"@odata.context" : "/redfish/
"@odata.id" : "/redfish/
"@odata.type" : "#StorageServic
"Id" : "1-sv-1",
"Name" : "Storage Service",
"Description" : "Storage Service description",
"Status" : {
"State" : "Absent",
"Health" : null,
"HealthRollup" : null
},
"Drives" : {
"@odata.id" : "/redfish/
},
"StoragePools" : {
"@odata.id" : "/redfish/
},
"Volumes" : {
"@odata.id" : "/redfish/
},
"Endpoints" : {
"@odata.id" : "/redfish/
},
"Links" : {
"HostingSystem" : {
"@odata.id" : "/redfish/
},
"Oem" : {
"
"ManagedBy" : [ {
} ]
}
}
},
"Oem" : { }
Looks like rsd-lib is trying to look for remote_targets resource in PODM/PSME API. But remote_targets is removed since RSD v2.2. The PSME/PODM I have uses the latest RSD version v2.3.
Please let me know if you need more information.
Changed in python-rsdclient: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Lin Yang (lin-a-yang) |
In rsdclient/ v1/storage_ service. py, the show() function is looking for remote_targets, physical_drives, and logical_drives. But these resources are not part of latest RSD spec. Instead, they should be volumes, drives, and storage_pools I guess.