-
Notifications
You must be signed in to change notification settings - Fork 194
#1074 - fixed issue with config setup #1084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ntered to try getting API credentials, also added priceIds to slcli order item-list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't reproduce the errors reported before but it seems that not all commands work as with the XMLRPC endpoint, for example:
REST:
$ slcli image list --private
:....:......:......:............:.........:
: id : name : type : visibility : account :
:....:......:......:............:.........:
:....:......:......:............:.........:
XMLRPC:
$ slcli image list --private
:.........:...............................................:...........:............:.........:
: id : name : type : visibility : account :
:.........:...............................................:...........:............:.........:
: 11111111: AJCB-TESTIMPO01 : ISO Image : Private : ####### :
: 2222222 : AJCB-VSI54786469-localdisk : System : Private : ####### :
: 3333333 : Ajcb0Image1111111111 : System : Private : ####### :
: 3333333 : Ajcb0Image2A2A2A : System : Private : ####### :
: 4444444 : Ajcb0Image3D3D3D3D : None : Private : ####### :
: 5555555 : testTemplate : System : Private : ####### :
:.........:...............................................:...........:............:.........:
To generate this error, on the master branch, your config needs to have the rest endpoint set.
|
sorry, I wanted to say I tested your fix and I couldn't reproduce that errors again. I think this can be merged once the failed unittest has been fixed |
slcli config setup
would error out if the endpoint you selected was not xmlrpc, or if you had an exiting endpoint that was REST and picked xmlrpc.This change should fix that.
fixes #1074