[
https://issues.apache.org/jira/browse/CLOUDSTACK-8661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohit Yadav reassigned CLOUDSTACK-8661:
---------------------------------------
Assignee: Rohit Yadav
> cloudmonkey: crash on list networkdevice
> ----------------------------------------
>
> Key: CLOUDSTACK-8661
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8661
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Cloudmonkey
> Reporter: Pierre-Luc Dion
> Assignee: Rohit Yadav
> Priority: Minor
> Labels: cloudmonkey
>
> in cloudmonkey doing a ```list networkdevice``` api call cause cloudmonkey to
> crash:
> {code}
> > list networkdevice networkdevicetype=NetscalerVPXLoadBalancer
> Traceback (most recent call last):
> File "/opt/local/bin/cloudmonkey", line 9, in <module>
> load_entry_point('cloudmonkey==5.3.1', 'console_scripts', 'cloudmonkey')()
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cloudmonkey/cloudmonkey.py",
> line 806, in main
> shell.cmdloop()
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cloudmonkey/cloudmonkey.py",
> line 145, in cmdloop
> super(CloudMonkeyShell, self).cmdloop(intro="")
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py",
> line 142, in cmdloop
> stop = self.onecmd(line)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py",
> line 221, in onecmd
> return func(arg)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cloudmonkey/cloudmonkey.py",
> line 176, in grammar_closure
> self.default(u"{0} {1}".format(cmd, args))
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cloudmonkey/cloudmonkey.py",
> line 396, in default
> result = self.make_request(apiname, args_dict, isasync)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cloudmonkey/cloudmonkey.py",
> line 309, in make_request
> self.verifysslcert == 'true')
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cloudmonkey/requester.py",
> line 265, in monkeyrequest
> responsekey = filter(lambda x: 'response' in x, response.keys())[0]
> IndexError: list index out of range
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)