[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235115#comment-15235115
 ] 

Nux commented on CLOUDSTACK-9203:
---------------------------------

Tried to build 4.8.0 even with the failed patch hunk, but no go.

"[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on 
project cloud-server: Compilation failure: Compilation failure:
[ERROR] 
/root/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/server/src/com/cloud/vm/UserVmManagerImpl.java:[4352,30]
 error: cannot find symbol
[ERROR] symbol:   method getIpAddress()
[ERROR] location: variable cmd of type DeployVMCmd
[ERROR] 
/root/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/server/src/com/cloud/vm/UserVmManagerImpl.java:[4363,29]
 error: cannot find symbol
[ERROR] symbol:   method getKeyboard()
[ERROR] location: variable cmd of type DeployVMCmd
[ERROR] 
/root/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/server/src/com/cloud/vm/UserVmManagerImpl.java:[4368,116]
 error: incompatible types: DeployVMCmd cannot be converted to 
SecurityGroupAction
[ERROR] 
/root/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/server/src/com/cloud/vm/UserVmManagerImpl.java:[4369,112]
 error: getIpToNetworkMap() has private access in DeployVMCmd
[ERROR] 
/root/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/server/src/com/cloud/vm/UserVmManagerImpl.java:[4374,140]
 error: incompatible types: DeployVMCmd cannot be converted to 
SecurityGroupAction
[ERROR] 
/root/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/server/src/com/cloud/vm/UserVmManagerImpl.java:[4375,137]
 error: getIpToNetworkMap() has private access in DeployVMCmd
[ERROR] 
/root/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/server/src/com/cloud/vm/UserVmManagerImpl.java:[4383,95]
 error: getIpToNetworkMap() has private access in DeployVMCmd
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-server
error: Bad exit status from /var/tmp/rpm-tmp.mCpCB3 (%build)"

Any chance you can correct it? This is a great feature.

> [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)

Reply via email to