Closed
Description
Reminder: No username or APIkeys should be added to these issues, as they are public.
Describe the bug
A clear and concise description of what the bug is. Include the command you used, make sure to include the -v
flag, as that information is very helpful. Ex: slcli -v vs list
Trying to list an image returns SoftLayerAPIError(500): Property 'note' has already been defined.
slcli -vvv image detail 0af8d311-621d-4dba-a48f-562a2fe8c28b
Calling: SoftLayer_Virtual_Guest_Block_Device_Template_Group::getObject(id=0af8d311-621d-4dba-a48f-562a2fe8c28b, mask='id,createDate,note,accountId,name,globalIdentifier,parentId,publicFlag,flexImageFlag,imageType,children[blockDevices[diskImage[softwareReferences[softwareDescription]]]],firstChild,children[id,blockDevicesDiskSpaceTotal,datacenter,transaction[transactionGroup,transactionStatus],blockDevices[diskImage[capacity,name,units,softwareReferences[softwareDescription]],diskSpace]],note,createDate,status,transaction,accountReferences', filter='None', args=(), limit=None, offset=None)
Starting new HTTPS connection (1): api.softlayer.com:443
https://api.softlayer.com:443 "GET /rest/v3.1/SoftLayer_Virtual_Guest_Block_Device_Template_Group/0af8d311-621d-4dba-a48f-562a2fe8c28b/getObject.json?objectMask=mask%5Bid%2CcreateDate%2Cnote%2CaccountId%2Cname%2CglobalIdentifier%2CparentId%2CpublicFlag%2CflexImageFlag%2CimageType%2Cchildren%5BblockDevices%5BdiskImage%5BsoftwareReferences%5BsoftwareDescription%5D%5D%5D%5D%2CfirstChild%2Cchildren%5Bid%2CblockDevicesDiskSpaceTotal%2Cdatacenter%2Ctransaction%5BtransactionGroup%2CtransactionStatus%5D%2CblockDevices%5BdiskImage%5Bcapacity%2Cname%2Cunits%2CsoftwareReferences%5BsoftwareDescription%5D%5D%2CdiskSpace%5D%5D%2Cnote%2CcreateDate%2Cstatus%2Ctransaction%2CaccountReferences%5D HTTP/1.1" 500 104
Returned Data:
null
curl -u $SL_USER:$SL_APIKEY -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate, compress" 'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest_Block_Device_Template_Group/0af8d311-621d-4dba-a48f-562a2fe8c28b/getObject.json?objectMask=mask%5Bid%2CcreateDate%2Cnote%2CaccountId%2Cname%2CglobalIdentifier%2CparentId%2CpublicFlag%2CflexImageFlag%2CimageType%2Cchildren%5BblockDevices%5BdiskImage%5BsoftwareReferences%5BsoftwareDescription%5D%5D%5D%5D%2CfirstChild%2Cchildren%5Bid%2CblockDevicesDiskSpaceTotal%2Cdatacenter%2Ctransaction%5BtransactionGroup%2CtransactionStatus%5D%2CblockDevices%5BdiskImage%5Bcapacity%2Cname%2Cunits%2CsoftwareReferences%5BsoftwareDescription%5D%5D%2CdiskSpace%5D%5D%2Cnote%2CcreateDate%2Cstatus%2Ctransaction%2CaccountReferences%5D'
SoftLayerAPIError(500): Property 'note' has already been defined.
Expected behavior
A clear and concise description of what you expected to happen.
I expect to be able to list the image.
If I downgrade my slcli
to 6.0.2
I am able to list this image with no issues.
Screenshots
If applicable, add screenshots to help explain your problem.
Version
Include the output of slcli --version
slcli --version
Current: slcli (SoftLayer Command-line) v6.1.8
Latest: slcli (SoftLayer Command-line) v6.1.8