[
https://issues.apache.org/jira/browse/CLOUDSTACK-9203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15270339#comment-15270339
]
ASF GitHub Bot commented on CLOUDSTACK-9203:
--------------------------------------------
Github user rhtyd commented on the pull request:
https://github.com/apache/cloudstack/pull/1297#issuecomment-216792938
Looks like a cleanup/env issue, can you push -f again @DaanHoogland
In Travis, scroll down at the end -- see the table which test failed
(exception/failed etc) and at the end click on the second last knob/triangle to
see marvin output and search for failed test:
```
2016-05-03 17:31:02,554 - CRITICAL - EXCEPTION: test_01_scale_vm:
['Traceback (most recent call last):\n', ' File
"/opt/python/2.7.10/lib/python2.7/unittest/case.py", line 331, in run\n
testMethod()\n', ' File
"/home/travis/build/apache/cloudstack/test/integration/smoke/test_scale_vm.py",
line 151, in test_01_scale_vm\n isdynamicallyscalable=\'true\')\n', ' File
"/home/travis/.local/lib/python2.7/site-packages/marvin/lib/base.py", line 631,
in update\n return(apiclient.updateVirtualMachine(cmd))\n', ' File
"/home/travis/.local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 740, in updateVirtualMachine\n response =
self.connection.marvinRequest(command, response_type=response,
method=method)\n', ' File
"/home/travis/.local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 379, in marvinRequest\n raise e\n', 'CloudstackAPIException: Execute
cmd: updatevirtualmachine failed, due to: errorCode: 431, errorText:Unable to
find network with trafficType Guest and guestType Shared in zone 1\n']
```
> [API] extend updateVirtualMachine to support updating security groups
> ---------------------------------------------------------------------
>
> Key: CLOUDSTACK-9203
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9203
> Project: CloudStack
> Issue Type: New Feature
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Reporter: René Moser
> Assignee: Daan Hoogland
> Priority: Minor
> Fix For: Future
>
>
> There is currently no way to change security groups on exisitng VMs.
> {{updateVirtualMachine}} should be extended in a similar way as
> {{deployVirtualMachine}} which should allow passing a list of IDs or names to
> update the security groups as passed:
> {{securitygroupids}} parameter
> comma separated list of security groups id that going to be applied to the
> virtual machine. Should be passed only when vm is created from a zone with
> Basic Network support. Mutually exclusive with securitygroupnames parameter,
> default: false
> {{securitygroupnames}} parameter
> comma separated list of security groups names that going to be applied to the
> virtual machine. Should be passed only when vm is created from a zone with
> Basic Network support. Mutually exclusive with securitygroupids parameter.
> default: false
> Exoscale did already some work in their branch which we are
> [allowed|https://twitter.com/resmo79/status/681428989018267648] to use, see
> [https://github.com/exoscale/cloudstack/pull/6/]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)