[jira] [Commented] (CLOUDSTACK-6530) Populate first class entities in the context parameter

2014-04-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13983847#comment-13983847
 ] 

ASF subversion and git services commented on CLOUDSTACK-6530:
-

Commit 3e7ea4e8d99a92872007f11a09ab87c8ba61e1da in cloudstack's branch 
refs/heads/4.4-forward from [~nitinme]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3e7ea4e ]

CLOUDSTACK-6530: Populate the first class entities in the context to be 
available for publishing more information for the event bus, checking the 
displayable property etc.


 Populate first class entities in the context parameter
 --

 Key: CLOUDSTACK-6530
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6530
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Reporter: Nitin Mehta
Assignee: Nitin Mehta

 Populate the first class entities in the context to be available for 
 publishing more information for the event bus, checking the displayable 
 property etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6530) Populate first class entities in the context parameter

2014-04-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13983848#comment-13983848
 ] 

ASF subversion and git services commented on CLOUDSTACK-6530:
-

Commit dd55095fd5a1e3b9ea4e6f10f00e47495d7fb167 in cloudstack's branch 
refs/heads/master from [~nitinme]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=dd55095 ]

CLOUDSTACK-6530: Populate the first class entities in the context to be 
available for publishing more information for the event bus, checking the 
displayable property etc.
(cherry picked from commit 3e7ea4e8d99a92872007f11a09ab87c8ba61e1da)


 Populate first class entities in the context parameter
 --

 Key: CLOUDSTACK-6530
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6530
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Reporter: Nitin Mehta
Assignee: Nitin Mehta

 Populate the first class entities in the context to be available for 
 publishing more information for the event bus, checking the displayable 
 property etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-4371) [Performance Testing] Basic zone with 20K Hosts, management server restart leaves the hosts in disconnected state for very long time

2014-04-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984012#comment-13984012
 ] 

ASF subversion and git services commented on CLOUDSTACK-4371:
-

Commit de114f554895c24c0d25106a775f1405eac79c6d in cloudstack's branch 
refs/heads/4.4-forward from [~koushikd]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=de114f5 ]

CLOUDSTACK-4371: [Performance Testing] Basic zone with 20K Hosts, management 
server restart leaves the hosts in disconnected state for very long time
Fixed simulator code to handle local storage during host reconnect


 [Performance Testing] Basic zone with 20K Hosts, management server restart 
 leaves the hosts in disconnected state for very long time
 

 Key: CLOUDSTACK-4371
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4371
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: Basic zone, with over 20K simulator hosts
Reporter: Sowmya Krishnan
Assignee: Koushik Das
  Labels: performance
 Fix For: 4.3.0

 Attachments: agenttaskpool_334.log, ms1_restartfail.log.gz, 
 ms2_restartfail.log.gz, ms3_restartfail.log.gz


 Basic zone performance test bed:
 20K simulator hosts,
 3 Management servers
 1 host/cluster
 Local storage
 Java heap size: 12GB
 db.cloud.maxActive=2000
 direct.agent.load.size=1000
 agent.lb.enabled=true
 Deploy around 20K simulator hosts with 3 Management servers clustered
 (Not deployed any VMs yet)
 After all hosts are deployed, stop all 3 Management servers and then start 
 all 3 one after another
 Result
 =
 Hosts don't get to connected state at all even after 10 minutes. While around 
 2K of them go into alert state while rest are in disconnected state.
 mysql select count(*), status, resource_state, type, mgmt_server_id from 
 host group by mgmt_server_id, status, type, resource_state;
 +--+--++++
 | count(*) | status   | resource_state | type   | 
 mgmt_server_id |
 +--+--++++
 | 1946 | Alert| Enabled| Routing|   
 NULL |
 |18054 | Disconnected | Enabled| Routing|   
 NULL |
 |1 | Disconnected | Enabled| SecondaryStorageVM |   
 NULL |
 +--+--++++
 3 rows in set (0.11 sec)
 MS Logs show lot of storage pool exceptions while hosts try to get connected:
 2013-08-16 05:49:25,592 DEBUG [agent.transport.Request] 
 (AgentTaskPool-12:null) Seq 13-32440322: Sending  { Cmd , MgmtId: 
 206915885094132, via: 13, Ver: v1, Flags: 100011, [{com.cloud.agen
 t.api.CleanupNetworkRulesCmd:{interval:2028,wait:0}}] }
 2013-08-16 05:49:25,592 DEBUG [agent.transport.Request] 
 (AgentTaskPool-12:null) Seq 13-32440322: Executing:  { Cmd , MgmtId: 
 206915885094132, via: 13, Ver: v1, Flags: 100011, [{com.cloud.a
 gent.api.CleanupNetworkRulesCmd:{interval:2028,wait:0}}] }
 2013-08-16 05:49:25,592 DEBUG [xen.discoverer.XcpServerDiscoverer] 
 (AgentTaskPool-14:null) Not XenServer so moving on.
 2013-08-16 05:49:25,592 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentTaskPool-14:null) Sending Connect to listener: 
 DeploymentPlanningManagerImpl_EnhancerByCloudStack_76f3d8e4
 2013-08-16 05:49:25,591 DEBUG [cloud.resource.AgentResourceBase] 
 (ClusteredAgentManager Timer:null) Deserializing simulated agent on reconnect
 2013-08-16 05:49:25,594 INFO  [network.security.SecurityGroupListener] 
 (AgentTaskPool-12:null) Scheduled network rules cleanup, interval=2028
 2013-08-16 05:49:25,594 INFO  [network.security.SecurityGroupListener] 
 (AgentTaskPool-12:null) Received a host startup notification
 2013-08-16 05:49:25,595 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentTaskPool-12:null) Sending Connect to listener: StoragePoolMonitor
 ...
 ...
 2013-08-16 05:49:25,761 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentTaskPool-12:null) Sending Connect to listener: 
 ClusteredVirtualMachineManagerImpl_EnhancerByCloudStack_b5459b7b
 2013-08-16 05:49:25,764 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
 (AgentTaskPool-12:null) Found 0 VMs for host 13
 2013-08-16 05:49:25,765 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentTaskPool-12:null) Sending Connect to listener: LocalStoragePoolListener
 2013-08-16 05:49:25,768 DEBUG 
 [datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl] 
 (AgentTaskPool-12:null) createPool 

[jira] [Commented] (CLOUDSTACK-4371) [Performance Testing] Basic zone with 20K Hosts, management server restart leaves the hosts in disconnected state for very long time

2014-04-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984040#comment-13984040
 ] 

ASF subversion and git services commented on CLOUDSTACK-4371:
-

Commit 8d92d00c87b34eea77119dda64f9870b1e078a6c in cloudstack's branch 
refs/heads/master from [~koushikd]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8d92d00 ]

CLOUDSTACK-4371: [Performance Testing] Basic zone with 20K Hosts, management 
server restart leaves the hosts in disconnected state for very long time
Fixed simulator code to handle local storage during host reconnect


 [Performance Testing] Basic zone with 20K Hosts, management server restart 
 leaves the hosts in disconnected state for very long time
 

 Key: CLOUDSTACK-4371
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4371
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: Basic zone, with over 20K simulator hosts
Reporter: Sowmya Krishnan
Assignee: Koushik Das
  Labels: performance
 Fix For: 4.3.0

 Attachments: agenttaskpool_334.log, ms1_restartfail.log.gz, 
 ms2_restartfail.log.gz, ms3_restartfail.log.gz


 Basic zone performance test bed:
 20K simulator hosts,
 3 Management servers
 1 host/cluster
 Local storage
 Java heap size: 12GB
 db.cloud.maxActive=2000
 direct.agent.load.size=1000
 agent.lb.enabled=true
 Deploy around 20K simulator hosts with 3 Management servers clustered
 (Not deployed any VMs yet)
 After all hosts are deployed, stop all 3 Management servers and then start 
 all 3 one after another
 Result
 =
 Hosts don't get to connected state at all even after 10 minutes. While around 
 2K of them go into alert state while rest are in disconnected state.
 mysql select count(*), status, resource_state, type, mgmt_server_id from 
 host group by mgmt_server_id, status, type, resource_state;
 +--+--++++
 | count(*) | status   | resource_state | type   | 
 mgmt_server_id |
 +--+--++++
 | 1946 | Alert| Enabled| Routing|   
 NULL |
 |18054 | Disconnected | Enabled| Routing|   
 NULL |
 |1 | Disconnected | Enabled| SecondaryStorageVM |   
 NULL |
 +--+--++++
 3 rows in set (0.11 sec)
 MS Logs show lot of storage pool exceptions while hosts try to get connected:
 2013-08-16 05:49:25,592 DEBUG [agent.transport.Request] 
 (AgentTaskPool-12:null) Seq 13-32440322: Sending  { Cmd , MgmtId: 
 206915885094132, via: 13, Ver: v1, Flags: 100011, [{com.cloud.agen
 t.api.CleanupNetworkRulesCmd:{interval:2028,wait:0}}] }
 2013-08-16 05:49:25,592 DEBUG [agent.transport.Request] 
 (AgentTaskPool-12:null) Seq 13-32440322: Executing:  { Cmd , MgmtId: 
 206915885094132, via: 13, Ver: v1, Flags: 100011, [{com.cloud.a
 gent.api.CleanupNetworkRulesCmd:{interval:2028,wait:0}}] }
 2013-08-16 05:49:25,592 DEBUG [xen.discoverer.XcpServerDiscoverer] 
 (AgentTaskPool-14:null) Not XenServer so moving on.
 2013-08-16 05:49:25,592 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentTaskPool-14:null) Sending Connect to listener: 
 DeploymentPlanningManagerImpl_EnhancerByCloudStack_76f3d8e4
 2013-08-16 05:49:25,591 DEBUG [cloud.resource.AgentResourceBase] 
 (ClusteredAgentManager Timer:null) Deserializing simulated agent on reconnect
 2013-08-16 05:49:25,594 INFO  [network.security.SecurityGroupListener] 
 (AgentTaskPool-12:null) Scheduled network rules cleanup, interval=2028
 2013-08-16 05:49:25,594 INFO  [network.security.SecurityGroupListener] 
 (AgentTaskPool-12:null) Received a host startup notification
 2013-08-16 05:49:25,595 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentTaskPool-12:null) Sending Connect to listener: StoragePoolMonitor
 ...
 ...
 2013-08-16 05:49:25,761 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentTaskPool-12:null) Sending Connect to listener: 
 ClusteredVirtualMachineManagerImpl_EnhancerByCloudStack_b5459b7b
 2013-08-16 05:49:25,764 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
 (AgentTaskPool-12:null) Found 0 VMs for host 13
 2013-08-16 05:49:25,765 DEBUG [agent.manager.AgentManagerImpl] 
 (AgentTaskPool-12:null) Sending Connect to listener: LocalStoragePoolListener
 2013-08-16 05:49:25,768 DEBUG 
 [datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl] 
 (AgentTaskPool-12:null) createPool Params @ 

[jira] [Commented] (CLOUDSTACK-6170) Support managed storage for root disks

2014-04-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984048#comment-13984048
 ] 

ASF subversion and git services commented on CLOUDSTACK-6170:
-

Commit 934056097a638c1563f067b4236ad4c37211e9db in cloudstack's branch 
refs/heads/4.4-forward from [~mike-tutkowski]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9340560 ]

CLOUDSTACK-6170 Needed to add logic for XS 6.2 + XS62ESP1 + XS62ESP1004


 Support managed storage for root disks
 --

 Key: CLOUDSTACK-6170
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6170
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: I expect to support managed storage for root disks on 
 XenServer and ESX (KVM is targeted for 4.5).
Reporter: Mike Tutkowski
Assignee: Mike Tutkowski
 Fix For: 4.4.0


 Cloud environments have a need for guaranteed storage performance. By this I 
 mean having the ability to specify a minimum and maximum number of IOPS on a 
 volume-by-volume basis.
 I added support for this for XenServer and ESX in 4.2 for data disks.
 I added support for this for KVM in 4.3 for data disks.
 It is my intent to add support for this for XenServer and ESX in 4.4 for root 
 disks (with subsequent support for root disks on KVM expected in 4.5).
 The main changes are expected to occur in CloudStack logic that controls 
 hypervisors and additions to the way root-volume orchestration happens.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6509) Cannot import multiple LDAP/AD users into a cloudstack account

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984075#comment-13984075
 ] 

ASF subversion and git services commented on CLOUDSTACK-6509:
-

Commit 9303e7016b8c2d20c8bf7d86dcde738983552d4e in cloudstack's branch 
refs/heads/4.3 from [~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9303e70 ]

Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack 
account

Signed-off-by: Koushik Das kous...@apache.org


 Cannot import multiple LDAP/AD users into a cloudstack account
 --

 Key: CLOUDSTACK-6509
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6509
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
Reporter: Rajani Karuturi
Assignee: Rajani Karuturi
Priority: Critical
  Labels: ldap
 Fix For: 4.4.0, 4.3.1


 in the ldap add account popup, select multiple users and specify an account 
 name. 
 it fails with errror account with the name already exists.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-5674) [Automation]: Enhancements to accommodate multiple regression runs on a single CS server

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984082#comment-13984082
 ] 

ASF subversion and git services commented on CLOUDSTACK-5674:
-

Commit dcd3ce5ce03eeb0675776622e757e6e638cb433d in cloudstack's branch 
refs/heads/4.4-automation from SrikanteswaraRao Talluri
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=dcd3ce5 ]

CLOUDSTACK-5674:Fixes for BVT and Regression test failures.
Signed-off-by: SrikanteswaraRao Talluri tall...@apache.org


 [Automation]: Enhancements to accommodate multiple regression runs on a 
 single CS server
 

 Key: CLOUDSTACK-5674
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5674
 Project: CloudStack
  Issue Type: Improvement
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, marvin
Reporter: Santhosh Kumar Edukulla
Assignee: Santhosh Kumar Edukulla

 1. Currently, we will not be able to run multiple regression runs on a given 
 CS server either sequentially\parallelly reason being few hard codings done 
 at various places. 
 2. So, the idea is to run complete regression\automation test suites at one 
 stretch on a given setup post deployDC. We deploy multiple zones with 
 different hypervisor type in each zone.
 3. Tests should cut down time and run across multiple zones with different 
 hypervisor type in each zone, post deployment
 3. The fixes and new changes should incorporate to take care to run suites 
 parallelly if we wanted or sequentially for various test suites like 
 vmware,xen,kvm etc on single CS machine without disturbing\redeploying and 
 installing the new CS instance. 
 Phase1: We will make framework\marvin changes.
 Phase2: Incorporate test module changes for these.
 Adding this ticket to track these changes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6271) Integrate Deploy DB Into windows msi installer

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984144#comment-13984144
 ] 

ASF subversion and git services commented on CLOUDSTACK-6271:
-

Commit 29b4fe6d9f94739c11a368a52cf0122916b1e4d2 in cloudstack's branch 
refs/heads/master from [~damoder.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=29b4fe6 ]

CLOUDSTACK-6271: The cloud-setup-databases was failing when your jasypt jar 
path has spaces in it's path


 Integrate Deploy DB Into windows msi installer
 --

 Key: CLOUDSTACK-6271
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6271
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
Reporter: Damodar Reddy T
Assignee: Damodar Reddy T
 Fix For: 4.4.0


 Currently MSI Installer assumes that the back end DB is already created. But 
 going further deploy db should be part of installation instead of assumption. 
 of existence



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6509) Cannot import multiple LDAP/AD users into a cloudstack account

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984145#comment-13984145
 ] 

ASF subversion and git services commented on CLOUDSTACK-6509:
-

Commit 08ec6ebddaf5a5cddab2be8dfcebf75b91dafa92 in cloudstack's branch 
refs/heads/4.4-forward from [~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=08ec6eb ]

Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack 
account

Conflicts:
api/src/com/cloud/user/AccountService.java

plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java

plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java

Signed-off-by: Koushik Das kous...@apache.org


 Cannot import multiple LDAP/AD users into a cloudstack account
 --

 Key: CLOUDSTACK-6509
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6509
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
Reporter: Rajani Karuturi
Assignee: Rajani Karuturi
Priority: Critical
  Labels: ldap
 Fix For: 4.4.0, 4.3.1


 in the ldap add account popup, select multiple users and specify an account 
 name. 
 it fails with errror account with the name already exists.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6509) Cannot import multiple LDAP/AD users into a cloudstack account

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984149#comment-13984149
 ] 

ASF subversion and git services commented on CLOUDSTACK-6509:
-

Commit f4779b4d0ce9fddc80c8df91b594e3991b56af58 in cloudstack's branch 
refs/heads/master from [~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f4779b4 ]

Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack 
account

Conflicts:
api/src/com/cloud/user/AccountService.java

plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java

plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java

Signed-off-by: Koushik Das kous...@apache.org


 Cannot import multiple LDAP/AD users into a cloudstack account
 --

 Key: CLOUDSTACK-6509
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6509
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
Reporter: Rajani Karuturi
Assignee: Rajani Karuturi
Priority: Critical
  Labels: ldap
 Fix For: 4.4.0, 4.3.1


 in the ldap add account popup, select multiple users and specify an account 
 name. 
 it fails with errror account with the name already exists.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6170) Support managed storage for root disks

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984184#comment-13984184
 ] 

ASF subversion and git services commented on CLOUDSTACK-6170:
-

Commit 815e39117320d36fcf608b4dd441442727e2eaff in cloudstack's branch 
refs/heads/4.4 from [~mike-tutkowski]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=815e391 ]

CLOUDSTACK-6170 Needed to add logic for XS 6.2 + XS62ESP1 + XS62ESP1004


 Support managed storage for root disks
 --

 Key: CLOUDSTACK-6170
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6170
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: I expect to support managed storage for root disks on 
 XenServer and ESX (KVM is targeted for 4.5).
Reporter: Mike Tutkowski
Assignee: Mike Tutkowski
 Fix For: 4.4.0


 Cloud environments have a need for guaranteed storage performance. By this I 
 mean having the ability to specify a minimum and maximum number of IOPS on a 
 volume-by-volume basis.
 I added support for this for XenServer and ESX in 4.2 for data disks.
 I added support for this for KVM in 4.3 for data disks.
 It is my intent to add support for this for XenServer and ESX in 4.4 for root 
 disks (with subsequent support for root disks on KVM expected in 4.5).
 The main changes are expected to occur in CloudStack logic that controls 
 hypervisors and additions to the way root-volume orchestration happens.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6530) Populate first class entities in the context parameter

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984210#comment-13984210
 ] 

ASF subversion and git services commented on CLOUDSTACK-6530:
-

Commit 8eb903ba487902b25a889a2003b291af4cfb154c in cloudstack's branch 
refs/heads/4.4 from [~nitinme]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8eb903b ]

CLOUDSTACK-6530: Populate the first class entities in the context to be 
available for publishing more information for the event bus, checking the 
displayable property etc.


 Populate first class entities in the context parameter
 --

 Key: CLOUDSTACK-6530
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6530
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Reporter: Nitin Mehta
Assignee: Nitin Mehta

 Populate the first class entities in the context to be available for 
 publishing more information for the event bus, checking the displayable 
 property etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6509) Cannot import multiple LDAP/AD users into a cloudstack account

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984214#comment-13984214
 ] 

ASF subversion and git services commented on CLOUDSTACK-6509:
-

Commit 69e550f5ea0ea1b85adcce6366d97cffa0276e73 in cloudstack's branch 
refs/heads/4.4 from [~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=69e550f ]

Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack 
account

Conflicts:
api/src/com/cloud/user/AccountService.java

plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java

plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java

Signed-off-by: Koushik Das kous...@apache.org


 Cannot import multiple LDAP/AD users into a cloudstack account
 --

 Key: CLOUDSTACK-6509
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6509
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
Reporter: Rajani Karuturi
Assignee: Rajani Karuturi
Priority: Critical
  Labels: ldap
 Fix For: 4.4.0, 4.3.1


 in the ldap add account popup, select multiple users and specify an account 
 name. 
 it fails with errror account with the name already exists.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6533) IAM - Templates - Public templates do not have permissions to be used by ROOT group.

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13984665#comment-13984665
 ] 

ASF subversion and git services commented on CLOUDSTACK-6533:
-

Commit b2b59ed83a566762c960371717b7998b4719ba70 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b2b59ed ]

CLOUDSTACK-6533: IAM - Templates - Public templates do not have
permissions to be used by ROOT group.


 IAM - Templates - Public templates do not have permissions to be used by ROOT 
 group.
 

 Key: CLOUDSTACK-6533
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6533
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - Public templates do not have permissions to be used by ROOT 
 group.
 As regular user create a public template.
 In iam_policy_permission policy we do not have permission for Admin group.
 mysql  select * from iam_policy_permission where scope_id = 206;
 +--+---+---++--+--+-++---+-+-+
 | id   | policy_id | action| resource_type  | scope_id | 
 scope| access_type | permission | recursive | removed | created   
   |
 +--+---+---++--+--+-++---+-+-+
 | 4949 | 3 | listTemplates | VirtualMachineTemplate |  206 | 
 RESOURCE | UseEntry| Allow  | 0 | NULL| 2014-04-29 
 11:03:52 |
 | 4950 | 1 | listTemplates | VirtualMachineTemplate |  206 | 
 RESOURCE | UseEntry| Allow  | 0 | NULL| 2014-04-29 
 11:03:52 |
 mysql select * from vm_template where id=206;
 +-+--++--++--+--+-+--+-++-+-++--+-+-+---+-+--+-+-+-+-++--+--+-++--+-+--+
 | id  | unique_name  | name   
 | uuid | public | featured | type | hvm | 
 bits | url | format | created | 
 removed | account_id | checksum | display_text| 
 enable_password | enable_sshkey | guest_os_id | bootable | prepopulate | 
 cross_zones | extractable | hypervisor_type | source_template_id | 
 template_tag | sort_key | size| state  | update_count | updated | 
 dynamically_scalable |
 +-+--++--++--+--+-+--+-++-+-++--+-+-+---+-+--+-+-+-+-++--+--+-++--+-+--+
 | 206 | 206-318-179129bc-531f-31fe-a21d-23a8aa7b666f | 
 Public_featured_d2a-G3GJQW | 265192c9-88d3-41d4-b435-6d3c3e5d256a |  1 |  
   1 | USER |   1 |   64 | http://10.223.110.232:/test.vhd | VHD| 
 2014-04-29 11:03:52 | NULL|318 | NULL | public and feature 
 Template |   0 | 0 |  12 |1 | 
   0 |   0 |   1 | Simulator   |   NULL | NULL 
 |0 | 5242880 | Active |0 | NULL|  
   0 |
 

[jira] [Commented] (CLOUDSTACK-6532) Affinity Groups - As admin user, not able to list all affinity groups available for regular users by passing account and domainId paramater.

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985023#comment-13985023
 ] 

ASF subversion and git services commented on CLOUDSTACK-6532:
-

Commit 0767060b1f4cf96db721bd625971345fbda4c48c in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0767060 ]

CLOUDSTACK-6532:Affinity Groups - As admin user, not able to list all
affinity groups available for regular users by passing account and
domainId paramater. This is to revert IAM way of implementing
listAffinityGroupsCmd, will bring it back when we have implemented real
impersonation.

 Affinity Groups - As admin user, not able to list all affinity groups 
 available for regular users by passing account and domainId paramater.
 

 Key: CLOUDSTACK-6532
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6532
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 Create an anti-affinity group as regular user.
 As admin user, try to list all affinity groups available for regular users by 
 passing account and domainId parameter.
 http://10.223.49.6:8080/client/api?command=listAffinityGroupsresponse=jsonsessionkey=okCw58hoD%2BrUSZ9NO5LKHz6ie9U%3D_=1398792364257account=testD1A-TestVMList-U27DEVdomainId=71dcc0ac-c230-4e96-97ad-6e4f3ddc53cf
 No affinity group is listed.
 As regular user:
 { listaffinitygroupsresponse : { count:1 ,affinitygroup : [  
 {id:bee9a7c5-3124-46b6-b258-893c8c9cc244,name:test-123,description:test-123,account:testD1A-TestVMList-U27DEV,domainid:71dcc0ac-c230-4e96-97ad-6e4f3ddc53cf,domain:D1-19BDAN,type:host
  anti-affinity} ] } }



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6513) IAM - Templates - When templates are listed with templatefilter=shared is used , we see public templates also being included in the list.

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985049#comment-13985049
 ] 

ASF subversion and git services commented on CLOUDSTACK-6513:
-

Commit 7309146f9f3f57b7f7cad40945e11e34a6ff6fab in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7309146 ]

CLOUDSTACK-6513: Optimize code by removing deprecated utility to
QueryManagerImpl as private method just used for listTemplates and
listAffinityGroups to avoid misuse by new list APIs.

 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 ---

 Key: CLOUDSTACK-6513
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6513
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 Steps to reproduce the problem:
 As user1 , Create a private template and a public template.
 Grant access to the private template for user2 using 
 updateTemplatePermissions.
 As user2 , list templates with templatefilter=shared. This returns both 
 public and the the shared template.
 GET 
 http://10.223.49.6/client/api?command=listTemplatespagesize=100page=1listAll=truetemplatefilter=sharedapiKey=SrgUY-U-nUl4qsOyn409kCjA2jC7dR5ReIV9SjdnmzLOn3c0Fm-vZbDSpkldUjuqLAXt5ShodtXYOgRB5NCnJQsignature=WBO8ll9nyjiB29aVq%2FpUsEQrthM%3D
  \n\n
 ?xml version=1.0 encoding=UTF-8?listtemplatesresponse 
 cloud-stack-version=4.4.0-SNAPSHOTcount6/counttemplateida2065bcc-7139-46b0-ac15-db7d3ff7dd75/idnamePublic_featured_d1a-TP7TPK/namedisplaytextpublic
  and feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateidce1635dc-1fcb-4f60-8d2f-d1129a3771ce/idnamePublic_not_featured_d2a-NPYFSN/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD2/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD2/domaindomainid18222e53-7221-4d6f-9a76-8f59869f24b2/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateid223e0c09-e18e-4188-9d8e-7ff2e2305547/idnamePrivate_featured_d1-E9PQHO/namedisplaytextprivate
  and featured 
 Template/displaytextispublicfalse/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateida7b69a5e-4cb3-45fa-b3e7-dab3a6b73e45/idnamePublic_not_featured_d1a-XOCR05/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 

[jira] [Commented] (CLOUDSTACK-6513) IAM - Templates - When templates are listed with templatefilter=shared is used , we see public templates also being included in the list.

2014-04-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985071#comment-13985071
 ] 

ASF subversion and git services commented on CLOUDSTACK-6513:
-

Commit 3af2f6d1418c66533067b5050d2fe3fd4200beb9 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3af2f6d ]

CLOUDSTACK-6513: templateFilter=shared should not show self-owned
template.

 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 ---

 Key: CLOUDSTACK-6513
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6513
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 Steps to reproduce the problem:
 As user1 , Create a private template and a public template.
 Grant access to the private template for user2 using 
 updateTemplatePermissions.
 As user2 , list templates with templatefilter=shared. This returns both 
 public and the the shared template.
 GET 
 http://10.223.49.6/client/api?command=listTemplatespagesize=100page=1listAll=truetemplatefilter=sharedapiKey=SrgUY-U-nUl4qsOyn409kCjA2jC7dR5ReIV9SjdnmzLOn3c0Fm-vZbDSpkldUjuqLAXt5ShodtXYOgRB5NCnJQsignature=WBO8ll9nyjiB29aVq%2FpUsEQrthM%3D
  \n\n
 ?xml version=1.0 encoding=UTF-8?listtemplatesresponse 
 cloud-stack-version=4.4.0-SNAPSHOTcount6/counttemplateida2065bcc-7139-46b0-ac15-db7d3ff7dd75/idnamePublic_featured_d1a-TP7TPK/namedisplaytextpublic
  and feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateidce1635dc-1fcb-4f60-8d2f-d1129a3771ce/idnamePublic_not_featured_d2a-NPYFSN/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD2/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD2/domaindomainid18222e53-7221-4d6f-9a76-8f59869f24b2/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateid223e0c09-e18e-4188-9d8e-7ff2e2305547/idnamePrivate_featured_d1-E9PQHO/namedisplaytextprivate
  and featured 
 Template/displaytextispublicfalse/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateida7b69a5e-4cb3-45fa-b3e7-dab3a6b73e45/idnamePublic_not_featured_d1a-XOCR05/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 

[jira] [Commented] (CLOUDSTACK-6389) test__01_nic requires advanced zone but it tagged as basic test case

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985270#comment-13985270
 ] 

ASF subversion and git services commented on CLOUDSTACK-6389:
-

Commit cfa783fef27f64ebdd42f66c59445cb37c9a9764 in cloudstack's branch 
refs/heads/4.4-automation from [~santhoshe]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=cfa783f ]

Added fix for CLOUDSTACK-6389

Added changes for CLOUDSTACK-6389.
More details in the bug.

Signed-off-by: Santhosh Edukulla santhosh.eduku...@citrix.com
Signed-off-by: SrikanteswaraRao Talluri tall...@apache.org


 test__01_nic requires advanced zone but it tagged as basic test case
 

 Key: CLOUDSTACK-6389
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6389
 Project: CloudStack
  Issue Type: Test
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Reporter: Chethan Krishnappa
Assignee: Santhosh Kumar Edukulla

 test_nic.py which is under smoke tests is tagged as basic mode test but test 
 runs only if the zone is advanced.
 if zone.networktype != 'Advanced':
 self.skipTest(Cannot run this test with a basic zone, please 
 use advanced!)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6389) test__01_nic requires advanced zone but it tagged as basic test case

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985269#comment-13985269
 ] 

ASF subversion and git services commented on CLOUDSTACK-6389:
-

Commit cfa783fef27f64ebdd42f66c59445cb37c9a9764 in cloudstack's branch 
refs/heads/4.4-automation from [~santhoshe]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=cfa783f ]

Added fix for CLOUDSTACK-6389

Added changes for CLOUDSTACK-6389.
More details in the bug.

Signed-off-by: Santhosh Edukulla santhosh.eduku...@citrix.com
Signed-off-by: SrikanteswaraRao Talluri tall...@apache.org


 test__01_nic requires advanced zone but it tagged as basic test case
 

 Key: CLOUDSTACK-6389
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6389
 Project: CloudStack
  Issue Type: Test
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Reporter: Chethan Krishnappa
Assignee: Santhosh Kumar Edukulla

 test_nic.py which is under smoke tests is tagged as basic mode test but test 
 runs only if the zone is advanced.
 if zone.networktype != 'Advanced':
 self.skipTest(Cannot run this test with a basic zone, please 
 use advanced!)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6389) test__01_nic requires advanced zone but it tagged as basic test case

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985273#comment-13985273
 ] 

ASF subversion and git services commented on CLOUDSTACK-6389:
-

Commit 6c9b21907c2600f320d2afc2fb7273fae73b7ba1 in cloudstack's branch 
refs/heads/master from [~santhoshe]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6c9b219 ]

Added fix for CLOUDSTACK-6389

Added changes for CLOUDSTACK-6389.
More details in the bug.

Signed-off-by: Santhosh Edukulla santhosh.eduku...@citrix.com
Signed-off-by: SrikanteswaraRao Talluri tall...@apache.org


 test__01_nic requires advanced zone but it tagged as basic test case
 

 Key: CLOUDSTACK-6389
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6389
 Project: CloudStack
  Issue Type: Test
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Reporter: Chethan Krishnappa
Assignee: Santhosh Kumar Edukulla

 test_nic.py which is under smoke tests is tagged as basic mode test but test 
 runs only if the zone is advanced.
 if zone.networktype != 'Advanced':
 self.skipTest(Cannot run this test with a basic zone, please 
 use advanced!)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6389) test__01_nic requires advanced zone but it tagged as basic test case

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985272#comment-13985272
 ] 

ASF subversion and git services commented on CLOUDSTACK-6389:
-

Commit 6c9b21907c2600f320d2afc2fb7273fae73b7ba1 in cloudstack's branch 
refs/heads/master from [~santhoshe]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6c9b219 ]

Added fix for CLOUDSTACK-6389

Added changes for CLOUDSTACK-6389.
More details in the bug.

Signed-off-by: Santhosh Edukulla santhosh.eduku...@citrix.com
Signed-off-by: SrikanteswaraRao Talluri tall...@apache.org


 test__01_nic requires advanced zone but it tagged as basic test case
 

 Key: CLOUDSTACK-6389
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6389
 Project: CloudStack
  Issue Type: Test
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Reporter: Chethan Krishnappa
Assignee: Santhosh Kumar Edukulla

 test_nic.py which is under smoke tests is tagged as basic mode test but test 
 runs only if the zone is advanced.
 if zone.networktype != 'Advanced':
 self.skipTest(Cannot run this test with a basic zone, please 
 use advanced!)



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6512) IAM - Not able to list shared networks in the Vm deployment flow.

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985281#comment-13985281
 ] 

ASF subversion and git services commented on CLOUDSTACK-6512:
-

Commit 2f35ef2f9ba5504d6bf0ee0c4e328f2f3c85b7fd in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2f35ef2 ]

CLOUDSTACK-6512:IAM - Not able to list shared networks in the Vm
deployment flow. This commit is to revert
ec5ee761d98c67c7da2ea70b623d4a9f3da966b5 to still use old logic for
listNetworks to keep old behavior instead of new IAM model.


 IAM - Not able to list shared networks in the Vm deployment flow.
 -

 Key: CLOUDSTACK-6512
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6512
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4.
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Not able to list shared networks in the Vm deployment flow.
 Steps to reproduce the problem:
 Create a shared network that is domain specific / account specific.
 Log in as the account which should have access to this shared network.
 Using UI , try to deploy a VM using this shared network.
 shared network is not displayed in the list of networks.
 This is the call made by UI:
 http://10.223.49.6:8080/client/api?command=listNetworksresponse=jsonsessionkey=Enn1TgriYaANFQ%2BDKJR7T2Jc9l0%3DzoneId=fdd0ce43-41b8-49ef-9e59-70ead27bda4ccanusefordeploy=truedomainid=a59a0ce2-b5aa-4460-ade8-91d26e048bc4account=testD1_=1398446574911
  
 When Networks are listed using the network tab , then we see the shared 
 network being listed.
 Following API call without the domainid and account paramater is able to 
 return the shared network.
 http://10.223.49.6:8080/client/api?command=listNetworksresponse=jsonsessionkey=Enn1TgriYaANFQ%2BDKJR7T2Jc9l0%3DlistAll=truepage=1pagesize=20_=1398446422647



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6533) IAM - Templates - Public templates do not have permissions to be used by ROOT group.

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985283#comment-13985283
 ] 

ASF subversion and git services commented on CLOUDSTACK-6533:
-

Commit 504bd0377d8053a911f9823e06ce288af057446b in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=504bd03 ]

CLOUDSTACK-6533: IAM - Templates - Public templates do not have
permissions to be used by ROOT group.


 IAM - Templates - Public templates do not have permissions to be used by ROOT 
 group.
 

 Key: CLOUDSTACK-6533
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6533
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - Public templates do not have permissions to be used by ROOT 
 group.
 As regular user create a public template.
 In iam_policy_permission policy we do not have permission for Admin group.
 mysql  select * from iam_policy_permission where scope_id = 206;
 +--+---+---++--+--+-++---+-+-+
 | id   | policy_id | action| resource_type  | scope_id | 
 scope| access_type | permission | recursive | removed | created   
   |
 +--+---+---++--+--+-++---+-+-+
 | 4949 | 3 | listTemplates | VirtualMachineTemplate |  206 | 
 RESOURCE | UseEntry| Allow  | 0 | NULL| 2014-04-29 
 11:03:52 |
 | 4950 | 1 | listTemplates | VirtualMachineTemplate |  206 | 
 RESOURCE | UseEntry| Allow  | 0 | NULL| 2014-04-29 
 11:03:52 |
 mysql select * from vm_template where id=206;
 +-+--++--++--+--+-+--+-++-+-++--+-+-+---+-+--+-+-+-+-++--+--+-++--+-+--+
 | id  | unique_name  | name   
 | uuid | public | featured | type | hvm | 
 bits | url | format | created | 
 removed | account_id | checksum | display_text| 
 enable_password | enable_sshkey | guest_os_id | bootable | prepopulate | 
 cross_zones | extractable | hypervisor_type | source_template_id | 
 template_tag | sort_key | size| state  | update_count | updated | 
 dynamically_scalable |
 +-+--++--++--+--+-+--+-++-+-++--+-+-+---+-+--+-+-+-+-++--+--+-++--+-+--+
 | 206 | 206-318-179129bc-531f-31fe-a21d-23a8aa7b666f | 
 Public_featured_d2a-G3GJQW | 265192c9-88d3-41d4-b435-6d3c3e5d256a |  1 |  
   1 | USER |   1 |   64 | http://10.223.110.232:/test.vhd | VHD| 
 2014-04-29 11:03:52 | NULL|318 | NULL | public and feature 
 Template |   0 | 0 |  12 |1 | 
   0 |   0 |   1 | Simulator   |   NULL | NULL 
 |0 | 5242880 | Active |0 | NULL|  
   0 |
 

[jira] [Commented] (CLOUDSTACK-6513) IAM - Templates - When templates are listed with templatefilter=shared is used , we see public templates also being included in the list.

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985282#comment-13985282
 ] 

ASF subversion and git services commented on CLOUDSTACK-6513:
-

Commit 4ca65496c2605eb2264d0acc7a43c2c539a3d9b0 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4ca6549 ]

CLOUDSTACK-6513: IAM - Templates - When templates are listed with
templatefilter=shared is used , we see public templates also being
included in the list. This commit reverts listTemplates behavior to 4.3
old logic without using consistent interpretation of list parameters
adopted in new IAM model.


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 ---

 Key: CLOUDSTACK-6513
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6513
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 Steps to reproduce the problem:
 As user1 , Create a private template and a public template.
 Grant access to the private template for user2 using 
 updateTemplatePermissions.
 As user2 , list templates with templatefilter=shared. This returns both 
 public and the the shared template.
 GET 
 http://10.223.49.6/client/api?command=listTemplatespagesize=100page=1listAll=truetemplatefilter=sharedapiKey=SrgUY-U-nUl4qsOyn409kCjA2jC7dR5ReIV9SjdnmzLOn3c0Fm-vZbDSpkldUjuqLAXt5ShodtXYOgRB5NCnJQsignature=WBO8ll9nyjiB29aVq%2FpUsEQrthM%3D
  \n\n
 ?xml version=1.0 encoding=UTF-8?listtemplatesresponse 
 cloud-stack-version=4.4.0-SNAPSHOTcount6/counttemplateida2065bcc-7139-46b0-ac15-db7d3ff7dd75/idnamePublic_featured_d1a-TP7TPK/namedisplaytextpublic
  and feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateidce1635dc-1fcb-4f60-8d2f-d1129a3771ce/idnamePublic_not_featured_d2a-NPYFSN/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD2/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD2/domaindomainid18222e53-7221-4d6f-9a76-8f59869f24b2/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateid223e0c09-e18e-4188-9d8e-7ff2e2305547/idnamePrivate_featured_d1-E9PQHO/namedisplaytextprivate
  and featured 
 Template/displaytextispublicfalse/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateida7b69a5e-4cb3-45fa-b3e7-dab3a6b73e45/idnamePublic_not_featured_d1a-XOCR05/namedisplaytextpublic
  and not feature 
 

[jira] [Commented] (CLOUDSTACK-6513) IAM - Templates - When templates are listed with templatefilter=shared is used , we see public templates also being included in the list.

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985285#comment-13985285
 ] 

ASF subversion and git services commented on CLOUDSTACK-6513:
-

Commit 683c242ed343c56483768849c97b0398e407605a in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=683c242 ]

CLOUDSTACK-6513: Optimize code by removing deprecated utility to
QueryManagerImpl as private method just used for listTemplates and
listAffinityGroups to avoid misuse by new list APIs.


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 ---

 Key: CLOUDSTACK-6513
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6513
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 Steps to reproduce the problem:
 As user1 , Create a private template and a public template.
 Grant access to the private template for user2 using 
 updateTemplatePermissions.
 As user2 , list templates with templatefilter=shared. This returns both 
 public and the the shared template.
 GET 
 http://10.223.49.6/client/api?command=listTemplatespagesize=100page=1listAll=truetemplatefilter=sharedapiKey=SrgUY-U-nUl4qsOyn409kCjA2jC7dR5ReIV9SjdnmzLOn3c0Fm-vZbDSpkldUjuqLAXt5ShodtXYOgRB5NCnJQsignature=WBO8ll9nyjiB29aVq%2FpUsEQrthM%3D
  \n\n
 ?xml version=1.0 encoding=UTF-8?listtemplatesresponse 
 cloud-stack-version=4.4.0-SNAPSHOTcount6/counttemplateida2065bcc-7139-46b0-ac15-db7d3ff7dd75/idnamePublic_featured_d1a-TP7TPK/namedisplaytextpublic
  and feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateidce1635dc-1fcb-4f60-8d2f-d1129a3771ce/idnamePublic_not_featured_d2a-NPYFSN/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD2/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD2/domaindomainid18222e53-7221-4d6f-9a76-8f59869f24b2/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateid223e0c09-e18e-4188-9d8e-7ff2e2305547/idnamePrivate_featured_d1-E9PQHO/namedisplaytextprivate
  and featured 
 Template/displaytextispublicfalse/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateida7b69a5e-4cb3-45fa-b3e7-dab3a6b73e45/idnamePublic_not_featured_d1a-XOCR05/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 

[jira] [Commented] (CLOUDSTACK-6532) Affinity Groups - As admin user, not able to list all affinity groups available for regular users by passing account and domainId paramater.

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985284#comment-13985284
 ] 

ASF subversion and git services commented on CLOUDSTACK-6532:
-

Commit 4f9b298817386d9eff8677e3c168f1dfdc7f6aeb in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4f9b298 ]

CLOUDSTACK-6532:Affinity Groups - As admin user, not able to list all
affinity groups available for regular users by passing account and
domainId paramater. This is to revert IAM way of implementing
listAffinityGroupsCmd, will bring it back when we have implemented real
impersonation.


 Affinity Groups - As admin user, not able to list all affinity groups 
 available for regular users by passing account and domainId paramater.
 

 Key: CLOUDSTACK-6532
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6532
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 Create an anti-affinity group as regular user.
 As admin user, try to list all affinity groups available for regular users by 
 passing account and domainId parameter.
 http://10.223.49.6:8080/client/api?command=listAffinityGroupsresponse=jsonsessionkey=okCw58hoD%2BrUSZ9NO5LKHz6ie9U%3D_=1398792364257account=testD1A-TestVMList-U27DEVdomainId=71dcc0ac-c230-4e96-97ad-6e4f3ddc53cf
 No affinity group is listed.
 As regular user:
 { listaffinitygroupsresponse : { count:1 ,affinitygroup : [  
 {id:bee9a7c5-3124-46b6-b258-893c8c9cc244,name:test-123,description:test-123,account:testD1A-TestVMList-U27DEV,domainid:71dcc0ac-c230-4e96-97ad-6e4f3ddc53cf,domain:D1-19BDAN,type:host
  anti-affinity} ] } }



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6231) Cloudstack createNetworkACL cuts cidrlist at 256 characters

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985437#comment-13985437
 ] 

ASF subversion and git services commented on CLOUDSTACK-6231:
-

Commit 2239eb4b173d1870af83174e646355be0e737c5c in cloudstack's branch 
refs/heads/4.4 from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2239eb4 ]

CLOUDSTACK-6231: network acl item cidrs loaded from a seperate table


 Cloudstack createNetworkACL cuts cidrlist at 256 characters
 ---

 Key: CLOUDSTACK-6231
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6231
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.2.0, 4.3.0, 4.4.0
Reporter: Daan Hoogland
Assignee: Daan Hoogland
 Fix For: 4.4.0


 [2014-03-11T11:18:54+01:00] INFO: Creating acl on network SBP_VPC_MGT1_APP1: 
 10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.10/32,10.75.14.214/32,10.75.15.86/32,10.75.16.101/32,10.75.16.105/32,10.75.16.114/32,10.75.16.124/32,10.75.16.67/32,10.75.16.80/32,10.75.16.88/32,10.75.16.93/32,10.75.16.97/32,10.75.17.113/32,10.75.17.124/32,10.75.17.73/32,10.75.17.84/32,10.75.17.87/32,10.75.17.92/32,10.75.18.168/32,10.75.18.20/32,10.75.2.11/32,10.75.2.112/32,10.75.2.114/32,10.75.2.116/32,10.75.2.123/32,10.75.2.14/32,10.75.2.35/32,10.75.2.61/32,10.75.2.79/32,10.75.2.83/32,10.75.21.12/32,10.75.22.187/32,10.75.23.4/32,10.75.24.29/32,10.75.25.114/32,10.75.25.9/32,10.75.26.20/32,10.75.26.27/32,10.75.26.28/32,10.75.27.11/32,10.75.27.17/32,10.75.27.23/32,10.75.28.159/32,10.75.29.109/32,10.75.3.32/32,10.75.30.71/32,10.75.31.3/32,10.75.32.57/32,10.75.33.15/32,10.75.34.46/32,10.75.35.113/32,10.75.35.33/32,10.75.35.80/32,10.75.36.70/32,10.75.38.4/32,10.75.39.6/32,10.75.4.118/32,10.75.4.23/32,10.75.40.49/32,10.75.40.72/32,10.75.41.57/32,10.75.41.75/32,10.75.42.102/32,10.75.42.2/32,10.75.43.126/32,10.75.43.28/32,10.75.44.2/32,10.75.45.9/32,10.75.47.111/32,10.75.47.29/32,10.75.47.35/32,10.75.6.6/32,192.168.0.208/32,192.168.0.30/32
  tcp 514/514 Ingress [2014-03-11T11:18:54+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:55+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:56+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:57+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:58+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:59+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:19:00+01:00] INFO: Job e71b6c83-a482-4765-9024-2ee9d146baa1 
 done, result: {networkacl={id=5f226473-8798-4336-a68d-b38a3f7a41a0, 
 protocol=tcp, startport=514, endport=514, 
 traffictype=Ingress, state=Active, 
 cidrlist=10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.1,
  tags=[], aclid=482f3740-7eda-11e3-aa74-005056b95463, number=93, 
 action=Allow}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6231) Cloudstack createNetworkACL cuts cidrlist at 256 characters

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985438#comment-13985438
 ] 

ASF subversion and git services commented on CLOUDSTACK-6231:
-

Commit 3852afa717dc147ef9dc19d7b3801c341f321e77 in cloudstack's branch 
refs/heads/4.4-forward from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3852afa ]

CLOUDSTACK-6231: network acl item cidrs loaded from a seperate table


 Cloudstack createNetworkACL cuts cidrlist at 256 characters
 ---

 Key: CLOUDSTACK-6231
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6231
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.2.0, 4.3.0, 4.4.0
Reporter: Daan Hoogland
Assignee: Daan Hoogland
 Fix For: 4.4.0


 [2014-03-11T11:18:54+01:00] INFO: Creating acl on network SBP_VPC_MGT1_APP1: 
 10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.10/32,10.75.14.214/32,10.75.15.86/32,10.75.16.101/32,10.75.16.105/32,10.75.16.114/32,10.75.16.124/32,10.75.16.67/32,10.75.16.80/32,10.75.16.88/32,10.75.16.93/32,10.75.16.97/32,10.75.17.113/32,10.75.17.124/32,10.75.17.73/32,10.75.17.84/32,10.75.17.87/32,10.75.17.92/32,10.75.18.168/32,10.75.18.20/32,10.75.2.11/32,10.75.2.112/32,10.75.2.114/32,10.75.2.116/32,10.75.2.123/32,10.75.2.14/32,10.75.2.35/32,10.75.2.61/32,10.75.2.79/32,10.75.2.83/32,10.75.21.12/32,10.75.22.187/32,10.75.23.4/32,10.75.24.29/32,10.75.25.114/32,10.75.25.9/32,10.75.26.20/32,10.75.26.27/32,10.75.26.28/32,10.75.27.11/32,10.75.27.17/32,10.75.27.23/32,10.75.28.159/32,10.75.29.109/32,10.75.3.32/32,10.75.30.71/32,10.75.31.3/32,10.75.32.57/32,10.75.33.15/32,10.75.34.46/32,10.75.35.113/32,10.75.35.33/32,10.75.35.80/32,10.75.36.70/32,10.75.38.4/32,10.75.39.6/32,10.75.4.118/32,10.75.4.23/32,10.75.40.49/32,10.75.40.72/32,10.75.41.57/32,10.75.41.75/32,10.75.42.102/32,10.75.42.2/32,10.75.43.126/32,10.75.43.28/32,10.75.44.2/32,10.75.45.9/32,10.75.47.111/32,10.75.47.29/32,10.75.47.35/32,10.75.6.6/32,192.168.0.208/32,192.168.0.30/32
  tcp 514/514 Ingress [2014-03-11T11:18:54+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:55+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:56+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:57+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:58+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:59+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:19:00+01:00] INFO: Job e71b6c83-a482-4765-9024-2ee9d146baa1 
 done, result: {networkacl={id=5f226473-8798-4336-a68d-b38a3f7a41a0, 
 protocol=tcp, startport=514, endport=514, 
 traffictype=Ingress, state=Active, 
 cidrlist=10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.1,
  tags=[], aclid=482f3740-7eda-11e3-aa74-005056b95463, number=93, 
 action=Allow}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6231) Cloudstack createNetworkACL cuts cidrlist at 256 characters

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985511#comment-13985511
 ] 

ASF subversion and git services commented on CLOUDSTACK-6231:
-

Commit 6b0c34faeecad0e1c19181835130e7b91d2783ee in cloudstack's branch 
refs/heads/master from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6b0c34f ]

CLOUDSTACK-6231: network acl item cidrs loaded from a seperate table

Conflicts:
setup/db/db/schema-430to440.sql


 Cloudstack createNetworkACL cuts cidrlist at 256 characters
 ---

 Key: CLOUDSTACK-6231
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6231
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.2.0, 4.3.0, 4.4.0
Reporter: Daan Hoogland
Assignee: Daan Hoogland
 Fix For: 4.4.0


 [2014-03-11T11:18:54+01:00] INFO: Creating acl on network SBP_VPC_MGT1_APP1: 
 10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.10/32,10.75.14.214/32,10.75.15.86/32,10.75.16.101/32,10.75.16.105/32,10.75.16.114/32,10.75.16.124/32,10.75.16.67/32,10.75.16.80/32,10.75.16.88/32,10.75.16.93/32,10.75.16.97/32,10.75.17.113/32,10.75.17.124/32,10.75.17.73/32,10.75.17.84/32,10.75.17.87/32,10.75.17.92/32,10.75.18.168/32,10.75.18.20/32,10.75.2.11/32,10.75.2.112/32,10.75.2.114/32,10.75.2.116/32,10.75.2.123/32,10.75.2.14/32,10.75.2.35/32,10.75.2.61/32,10.75.2.79/32,10.75.2.83/32,10.75.21.12/32,10.75.22.187/32,10.75.23.4/32,10.75.24.29/32,10.75.25.114/32,10.75.25.9/32,10.75.26.20/32,10.75.26.27/32,10.75.26.28/32,10.75.27.11/32,10.75.27.17/32,10.75.27.23/32,10.75.28.159/32,10.75.29.109/32,10.75.3.32/32,10.75.30.71/32,10.75.31.3/32,10.75.32.57/32,10.75.33.15/32,10.75.34.46/32,10.75.35.113/32,10.75.35.33/32,10.75.35.80/32,10.75.36.70/32,10.75.38.4/32,10.75.39.6/32,10.75.4.118/32,10.75.4.23/32,10.75.40.49/32,10.75.40.72/32,10.75.41.57/32,10.75.41.75/32,10.75.42.102/32,10.75.42.2/32,10.75.43.126/32,10.75.43.28/32,10.75.44.2/32,10.75.45.9/32,10.75.47.111/32,10.75.47.29/32,10.75.47.35/32,10.75.6.6/32,192.168.0.208/32,192.168.0.30/32
  tcp 514/514 Ingress [2014-03-11T11:18:54+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:55+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:56+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:57+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:58+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:59+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:19:00+01:00] INFO: Job e71b6c83-a482-4765-9024-2ee9d146baa1 
 done, result: {networkacl={id=5f226473-8798-4336-a68d-b38a3f7a41a0, 
 protocol=tcp, startport=514, endport=514, 
 traffictype=Ingress, state=Active, 
 cidrlist=10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.1,
  tags=[], aclid=482f3740-7eda-11e3-aa74-005056b95463, number=93, 
 action=Allow}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6513) IAM - Templates - When templates are listed with templatefilter=shared is used , we see public templates also being included in the list.

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985749#comment-13985749
 ] 

ASF subversion and git services commented on CLOUDSTACK-6513:
-

Commit 412793f9b41bb03eda2b8474f9f22a12b5097327 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=412793f ]

CLOUDSTACK-6513: remove commented code.

 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 ---

 Key: CLOUDSTACK-6513
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6513
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 Steps to reproduce the problem:
 As user1 , Create a private template and a public template.
 Grant access to the private template for user2 using 
 updateTemplatePermissions.
 As user2 , list templates with templatefilter=shared. This returns both 
 public and the the shared template.
 GET 
 http://10.223.49.6/client/api?command=listTemplatespagesize=100page=1listAll=truetemplatefilter=sharedapiKey=SrgUY-U-nUl4qsOyn409kCjA2jC7dR5ReIV9SjdnmzLOn3c0Fm-vZbDSpkldUjuqLAXt5ShodtXYOgRB5NCnJQsignature=WBO8ll9nyjiB29aVq%2FpUsEQrthM%3D
  \n\n
 ?xml version=1.0 encoding=UTF-8?listtemplatesresponse 
 cloud-stack-version=4.4.0-SNAPSHOTcount6/counttemplateida2065bcc-7139-46b0-ac15-db7d3ff7dd75/idnamePublic_featured_d1a-TP7TPK/namedisplaytextpublic
  and feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateidce1635dc-1fcb-4f60-8d2f-d1129a3771ce/idnamePublic_not_featured_d2a-NPYFSN/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD2/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD2/domaindomainid18222e53-7221-4d6f-9a76-8f59869f24b2/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateid223e0c09-e18e-4188-9d8e-7ff2e2305547/idnamePrivate_featured_d1-E9PQHO/namedisplaytextprivate
  and featured 
 Template/displaytextispublicfalse/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateida7b69a5e-4cb3-45fa-b3e7-dab3a6b73e45/idnamePublic_not_featured_d1a-XOCR05/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 

[jira] [Commented] (CLOUDSTACK-6502) IAMGroup.list and IAMPolicy.list in marvin base.py are not working.

2014-04-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13985775#comment-13985775
 ] 

ASF subversion and git services commented on CLOUDSTACK-6502:
-

Commit 42b803dd4b6e01107cbcf08d87f17c47934e8ae7 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=42b803d ]

CLOUDSTACK-6502:Remove trailing whitespaces.

 IAMGroup.list and IAMPolicy.list in marvin base.py are not working.
 ---

 Key: CLOUDSTACK-6502
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6502
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Affects Versions: 4.4.0
Reporter: Min Chen
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAMGroup.list and IAMPolicy.list in marvin base.py library have typo bugs, 
 which blocks folks from writing IAM group and policy list related automation 
 test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6517) IAM - Admin is allowed to create PortFowarding rule for a regular user, when admin does not have UseEntry permission for IpAddress.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986401#comment-13986401
 ] 

ASF subversion and git services commented on CLOUDSTACK-6517:
-

Commit c32b7ab7c8e73a3422ff31d754c28c8997a9a84c in cloudstack's branch 
refs/heads/4.4 from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c32b7ab ]

CLOUDSTACK-6517: IAM - Admin is allowed to create PortFowarding rule for a 
regular user, when admin does not have  UseEntry permission for IpAddress.

Changes:
- IAM was applying ordering on accessTypes. Thus if an account had Operate, he 
got USe access as well. So even if IAM schema did not have 'UseEntry 
permission for IpAddress, some other 'OperateEntry' permission on IpAddress was 
letting this operation go through.
- Fixed IAM to NOT do ordering of access types anymore. IAm will perform strict 
accessType check only.
- This fix is needed so that admin does not get permission to USE resources 
from other account just becase he has OPERATE access on those resources due to 
some other APIs.

- However due to this fix, we break backwards compatibilty with CS 4.3.
- CS 4.3 allowed root admin to do the createPF operation for a user by passing 
in networkId of the user.
- Same was the case for domain admins within their domains
- Why this worked was due to CS 4.3 simply returning true for root admin/domain 
admin

- So to maintain backwards compatibilty, we are adding the logic to return 
true for root admin and domain admin just like CS 4.3.
- Exception is: For Network, AffinityGroup and Templates, we still call IAM 
even for root admin/domain admin, since thats what CS 4.3 did. Just for these 3 
resource_types, it used to perform access checks even for root admin/domain 
admin.


 IAM - Admin is allowed to create PortFowarding rule for a regular user, when 
 admin does not have  UseEntry permission for IpAddress. 
 ---

 Key: CLOUDSTACK-6517
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6517
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Prachi Damle
 Fix For: 4.4.0


 IAM - Admin is allowed to create PortFowarding rule for a regular user, when 
 admin does not have  UseEntry permission for IpAddress.
 Steps to reproduce the problem:
 As regular user , on a network he owns , acquire an ip address.
 As admin , try to create a PF rule on this ip address  without passing 
 account and domainId.
 Creating PF rule succeeds. 
 Since Admin has only  ListEntry permission for IpAddress owned by other 
 users , we expect this api call to fail. 
 mysql select * from iam_policy_permission where resource_type = 'IpAddress' 
 and policy_id=2;
 +--+---+---+---+--+-+--++---+-+-+
 | id   | policy_id | action| resource_type | scope_id | scope 
   | access_type  | permission | recursive | removed | created |
 +--+---+---+---+--+-+--++---+-+-+
 | 1840 | 2 | listPublicIpAddresses | IpAddress |   -1 | ALL   
   | ListEntry| Allow  | 0 | NULL| 2014-04-22 18:31:03 |
 | 1841 | 2 | listPublicIpAddresses | IpAddress |   -1 | 
 ACCOUNT | UseEntry | Allow  | 0 | NULL| 2014-04-22 
 18:31:03 |
 Admin should be allowed to do this only , when he passes account and domainId 
 of the regular user is passed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6549) 4.4-forward: Management Server fails to start

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986425#comment-13986425
 ] 

ASF subversion and git services commented on CLOUDSTACK-6549:
-

Commit 53ee9ae28e3a209a85c2c1febdd6f0979b3e911c in cloudstack's branch 
refs/heads/master from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53ee9ae ]

CLOUDSTACK-6549: ommission due to insufficient tests in CLOUDSTACK-6231

 4.4-forward: Management Server fails to start
 -

 Key: CLOUDSTACK-6549
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6549
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
Reporter: Prachi Damle
Assignee: Daan Hoogland
Priority: Blocker
 Fix For: 4.4.0


 4.4-forward: Management Server fails to start
 Commit 3852afa717dc147ef9dc19d7b3801c341f321e77 that broke it. 
 NetworkACLItemCidrsDao out of NetworkACLItemDao, but you forgot to add that 
 into spring context xml file. You may need to add that into 
 cloud-engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6549) 4.4-forward: Management Server fails to start

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986428#comment-13986428
 ] 

ASF subversion and git services commented on CLOUDSTACK-6549:
-

Commit 9c2768756cde11181c2a4955e6c2d01fee62a7bb in cloudstack's branch 
refs/heads/4.4-forward from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9c27687 ]

CLOUDSTACK-6549: ommission due to insufficient tests in CLOUDSTACK-6231


 4.4-forward: Management Server fails to start
 -

 Key: CLOUDSTACK-6549
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6549
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
Reporter: Prachi Damle
Assignee: Daan Hoogland
Priority: Blocker
 Fix For: 4.4.0


 4.4-forward: Management Server fails to start
 Commit 3852afa717dc147ef9dc19d7b3801c341f321e77 that broke it. 
 NetworkACLItemCidrsDao out of NetworkACLItemDao, but you forgot to add that 
 into spring context xml file. You may need to add that into 
 cloud-engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6231) Cloudstack createNetworkACL cuts cidrlist at 256 characters

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986427#comment-13986427
 ] 

ASF subversion and git services commented on CLOUDSTACK-6231:
-

Commit 53ee9ae28e3a209a85c2c1febdd6f0979b3e911c in cloudstack's branch 
refs/heads/master from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53ee9ae ]

CLOUDSTACK-6549: ommission due to insufficient tests in CLOUDSTACK-6231

 Cloudstack createNetworkACL cuts cidrlist at 256 characters
 ---

 Key: CLOUDSTACK-6231
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6231
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.2.0, 4.3.0, 4.4.0
Reporter: Daan Hoogland
Assignee: Daan Hoogland
 Fix For: 4.4.0


 [2014-03-11T11:18:54+01:00] INFO: Creating acl on network SBP_VPC_MGT1_APP1: 
 10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.10/32,10.75.14.214/32,10.75.15.86/32,10.75.16.101/32,10.75.16.105/32,10.75.16.114/32,10.75.16.124/32,10.75.16.67/32,10.75.16.80/32,10.75.16.88/32,10.75.16.93/32,10.75.16.97/32,10.75.17.113/32,10.75.17.124/32,10.75.17.73/32,10.75.17.84/32,10.75.17.87/32,10.75.17.92/32,10.75.18.168/32,10.75.18.20/32,10.75.2.11/32,10.75.2.112/32,10.75.2.114/32,10.75.2.116/32,10.75.2.123/32,10.75.2.14/32,10.75.2.35/32,10.75.2.61/32,10.75.2.79/32,10.75.2.83/32,10.75.21.12/32,10.75.22.187/32,10.75.23.4/32,10.75.24.29/32,10.75.25.114/32,10.75.25.9/32,10.75.26.20/32,10.75.26.27/32,10.75.26.28/32,10.75.27.11/32,10.75.27.17/32,10.75.27.23/32,10.75.28.159/32,10.75.29.109/32,10.75.3.32/32,10.75.30.71/32,10.75.31.3/32,10.75.32.57/32,10.75.33.15/32,10.75.34.46/32,10.75.35.113/32,10.75.35.33/32,10.75.35.80/32,10.75.36.70/32,10.75.38.4/32,10.75.39.6/32,10.75.4.118/32,10.75.4.23/32,10.75.40.49/32,10.75.40.72/32,10.75.41.57/32,10.75.41.75/32,10.75.42.102/32,10.75.42.2/32,10.75.43.126/32,10.75.43.28/32,10.75.44.2/32,10.75.45.9/32,10.75.47.111/32,10.75.47.29/32,10.75.47.35/32,10.75.6.6/32,192.168.0.208/32,192.168.0.30/32
  tcp 514/514 Ingress [2014-03-11T11:18:54+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:55+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:56+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:57+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:58+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:59+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:19:00+01:00] INFO: Job e71b6c83-a482-4765-9024-2ee9d146baa1 
 done, result: {networkacl={id=5f226473-8798-4336-a68d-b38a3f7a41a0, 
 protocol=tcp, startport=514, endport=514, 
 traffictype=Ingress, state=Active, 
 cidrlist=10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.1,
  tags=[], aclid=482f3740-7eda-11e3-aa74-005056b95463, number=93, 
 action=Allow}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6231) Cloudstack createNetworkACL cuts cidrlist at 256 characters

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986429#comment-13986429
 ] 

ASF subversion and git services commented on CLOUDSTACK-6231:
-

Commit 9c2768756cde11181c2a4955e6c2d01fee62a7bb in cloudstack's branch 
refs/heads/4.4-forward from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9c27687 ]

CLOUDSTACK-6549: ommission due to insufficient tests in CLOUDSTACK-6231


 Cloudstack createNetworkACL cuts cidrlist at 256 characters
 ---

 Key: CLOUDSTACK-6231
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6231
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.2.0, 4.3.0, 4.4.0
Reporter: Daan Hoogland
Assignee: Daan Hoogland
 Fix For: 4.4.0


 [2014-03-11T11:18:54+01:00] INFO: Creating acl on network SBP_VPC_MGT1_APP1: 
 10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.10/32,10.75.14.214/32,10.75.15.86/32,10.75.16.101/32,10.75.16.105/32,10.75.16.114/32,10.75.16.124/32,10.75.16.67/32,10.75.16.80/32,10.75.16.88/32,10.75.16.93/32,10.75.16.97/32,10.75.17.113/32,10.75.17.124/32,10.75.17.73/32,10.75.17.84/32,10.75.17.87/32,10.75.17.92/32,10.75.18.168/32,10.75.18.20/32,10.75.2.11/32,10.75.2.112/32,10.75.2.114/32,10.75.2.116/32,10.75.2.123/32,10.75.2.14/32,10.75.2.35/32,10.75.2.61/32,10.75.2.79/32,10.75.2.83/32,10.75.21.12/32,10.75.22.187/32,10.75.23.4/32,10.75.24.29/32,10.75.25.114/32,10.75.25.9/32,10.75.26.20/32,10.75.26.27/32,10.75.26.28/32,10.75.27.11/32,10.75.27.17/32,10.75.27.23/32,10.75.28.159/32,10.75.29.109/32,10.75.3.32/32,10.75.30.71/32,10.75.31.3/32,10.75.32.57/32,10.75.33.15/32,10.75.34.46/32,10.75.35.113/32,10.75.35.33/32,10.75.35.80/32,10.75.36.70/32,10.75.38.4/32,10.75.39.6/32,10.75.4.118/32,10.75.4.23/32,10.75.40.49/32,10.75.40.72/32,10.75.41.57/32,10.75.41.75/32,10.75.42.102/32,10.75.42.2/32,10.75.43.126/32,10.75.43.28/32,10.75.44.2/32,10.75.45.9/32,10.75.47.111/32,10.75.47.29/32,10.75.47.35/32,10.75.6.6/32,192.168.0.208/32,192.168.0.30/32
  tcp 514/514 Ingress [2014-03-11T11:18:54+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:55+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:56+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:57+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:58+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:59+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:19:00+01:00] INFO: Job e71b6c83-a482-4765-9024-2ee9d146baa1 
 done, result: {networkacl={id=5f226473-8798-4336-a68d-b38a3f7a41a0, 
 protocol=tcp, startport=514, endport=514, 
 traffictype=Ingress, state=Active, 
 cidrlist=10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.1,
  tags=[], aclid=482f3740-7eda-11e3-aa74-005056b95463, number=93, 
 action=Allow}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6549) 4.4-forward: Management Server fails to start

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986430#comment-13986430
 ] 

ASF subversion and git services commented on CLOUDSTACK-6549:
-

Commit ce56894d37ab60300a9193842704ae5a5a087ac8 in cloudstack's branch 
refs/heads/4.4 from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ce56894 ]

CLOUDSTACK-6549: ommission due to insufficient tests in CLOUDSTACK-6231


 4.4-forward: Management Server fails to start
 -

 Key: CLOUDSTACK-6549
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6549
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
Reporter: Prachi Damle
Assignee: Daan Hoogland
Priority: Blocker
 Fix For: 4.4.0


 4.4-forward: Management Server fails to start
 Commit 3852afa717dc147ef9dc19d7b3801c341f321e77 that broke it. 
 NetworkACLItemCidrsDao out of NetworkACLItemDao, but you forgot to add that 
 into spring context xml file. You may need to add that into 
 cloud-engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6231) Cloudstack createNetworkACL cuts cidrlist at 256 characters

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986431#comment-13986431
 ] 

ASF subversion and git services commented on CLOUDSTACK-6231:
-

Commit ce56894d37ab60300a9193842704ae5a5a087ac8 in cloudstack's branch 
refs/heads/4.4 from [~dahn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ce56894 ]

CLOUDSTACK-6549: ommission due to insufficient tests in CLOUDSTACK-6231


 Cloudstack createNetworkACL cuts cidrlist at 256 characters
 ---

 Key: CLOUDSTACK-6231
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6231
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Network Controller
Affects Versions: 4.2.0, 4.3.0, 4.4.0
Reporter: Daan Hoogland
Assignee: Daan Hoogland
 Fix For: 4.4.0


 [2014-03-11T11:18:54+01:00] INFO: Creating acl on network SBP_VPC_MGT1_APP1: 
 10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.10/32,10.75.14.214/32,10.75.15.86/32,10.75.16.101/32,10.75.16.105/32,10.75.16.114/32,10.75.16.124/32,10.75.16.67/32,10.75.16.80/32,10.75.16.88/32,10.75.16.93/32,10.75.16.97/32,10.75.17.113/32,10.75.17.124/32,10.75.17.73/32,10.75.17.84/32,10.75.17.87/32,10.75.17.92/32,10.75.18.168/32,10.75.18.20/32,10.75.2.11/32,10.75.2.112/32,10.75.2.114/32,10.75.2.116/32,10.75.2.123/32,10.75.2.14/32,10.75.2.35/32,10.75.2.61/32,10.75.2.79/32,10.75.2.83/32,10.75.21.12/32,10.75.22.187/32,10.75.23.4/32,10.75.24.29/32,10.75.25.114/32,10.75.25.9/32,10.75.26.20/32,10.75.26.27/32,10.75.26.28/32,10.75.27.11/32,10.75.27.17/32,10.75.27.23/32,10.75.28.159/32,10.75.29.109/32,10.75.3.32/32,10.75.30.71/32,10.75.31.3/32,10.75.32.57/32,10.75.33.15/32,10.75.34.46/32,10.75.35.113/32,10.75.35.33/32,10.75.35.80/32,10.75.36.70/32,10.75.38.4/32,10.75.39.6/32,10.75.4.118/32,10.75.4.23/32,10.75.40.49/32,10.75.40.72/32,10.75.41.57/32,10.75.41.75/32,10.75.42.102/32,10.75.42.2/32,10.75.43.126/32,10.75.43.28/32,10.75.44.2/32,10.75.45.9/32,10.75.47.111/32,10.75.47.29/32,10.75.47.35/32,10.75.6.6/32,192.168.0.208/32,192.168.0.30/32
  tcp 514/514 Ingress [2014-03-11T11:18:54+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:55+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:56+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:57+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:18:58+01:00] INFO: Status of job 
 e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 [2014-03-11T11:18:59+01:00] INFO: 
 Status of job e71b6c83-a482-4765-9024-2ee9d146baa1 is 0 
 [2014-03-11T11:19:00+01:00] INFO: Job e71b6c83-a482-4765-9024-2ee9d146baa1 
 done, result: {networkacl={id=5f226473-8798-4336-a68d-b38a3f7a41a0, 
 protocol=tcp, startport=514, endport=514, 
 traffictype=Ingress, state=Active, 
 cidrlist=10.168.1.198/32,10.168.1.251/32,10.168.2.178/32,10.168.2.245/32,10.168.4.27/32,10.168.4.44/32,10.71.76.27/32,10.71.76.28/32,10.75.12.108/32,10.75.12.11/32,10.75.12.35/32,10.75.12.75/32,10.75.12.98/32,10.75.13.30/32,10.75.13.71/32,10.75.13.94/32,10.75.14.1,
  tags=[], aclid=482f3740-7eda-11e3-aa74-005056b95463, number=93, 
 action=Allow}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6502) IAMGroup.list and IAMPolicy.list in marvin base.py are not working.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986453#comment-13986453
 ] 

ASF subversion and git services commented on CLOUDSTACK-6502:
-

Commit 62b210b58369a6f81ef1e40e81fee068c2deb6a9 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=62b210b ]

CLOUDSTACK-6502:Remove trailing whitespaces.


 IAMGroup.list and IAMPolicy.list in marvin base.py are not working.
 ---

 Key: CLOUDSTACK-6502
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6502
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Affects Versions: 4.4.0
Reporter: Min Chen
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAMGroup.list and IAMPolicy.list in marvin base.py library have typo bugs, 
 which blocks folks from writing IAM group and policy list related automation 
 test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on test_volumes.py - AttributeError: VirtualMachine instance has no attribute 'hostid'

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986777#comment-13986777
 ] 

ASF subversion and git services commented on CLOUDSTACK-6443:
-

Commit ef2616bfda1b37887312a93068937f5ecfaa36b4 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ef2616b ]

CLOUDSTACK-6443: [Automation] Two Test Cases failed on test_volumes.py
- AttributeError: VirtualMachine instance has no attribute 'hostid'.

 [Automation] Two Test Cases failed on test_volumes.py - AttributeError: 
 VirtualMachine instance has no attribute 'hostid'
 ---

 Key: CLOUDSTACK-6443
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, IAM
Affects Versions: 4.4.0
Reporter: Chandan Purushothama
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0


 Two Test Cases Failed:
 test_07_resize_fail
 test_08_resize_volume
 *Error Message1*:
 VirtualMachine instance has no attribute 'hostid'
   begin captured logging  
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 STARTED : TC: test_07_resize_fail :::
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail 
 Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: resizeVolume {'diskofferingid': 
 u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A=
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.223.240.161
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3Ddiskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2caid=invalid+id
  HTTP/1.1 431 330
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Request: 
 http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3Ddiskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2caid=invalid+id
  Response: { resizevolumeresponse : 
 {uuidList:[],errorcode:431,cserrorcode:,errortext:Unable to 
 execute API command resizevolume due to invalid value. Invalid parameter id 
 value=invalid id due to incorrect long value format, or entity does not exist 
 or due to incorrect parameter annotation for the field in api cmd class.} }
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': 
 u'b5521198-97f1-4f2c-afea-fcadf70d4249'}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk=
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.223.240.161
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=DbNaHKDzesuJcTU1thWGQg88UPk%3Ddiskofferingid=invalid+idid=b5521198-97f1-4f2c-afea-fcadf70d4249
  HTTP/1.1 431 342
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Request: 
 http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=DbNaHKDzesuJcTU1thWGQg88UPk%3Ddiskofferingid=invalid+idid=b5521198-97f1-4f2c-afea-fcadf70d4249
  Response: { resizevolumeresponse : 
 {uuidList:[],errorcode:431,cserrorcode:,errortext:Unable to 
 execute API command resizevolume due to invalid value. Invalid parameter 
 diskofferingid value=invalid id due to incorrect long value format, or entity 
 does not exist or due to incorrect parameter annotation for the field in api 
 cmd class.} }
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: listVolumes {'virtualmachineid': 
 u'bca5f583-139f-46e4-87d5-09fb5adac313', 'type': 'ROOT', 'listall': True}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed 

[jira] [Commented] (CLOUDSTACK-6556) [Automation] Deploy VM failing with error does not have permission to access resource Ntwk

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986852#comment-13986852
 ] 

ASF subversion and git services commented on CLOUDSTACK-6556:
-

Commit 4415aee1e9f7b0b788ff1e0a6a7fe744fd37921f in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4415aee ]

CLOUDSTACK-6556: [Automation] Deploy VM failing with error does not
have permission to access resource Ntwk.

 [Automation] Deploy VM failing with error does not have permission to access 
 resource Ntwk
 

 Key: CLOUDSTACK-6556
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6556
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: KVM advanced zone
 Build - 4.4-forward
Reporter: Rayees Namathponnan
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0

 Attachments: CLOUDSTACK-6556.rar


 This issue found with automation run, test case performing below steps
 Steps to reproduce 
 Step 1 : Create advanced zone in KVM 
 Step 2 : create an domain and account 
 Step 3 : create network
 Step 4 : and deploy VM 
 Deploy VM failing with below error 
 2014-05-01 10:19:04,211 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-610af2b6 ctx-a56ad5cc ctx-ea6be136) (userId=2 
 accountId=2 sessionId=null) 10.223.240.194 -- GET 
 domainid=391ce37c-d0e4-11e3-9a99-1a6f7bb0d0a8zoneid=21489cf5-d741-408d-8997-1b06b8263799apiKey=_Nc4QvLyqqdrC6VgxX5JExUaGRYG2kHOkmTru6_TGeyHj5CKP3DLpt5bNc-XKip0SpALarDOqlSjPOWRghzCkwserviceofferingid=c32c9894-bb49-45ac-90a6-57e9340a476edisplayname=Test+VMsignature=7Y24BWLxzYoj1%2Bc5vqLpQJ00O9A%3Dtemplateid=3922f730-d0e4-11e3-9a99-1a6f7bb0d0a8response=jsonaccount=test-TestDeployVM-test_deploy_vm_multiple-LDX2GOname=testvmcommand=deployVirtualMachinehypervisor=KVM
  531 Acct[eedcbd60-08f6-45ee-b56d-a9979734914b-admin] does not have 
 permission to access resource 
 Ntwk[968f35d1-62b2-448c-835d-1bf688c2d99e|Guest|8]
 Network 968f35d1-62b2-448c-835d-1bf688c2d99e already exist, 
 mysql select * from networks where 
 uuid=968f35d1-62b2-448c-835d-1bf688c2d99e\G;
 *** 1. row ***
id: 579
  name: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  uuid: 968f35d1-62b2-448c-835d-1bf688c2d99e
  display_text: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  traffic_type: Guest
 broadcast_domain_type: Vlan
 broadcast_uri: NULL
   gateway: 10.1.1.1
  cidr: 10.1.1.0/24
  mode: Dhcp
   network_offering_id: 8
   physical_network_id: 200
data_center_id: 1
 guru_name: ExternalGuestNetworkGuru
 state: Destroy
   related: 579
 domain_id: 1
account_id: 546
  dns1: NULL
  dns2: NULL
 guru_data: NULL
set_fields: 0
  acl_type: Account
network_domain: test.domain.org
reservation_id: NULL
guest_type: Isolated
  restart_required: 0
   created: 2014-05-01 17:19:04
   removed: 2014-05-01 17:19:04
 specify_ip_ranges: 0
vpc_id: NULL
   ip6_gateway: NULL
  ip6_cidr: NULL
  network_cidr: NULL
   display_network: 1
network_acl_id: NULL
   streched_l2: 0
 1 row in set (0.00 sec)
 ERROR:
 No query specified
 mysql select * from account where id=546;
 +-+--+--+--+---+-+-+++-+-+
 | id  | account_name | uuid   
   | type | domain_id | state   | removed | 
 cleanup_needed | network_domain | default_zone_id | default |
 +-+--+--+--+---+-+-+++-+-+
 | 546 | test-TestDeployVM-test_deploy_vm_multiple-LDX2GO | 
 fcfd3a97-2f25-40e9-9a90-ded17c836678 |0 | 1 | enabled | 
 2014-05-01 17:19:04 |  0 | NULL   |NULL | 
   0 |
 

[jira] [Commented] (CLOUDSTACK-4549) ceph:deployvm from template created from snapshot is failing

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986876#comment-13986876
 ] 

ASF subversion and git services commented on CLOUDSTACK-4549:
-

Commit 3962577329ea2561fe8dd9db1281e7a6a2ea62cf in cloudstack's branch 
refs/heads/master from [~widodh]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3962577 ]

CLOUDSTACK-4549: Do not force RBD snapshot backups to RAW format

Since we use qemu-img to copy from RBD to Secondary Storage we no
longer have to force to RAW images, but can stick with QCOW2

When the snapshot backups are QCOW2 format they can easily be deployed
again when restoring from a backup


 ceph:deployvm from template created from snapshot is failing
 

 Key: CLOUDSTACK-4549
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4549
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
Reporter: sadhu suresh
Assignee: Wido den Hollander
Priority: Critical
 Fix For: 4.4.0

 Attachments: management-server.rar


 VM deployment form template which is created form snapshot is failing where 
 as VM deployment with uploaded template successful.
 created template form snapshot is storing in raw 
 format(https://10-147-49-100.realhostip.com/userdata/0c826645-ec82-40f1-a1b0-38fc9ba1c76f.raw)..
  not sure are we converting again to QCwo2
 when we try to deploy a VM
 steps:
 1.create a ceph instance(configure compute offering with RBD and deploy a vm)
 2.Once it successful,select the root partition and perform snapshot
 3.once snapshot successful,create a template from snapshot
 4 try to create vm uning above VM
 actual result:
 deploy vm failing with exception
 -29 15:21:43,756 DEBUG [cloud.network.NetworkModelImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Service 
 SecurityGroup is not supported in the network id=204
 2013-08-29 15:21:43,762 DEBUG 
 [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-14:job-42 = 
 [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Applying userdata and password 
 entry in network Ntwk[204|Guest|8]
 2013-08-29 15:21:43,800 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Seq 
 1-2089159931: Sending  { Cmd , MgmtId: 7175246184473, via: 1, Ver: v1, Flags: 
 100111, 
 [{com.cloud.agent.api.routing.SavePasswordCommand:{password:fnirq_cnffjbeq,vmIpAddress:10.1.1.140,vmName:6e798618-8e4d-4305-94a1-642e5f3aad08,executeInSequence:true,accessDetails:{router.guest.ip:10.1.1.1,zone.network.type:Advanced,router.ip:169.254.2.248,router.name:r-15-VM},wait:0}},{com.cloud.agent.api.routing.VmDataCommand:{vmIpAddress:10.1.1.140,vmName:6e798618-8e4d-4305-94a1-642e5f3aad08,executeInSequence:true,accessDetails:{router.guest.ip:10.1.1.1,zone.network.type:Advanced,router.ip:169.254.2.248,router.name:r-15-VM},wait:0}}]
  }
 2013-08-29 15:21:44,168 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-14:null) Seq 1-2089159931: Processing:  { Ans: , 
 MgmtId: 7175246184473, via: 1, Ver: v1, Flags: 110, 
 [{com.cloud.agent.api.Answer:{result:true,wait:0}},{com.cloud.agent.api.Answer:{result:true,wait:0}}]
  }
 2013-08-29 15:21:44,169 DEBUG [agent.manager.AgentAttache] 
 (AgentManager-Handler-14:null) Seq 1-2089159931: No more commands found
 2013-08-29 15:21:44,169 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Seq 
 1-2089159931: Received:  { Ans: , MgmtId: 7175246184473, via: 1, Ver: v1, 
 Flags: 110, { Answer, Answer } }
 2013-08-29 15:21:44,179 DEBUG [cloud.network.NetworkModelImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Service 
 SecurityGroup is not supported in the network id=204
 2013-08-29 15:21:44,182 DEBUG [cloud.storage.VolumeManagerImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Checking 
 if we need to prepare 1 volumes for 
 VM[User|6e798618-8e4d-4305-94a1-642e5f3aad08]
 2013-08-29 15:21:44,207 DEBUG [storage.image.TemplateDataFactoryImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) template 
 202 is already in store:1, type:Image
 2013-08-29 15:21:44,219 DEBUG [storage.datastore.PrimaryDataStoreImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Not found 
 (templateId:202poolId:5) in template_spool_ref, persisting it
 2013-08-29 15:21:44,234 DEBUG [storage.image.TemplateDataFactoryImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) template 
 202 is already in store:5, type:Primary
 2013-08-29 15:21:44,237 DEBUG 

[jira] [Commented] (CLOUDSTACK-4549) ceph:deployvm from template created from snapshot is failing

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986877#comment-13986877
 ] 

ASF subversion and git services commented on CLOUDSTACK-4549:
-

Commit 355f1a2a7599f25771f390f7dba2f8659dbe8fa6 in cloudstack's branch 
refs/heads/4.4-forward from [~widodh]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=355f1a2 ]

CLOUDSTACK-4549: Do not force RBD snapshot backups to RAW format

Since we use qemu-img to copy from RBD to Secondary Storage we no
longer have to force to RAW images, but can stick with QCOW2

When the snapshot backups are QCOW2 format they can easily be deployed
again when restoring from a backup

Conflicts:


plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java


 ceph:deployvm from template created from snapshot is failing
 

 Key: CLOUDSTACK-4549
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4549
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
Reporter: sadhu suresh
Assignee: Wido den Hollander
Priority: Critical
 Fix For: 4.4.0

 Attachments: management-server.rar


 VM deployment form template which is created form snapshot is failing where 
 as VM deployment with uploaded template successful.
 created template form snapshot is storing in raw 
 format(https://10-147-49-100.realhostip.com/userdata/0c826645-ec82-40f1-a1b0-38fc9ba1c76f.raw)..
  not sure are we converting again to QCwo2
 when we try to deploy a VM
 steps:
 1.create a ceph instance(configure compute offering with RBD and deploy a vm)
 2.Once it successful,select the root partition and perform snapshot
 3.once snapshot successful,create a template from snapshot
 4 try to create vm uning above VM
 actual result:
 deploy vm failing with exception
 -29 15:21:43,756 DEBUG [cloud.network.NetworkModelImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Service 
 SecurityGroup is not supported in the network id=204
 2013-08-29 15:21:43,762 DEBUG 
 [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-14:job-42 = 
 [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Applying userdata and password 
 entry in network Ntwk[204|Guest|8]
 2013-08-29 15:21:43,800 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Seq 
 1-2089159931: Sending  { Cmd , MgmtId: 7175246184473, via: 1, Ver: v1, Flags: 
 100111, 
 [{com.cloud.agent.api.routing.SavePasswordCommand:{password:fnirq_cnffjbeq,vmIpAddress:10.1.1.140,vmName:6e798618-8e4d-4305-94a1-642e5f3aad08,executeInSequence:true,accessDetails:{router.guest.ip:10.1.1.1,zone.network.type:Advanced,router.ip:169.254.2.248,router.name:r-15-VM},wait:0}},{com.cloud.agent.api.routing.VmDataCommand:{vmIpAddress:10.1.1.140,vmName:6e798618-8e4d-4305-94a1-642e5f3aad08,executeInSequence:true,accessDetails:{router.guest.ip:10.1.1.1,zone.network.type:Advanced,router.ip:169.254.2.248,router.name:r-15-VM},wait:0}}]
  }
 2013-08-29 15:21:44,168 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-14:null) Seq 1-2089159931: Processing:  { Ans: , 
 MgmtId: 7175246184473, via: 1, Ver: v1, Flags: 110, 
 [{com.cloud.agent.api.Answer:{result:true,wait:0}},{com.cloud.agent.api.Answer:{result:true,wait:0}}]
  }
 2013-08-29 15:21:44,169 DEBUG [agent.manager.AgentAttache] 
 (AgentManager-Handler-14:null) Seq 1-2089159931: No more commands found
 2013-08-29 15:21:44,169 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Seq 
 1-2089159931: Received:  { Ans: , MgmtId: 7175246184473, via: 1, Ver: v1, 
 Flags: 110, { Answer, Answer } }
 2013-08-29 15:21:44,179 DEBUG [cloud.network.NetworkModelImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Service 
 SecurityGroup is not supported in the network id=204
 2013-08-29 15:21:44,182 DEBUG [cloud.storage.VolumeManagerImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Checking 
 if we need to prepare 1 volumes for 
 VM[User|6e798618-8e4d-4305-94a1-642e5f3aad08]
 2013-08-29 15:21:44,207 DEBUG [storage.image.TemplateDataFactoryImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) template 
 202 is already in store:1, type:Image
 2013-08-29 15:21:44,219 DEBUG [storage.datastore.PrimaryDataStoreImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Not found 
 (templateId:202poolId:5) in template_spool_ref, persisting it
 2013-08-29 15:21:44,234 DEBUG [storage.image.TemplateDataFactoryImpl] 
 (Job-Executor-14:job-42 = [ 

[jira] [Commented] (CLOUDSTACK-6535) IAM:MS:API createVMSnapshot doesn't preserve access rights

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986908#comment-13986908
 ] 

ASF subversion and git services commented on CLOUDSTACK-6535:
-

Commit f0edfc7ac5a8c3c22cea3e90a2a77835967234a2 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f0edfc7 ]

CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
rights.


 IAM:MS:API createVMSnapshot doesn't preserve access rights
 --

 Key: CLOUDSTACK-6535
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6535
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API, IAM
Affects Versions: 4.4.0
 Environment: 4.4
Reporter: Parth Jagirdar
Assignee: Min Chen
Priority: Critical
 Attachments: apilog.log.bz2, db_dump.sql.bz2, 
 management-server.log.bz2


 As domain Admin or as regular user; one can create a snapshot of a VM owned 
 by other users. (Create Snapshot succeeds across Domains as well).
 Please refer to API and MS logs.
 DB Dump is attached.
 2014-04-29 15:32:38,316 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-19:ctx-baaf5fbe ctx-d89f1942) (userId=9
  accountId=9 sessionId=13E9CF7AD4BB55EE9EDF2920D6E62915) 10.215.2.19 -- GET 
 command=createVMSnapshotvir
 tualmachineid=219d649d-b6fc-475e-ab0f-8800a7f95235response=jsonsessionkey=p1pPn2KtylzYt92NSHuE2u4G68w%
 3D 200 { createvmsnapshotresponse : 
 {id:8,jobid:fa37d77f-28b0-485b-af81-834a07ed6e4e} }
 2014-04-29 15:32:40,306 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-25:ctx-114bb10a ctx-d396131c) (userId=2
  accountId=2 sessionId=5EC896B528FB6DB972CE5B02A277047B) 10.215.2.19 -- GET 
 command=listVirtualMachines
 response=jsonsessionkey=e1WRj6SbsZEClPvlCdLP9f3MhYI%3DlistAll=truepage=1pagesize=20_=1398810759989
 200 { listvirtualmachinesresponse : { count:6 ,virtualmachine : [  
 {id:cea5fc51-6a31-4209-b26f-
 9097c9d17011,name:d2-vm,displayname:d2-vm,account:d2,domainid:0af12b69-67f4-454a-9eb6-f2
 bef02aba0b,domain:d2,created:2014-04-28T10:21:08-0700,state:Running,haenable:false,zonei
 d:6933ac3e-29fe-4170-8411-b1827aa2f5cf,zonename:z,hostid:d8fb3cb9-782e-4cdc-b0c0-3adcf65a7a15
 ,hostname:10.223.58.68,templateid:549440c8-bf4b-11e3-a56d-ced18bec4952,templatename:CentOS
  5.
 3(64-bit) no GUI (vSphere),templatedisplaytext:CentOS 5.3(64-bit) no GUI 
 (vSphere),passwordenabled
 :false,serviceofferingid:4c035b12-f32f-4c0c-b768-264ec02ac242,serviceofferingname:Small
  Instance
 ,cpunumber:1,cpuspeed:500,memory:512,cpuused:45%,networkkbsread:0,networkkbswrite:0,gues
 tosid:54a23660-bf4b-11e3-a56d-ced18bec4952,rootdeviceid:0,rootdevicetype:ROOT,securitygroup:[
 ],nic:[{id:cae4f3d2-1598-4aa0-98b9-669a4c7de6ae,networkid:f417c31a-e19f-45db-9180-87f17a195bf0
 ,networkname:d2-net,netmask:255.255.255.0,gateway:10.1.1.1,ipaddress:10.1.1.151,isolati
 onuri:vlan://2342,broadcasturi:vlan://2342,traffictype:Guest,type:Isolated,isdefault:tr
 ue,macaddress:02:00:41:11:00:01}],hypervisor:VMware,publicipid:a6866b38-e8dd-4deb-965f-c09931
 d183fe,publicip:10.223.138.11,instancename:i-10-32-VM,tags:[],affinitygroup:[],displayvm:
 true,isdynamicallyscalable:false,ostypeid:12}, 
 {id:e887d23a-fac0-4397-adb9-edfbf2169453,name:
 d1-vm,displayname:d1-vm,account:d1,domainid:90a8c572-3f92-420b-9176-5daafa9853da,domain:
 d1,created:2014-04-28T10:20:39-0700,state:Running,haenable:false,zoneid:6933ac3e-29fe-4170
 -8411-b1827aa2f5cf,zonename:z,hostid:d8fb3cb9-782e-4cdc-b0c0-3adcf65a7a15,hostname:10.223.58
 .68,templateid:549440c8-bf4b-11e3-a56d-ced18bec4952,templatename:CentOS
  5.3(64-bit) no GUI (vSph
 ere),templatedisplaytext:CentOS 5.3(64-bit) no GUI 
 (vSphere),passwordenabled:false,serviceofferi
 ngid:4c035b12-f32f-4c0c-b768-264ec02ac242,serviceofferingname:Small 
 Instance,cpunumber:1,cpusp
 eed:500,memory:512,cpuused:45%,networkkbsread:0,networkkbswrite:0,guestosid:54a23660-bf4b-
 11e3-a56d-ced18bec4952,rootdeviceid:0,rootdevicetype:ROOT,securitygroup:[],nic:[{id:5c410c
 a5-5151-48d8-8de7-4fc674bd597a,networkid:2a7d1254-3120-42f5-b8b9-dd64485cfed4,networkname:d1-net
 ,netmask:255.255.255.0,gateway:10.1.1.1,ipaddress:10.1.1.184,isolationuri:vlan://2268,
 mysql select * from iam_group_account_map where removed is NULL order by 
 group_id;
 ++--++-+-+
 | id | group_id | account_id | removed | created |
 ++--++-+-+
 | 43 |1 | 23 | NULL| 2014-04-14 23:18:40 |
 | 45 |1 | 24 | NULL| 2014-04-17 22:23:41 |
 | 41 |1 | 22 | NULL| 2014-04-14 23:18:24 |
 | 39 |1 | 

[jira] [Commented] (CLOUDSTACK-6556) [Automation] Deploy VM failing with error does not have permission to access resource Ntwk

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987057#comment-13987057
 ] 

ASF subversion and git services commented on CLOUDSTACK-6556:
-

Commit 6435b261deb0160f774a8815f0024e38f49d45e9 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6435b26 ]

CLOUDSTACK-6556: Deploy VM failing with error does
not have permission to access resource Ntwk.

 [Automation] Deploy VM failing with error does not have permission to access 
 resource Ntwk
 

 Key: CLOUDSTACK-6556
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6556
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: KVM advanced zone
 Build - 4.4-forward
Reporter: Rayees Namathponnan
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0

 Attachments: CLOUDSTACK-6556.rar


 This issue found with automation run, test case performing below steps
 Steps to reproduce 
 Step 1 : Create advanced zone in KVM 
 Step 2 : create an domain and account 
 Step 3 : create network
 Step 4 : and deploy VM 
 Deploy VM failing with below error 
 2014-05-01 10:19:04,211 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-610af2b6 ctx-a56ad5cc ctx-ea6be136) (userId=2 
 accountId=2 sessionId=null) 10.223.240.194 -- GET 
 domainid=391ce37c-d0e4-11e3-9a99-1a6f7bb0d0a8zoneid=21489cf5-d741-408d-8997-1b06b8263799apiKey=_Nc4QvLyqqdrC6VgxX5JExUaGRYG2kHOkmTru6_TGeyHj5CKP3DLpt5bNc-XKip0SpALarDOqlSjPOWRghzCkwserviceofferingid=c32c9894-bb49-45ac-90a6-57e9340a476edisplayname=Test+VMsignature=7Y24BWLxzYoj1%2Bc5vqLpQJ00O9A%3Dtemplateid=3922f730-d0e4-11e3-9a99-1a6f7bb0d0a8response=jsonaccount=test-TestDeployVM-test_deploy_vm_multiple-LDX2GOname=testvmcommand=deployVirtualMachinehypervisor=KVM
  531 Acct[eedcbd60-08f6-45ee-b56d-a9979734914b-admin] does not have 
 permission to access resource 
 Ntwk[968f35d1-62b2-448c-835d-1bf688c2d99e|Guest|8]
 Network 968f35d1-62b2-448c-835d-1bf688c2d99e already exist, 
 mysql select * from networks where 
 uuid=968f35d1-62b2-448c-835d-1bf688c2d99e\G;
 *** 1. row ***
id: 579
  name: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  uuid: 968f35d1-62b2-448c-835d-1bf688c2d99e
  display_text: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  traffic_type: Guest
 broadcast_domain_type: Vlan
 broadcast_uri: NULL
   gateway: 10.1.1.1
  cidr: 10.1.1.0/24
  mode: Dhcp
   network_offering_id: 8
   physical_network_id: 200
data_center_id: 1
 guru_name: ExternalGuestNetworkGuru
 state: Destroy
   related: 579
 domain_id: 1
account_id: 546
  dns1: NULL
  dns2: NULL
 guru_data: NULL
set_fields: 0
  acl_type: Account
network_domain: test.domain.org
reservation_id: NULL
guest_type: Isolated
  restart_required: 0
   created: 2014-05-01 17:19:04
   removed: 2014-05-01 17:19:04
 specify_ip_ranges: 0
vpc_id: NULL
   ip6_gateway: NULL
  ip6_cidr: NULL
  network_cidr: NULL
   display_network: 1
network_acl_id: NULL
   streched_l2: 0
 1 row in set (0.00 sec)
 ERROR:
 No query specified
 mysql select * from account where id=546;
 +-+--+--+--+---+-+-+++-+-+
 | id  | account_name | uuid   
   | type | domain_id | state   | removed | 
 cleanup_needed | network_domain | default_zone_id | default |
 +-+--+--+--+---+-+-+++-+-+
 | 546 | test-TestDeployVM-test_deploy_vm_multiple-LDX2GO | 
 fcfd3a97-2f25-40e9-9a90-ded17c836678 |0 | 1 | enabled | 
 2014-05-01 17:19:04 |  0 | NULL   |NULL | 
   0 |
 

[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987109#comment-13987109
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 1ad532f57eee8358d74866e577669e2394d97c7d in cloudstack's branch 
refs/heads/master from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1ad532f ]

CLOUDSTACK-6438: WIP: If VM has additional IPs, keep showing in add screen


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987110#comment-13987110
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 9885cf4fb076d1236bc26b2346b84351f90efc7d in cloudstack's branch 
refs/heads/master from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9885cf4 ]

CLOUDSTACK-6438: WIP: Add filtering to check against existing IPs


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987111#comment-13987111
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 4f45c972c315d674e8a7fd669c5ea816057294b6 in cloudstack's branch 
refs/heads/master from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4f45c97 ]

CLOUDSTACK-6438: Filter out existing IPs in dropdown


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987118#comment-13987118
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 0b03609c45ecb5b4525e6a7b5216c70032d94a39 in cloudstack's branch 
refs/heads/4.4-forward from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0b03609 ]

CLOUDSTACK-6438: WIP: If VM has additional IPs, keep showing in add screen


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987119#comment-13987119
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 7daabf6515509dc276b968c6ca042cf964a328da in cloudstack's branch 
refs/heads/4.4-forward from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7daabf6 ]

CLOUDSTACK-6438: WIP: Add filtering to check against existing IPs


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987121#comment-13987121
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 430d14b67608039159403036dae3dc7af1e590f5 in cloudstack's branch 
refs/heads/4.4-forward from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=430d14b ]

CLOUDSTACK-6438: Filter out existing IPs in dropdown


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6556) [Automation] Deploy VM failing with error does not have permission to access resource Ntwk

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987140#comment-13987140
 ] 

ASF subversion and git services commented on CLOUDSTACK-6556:
-

Commit 95e9db2f91451e7b88458baf5b599fc19e2c29b2 in cloudstack's branch 
refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=95e9db2 ]

CLOUDSTACK-6556: [Automation] Deploy VM failing with error does not
have permission to access resource Ntwk.



 [Automation] Deploy VM failing with error does not have permission to access 
 resource Ntwk
 

 Key: CLOUDSTACK-6556
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6556
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: KVM advanced zone
 Build - 4.4-forward
Reporter: Rayees Namathponnan
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0

 Attachments: CLOUDSTACK-6556.rar


 This issue found with automation run, test case performing below steps
 Steps to reproduce 
 Step 1 : Create advanced zone in KVM 
 Step 2 : create an domain and account 
 Step 3 : create network
 Step 4 : and deploy VM 
 Deploy VM failing with below error 
 2014-05-01 10:19:04,211 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-610af2b6 ctx-a56ad5cc ctx-ea6be136) (userId=2 
 accountId=2 sessionId=null) 10.223.240.194 -- GET 
 domainid=391ce37c-d0e4-11e3-9a99-1a6f7bb0d0a8zoneid=21489cf5-d741-408d-8997-1b06b8263799apiKey=_Nc4QvLyqqdrC6VgxX5JExUaGRYG2kHOkmTru6_TGeyHj5CKP3DLpt5bNc-XKip0SpALarDOqlSjPOWRghzCkwserviceofferingid=c32c9894-bb49-45ac-90a6-57e9340a476edisplayname=Test+VMsignature=7Y24BWLxzYoj1%2Bc5vqLpQJ00O9A%3Dtemplateid=3922f730-d0e4-11e3-9a99-1a6f7bb0d0a8response=jsonaccount=test-TestDeployVM-test_deploy_vm_multiple-LDX2GOname=testvmcommand=deployVirtualMachinehypervisor=KVM
  531 Acct[eedcbd60-08f6-45ee-b56d-a9979734914b-admin] does not have 
 permission to access resource 
 Ntwk[968f35d1-62b2-448c-835d-1bf688c2d99e|Guest|8]
 Network 968f35d1-62b2-448c-835d-1bf688c2d99e already exist, 
 mysql select * from networks where 
 uuid=968f35d1-62b2-448c-835d-1bf688c2d99e\G;
 *** 1. row ***
id: 579
  name: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  uuid: 968f35d1-62b2-448c-835d-1bf688c2d99e
  display_text: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  traffic_type: Guest
 broadcast_domain_type: Vlan
 broadcast_uri: NULL
   gateway: 10.1.1.1
  cidr: 10.1.1.0/24
  mode: Dhcp
   network_offering_id: 8
   physical_network_id: 200
data_center_id: 1
 guru_name: ExternalGuestNetworkGuru
 state: Destroy
   related: 579
 domain_id: 1
account_id: 546
  dns1: NULL
  dns2: NULL
 guru_data: NULL
set_fields: 0
  acl_type: Account
network_domain: test.domain.org
reservation_id: NULL
guest_type: Isolated
  restart_required: 0
   created: 2014-05-01 17:19:04
   removed: 2014-05-01 17:19:04
 specify_ip_ranges: 0
vpc_id: NULL
   ip6_gateway: NULL
  ip6_cidr: NULL
  network_cidr: NULL
   display_network: 1
network_acl_id: NULL
   streched_l2: 0
 1 row in set (0.00 sec)
 ERROR:
 No query specified
 mysql select * from account where id=546;
 +-+--+--+--+---+-+-+++-+-+
 | id  | account_name | uuid   
   | type | domain_id | state   | removed | 
 cleanup_needed | network_domain | default_zone_id | default |
 +-+--+--+--+---+-+-+++-+-+
 | 546 | test-TestDeployVM-test_deploy_vm_multiple-LDX2GO | 
 fcfd3a97-2f25-40e9-9a90-ded17c836678 |0 | 1 | enabled | 
 2014-05-01 17:19:04 |  0 | NULL   |NULL | 
   0 |
 

[jira] [Commented] (CLOUDSTACK-6535) IAM:MS:API createVMSnapshot doesn't preserve access rights

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987141#comment-13987141
 ] 

ASF subversion and git services commented on CLOUDSTACK-6535:
-

Commit d7c5382c58a87b68d356696349828ef44fdf80e2 in cloudstack's branch 
refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d7c5382 ]

CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
rights.


 IAM:MS:API createVMSnapshot doesn't preserve access rights
 --

 Key: CLOUDSTACK-6535
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6535
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API, IAM
Affects Versions: 4.4.0
 Environment: 4.4
Reporter: Parth Jagirdar
Assignee: Min Chen
Priority: Critical
 Attachments: apilog.log.bz2, db_dump.sql.bz2, 
 management-server.log.bz2


 As domain Admin or as regular user; one can create a snapshot of a VM owned 
 by other users. (Create Snapshot succeeds across Domains as well).
 Please refer to API and MS logs.
 DB Dump is attached.
 2014-04-29 15:32:38,316 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-19:ctx-baaf5fbe ctx-d89f1942) (userId=9
  accountId=9 sessionId=13E9CF7AD4BB55EE9EDF2920D6E62915) 10.215.2.19 -- GET 
 command=createVMSnapshotvir
 tualmachineid=219d649d-b6fc-475e-ab0f-8800a7f95235response=jsonsessionkey=p1pPn2KtylzYt92NSHuE2u4G68w%
 3D 200 { createvmsnapshotresponse : 
 {id:8,jobid:fa37d77f-28b0-485b-af81-834a07ed6e4e} }
 2014-04-29 15:32:40,306 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-25:ctx-114bb10a ctx-d396131c) (userId=2
  accountId=2 sessionId=5EC896B528FB6DB972CE5B02A277047B) 10.215.2.19 -- GET 
 command=listVirtualMachines
 response=jsonsessionkey=e1WRj6SbsZEClPvlCdLP9f3MhYI%3DlistAll=truepage=1pagesize=20_=1398810759989
 200 { listvirtualmachinesresponse : { count:6 ,virtualmachine : [  
 {id:cea5fc51-6a31-4209-b26f-
 9097c9d17011,name:d2-vm,displayname:d2-vm,account:d2,domainid:0af12b69-67f4-454a-9eb6-f2
 bef02aba0b,domain:d2,created:2014-04-28T10:21:08-0700,state:Running,haenable:false,zonei
 d:6933ac3e-29fe-4170-8411-b1827aa2f5cf,zonename:z,hostid:d8fb3cb9-782e-4cdc-b0c0-3adcf65a7a15
 ,hostname:10.223.58.68,templateid:549440c8-bf4b-11e3-a56d-ced18bec4952,templatename:CentOS
  5.
 3(64-bit) no GUI (vSphere),templatedisplaytext:CentOS 5.3(64-bit) no GUI 
 (vSphere),passwordenabled
 :false,serviceofferingid:4c035b12-f32f-4c0c-b768-264ec02ac242,serviceofferingname:Small
  Instance
 ,cpunumber:1,cpuspeed:500,memory:512,cpuused:45%,networkkbsread:0,networkkbswrite:0,gues
 tosid:54a23660-bf4b-11e3-a56d-ced18bec4952,rootdeviceid:0,rootdevicetype:ROOT,securitygroup:[
 ],nic:[{id:cae4f3d2-1598-4aa0-98b9-669a4c7de6ae,networkid:f417c31a-e19f-45db-9180-87f17a195bf0
 ,networkname:d2-net,netmask:255.255.255.0,gateway:10.1.1.1,ipaddress:10.1.1.151,isolati
 onuri:vlan://2342,broadcasturi:vlan://2342,traffictype:Guest,type:Isolated,isdefault:tr
 ue,macaddress:02:00:41:11:00:01}],hypervisor:VMware,publicipid:a6866b38-e8dd-4deb-965f-c09931
 d183fe,publicip:10.223.138.11,instancename:i-10-32-VM,tags:[],affinitygroup:[],displayvm:
 true,isdynamicallyscalable:false,ostypeid:12}, 
 {id:e887d23a-fac0-4397-adb9-edfbf2169453,name:
 d1-vm,displayname:d1-vm,account:d1,domainid:90a8c572-3f92-420b-9176-5daafa9853da,domain:
 d1,created:2014-04-28T10:20:39-0700,state:Running,haenable:false,zoneid:6933ac3e-29fe-4170
 -8411-b1827aa2f5cf,zonename:z,hostid:d8fb3cb9-782e-4cdc-b0c0-3adcf65a7a15,hostname:10.223.58
 .68,templateid:549440c8-bf4b-11e3-a56d-ced18bec4952,templatename:CentOS
  5.3(64-bit) no GUI (vSph
 ere),templatedisplaytext:CentOS 5.3(64-bit) no GUI 
 (vSphere),passwordenabled:false,serviceofferi
 ngid:4c035b12-f32f-4c0c-b768-264ec02ac242,serviceofferingname:Small 
 Instance,cpunumber:1,cpusp
 eed:500,memory:512,cpuused:45%,networkkbsread:0,networkkbswrite:0,guestosid:54a23660-bf4b-
 11e3-a56d-ced18bec4952,rootdeviceid:0,rootdevicetype:ROOT,securitygroup:[],nic:[{id:5c410c
 a5-5151-48d8-8de7-4fc674bd597a,networkid:2a7d1254-3120-42f5-b8b9-dd64485cfed4,networkname:d1-net
 ,netmask:255.255.255.0,gateway:10.1.1.1,ipaddress:10.1.1.184,isolationuri:vlan://2268,
 mysql select * from iam_group_account_map where removed is NULL order by 
 group_id;
 ++--++-+-+
 | id | group_id | account_id | removed | created |
 ++--++-+-+
 | 43 |1 | 23 | NULL| 2014-04-14 23:18:40 |
 | 45 |1 | 24 | NULL| 2014-04-17 22:23:41 |
 | 41 |1 | 22 | NULL| 2014-04-14 23:18:24 |
 | 39 |1 | 21 | 

[jira] [Commented] (CLOUDSTACK-6556) [Automation] Deploy VM failing with error does not have permission to access resource Ntwk

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987142#comment-13987142
 ] 

ASF subversion and git services commented on CLOUDSTACK-6556:
-

Commit 134a7998ce8eac7373532be2102e185fabefce0f in cloudstack's branch 
refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=134a799 ]

CLOUDSTACK-6556: Deploy VM failing with error does
not have permission to access resource Ntwk.


 [Automation] Deploy VM failing with error does not have permission to access 
 resource Ntwk
 

 Key: CLOUDSTACK-6556
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6556
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: KVM advanced zone
 Build - 4.4-forward
Reporter: Rayees Namathponnan
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0

 Attachments: CLOUDSTACK-6556.rar


 This issue found with automation run, test case performing below steps
 Steps to reproduce 
 Step 1 : Create advanced zone in KVM 
 Step 2 : create an domain and account 
 Step 3 : create network
 Step 4 : and deploy VM 
 Deploy VM failing with below error 
 2014-05-01 10:19:04,211 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-610af2b6 ctx-a56ad5cc ctx-ea6be136) (userId=2 
 accountId=2 sessionId=null) 10.223.240.194 -- GET 
 domainid=391ce37c-d0e4-11e3-9a99-1a6f7bb0d0a8zoneid=21489cf5-d741-408d-8997-1b06b8263799apiKey=_Nc4QvLyqqdrC6VgxX5JExUaGRYG2kHOkmTru6_TGeyHj5CKP3DLpt5bNc-XKip0SpALarDOqlSjPOWRghzCkwserviceofferingid=c32c9894-bb49-45ac-90a6-57e9340a476edisplayname=Test+VMsignature=7Y24BWLxzYoj1%2Bc5vqLpQJ00O9A%3Dtemplateid=3922f730-d0e4-11e3-9a99-1a6f7bb0d0a8response=jsonaccount=test-TestDeployVM-test_deploy_vm_multiple-LDX2GOname=testvmcommand=deployVirtualMachinehypervisor=KVM
  531 Acct[eedcbd60-08f6-45ee-b56d-a9979734914b-admin] does not have 
 permission to access resource 
 Ntwk[968f35d1-62b2-448c-835d-1bf688c2d99e|Guest|8]
 Network 968f35d1-62b2-448c-835d-1bf688c2d99e already exist, 
 mysql select * from networks where 
 uuid=968f35d1-62b2-448c-835d-1bf688c2d99e\G;
 *** 1. row ***
id: 579
  name: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  uuid: 968f35d1-62b2-448c-835d-1bf688c2d99e
  display_text: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  traffic_type: Guest
 broadcast_domain_type: Vlan
 broadcast_uri: NULL
   gateway: 10.1.1.1
  cidr: 10.1.1.0/24
  mode: Dhcp
   network_offering_id: 8
   physical_network_id: 200
data_center_id: 1
 guru_name: ExternalGuestNetworkGuru
 state: Destroy
   related: 579
 domain_id: 1
account_id: 546
  dns1: NULL
  dns2: NULL
 guru_data: NULL
set_fields: 0
  acl_type: Account
network_domain: test.domain.org
reservation_id: NULL
guest_type: Isolated
  restart_required: 0
   created: 2014-05-01 17:19:04
   removed: 2014-05-01 17:19:04
 specify_ip_ranges: 0
vpc_id: NULL
   ip6_gateway: NULL
  ip6_cidr: NULL
  network_cidr: NULL
   display_network: 1
network_acl_id: NULL
   streched_l2: 0
 1 row in set (0.00 sec)
 ERROR:
 No query specified
 mysql select * from account where id=546;
 +-+--+--+--+---+-+-+++-+-+
 | id  | account_name | uuid   
   | type | domain_id | state   | removed | 
 cleanup_needed | network_domain | default_zone_id | default |
 +-+--+--+--+---+-+-+++-+-+
 | 546 | test-TestDeployVM-test_deploy_vm_multiple-LDX2GO | 
 fcfd3a97-2f25-40e9-9a90-ded17c836678 |0 | 1 | enabled | 
 2014-05-01 17:19:04 |  0 | NULL   |NULL | 
   0 |
 

[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on test_volumes.py - AttributeError: VirtualMachine instance has no attribute 'hostid'

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987139#comment-13987139
 ] 

ASF subversion and git services commented on CLOUDSTACK-6443:
-

Commit 09c9f8dfbd6a18fbb4672d7ff8bd651c110b0cb7 in cloudstack's branch 
refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=09c9f8d ]

CLOUDSTACK-6443: [Automation] Two Test Cases failed on test_volumes.py
- AttributeError: VirtualMachine instance has no attribute 'hostid'.


 [Automation] Two Test Cases failed on test_volumes.py - AttributeError: 
 VirtualMachine instance has no attribute 'hostid'
 ---

 Key: CLOUDSTACK-6443
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, IAM
Affects Versions: 4.4.0
Reporter: Chandan Purushothama
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0


 Two Test Cases Failed:
 test_07_resize_fail
 test_08_resize_volume
 *Error Message1*:
 VirtualMachine instance has no attribute 'hostid'
   begin captured logging  
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 STARTED : TC: test_07_resize_fail :::
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail 
 Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: resizeVolume {'diskofferingid': 
 u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A=
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.223.240.161
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3Ddiskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2caid=invalid+id
  HTTP/1.1 431 330
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Request: 
 http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3Ddiskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2caid=invalid+id
  Response: { resizevolumeresponse : 
 {uuidList:[],errorcode:431,cserrorcode:,errortext:Unable to 
 execute API command resizevolume due to invalid value. Invalid parameter id 
 value=invalid id due to incorrect long value format, or entity does not exist 
 or due to incorrect parameter annotation for the field in api cmd class.} }
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': 
 u'b5521198-97f1-4f2c-afea-fcadf70d4249'}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk=
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.223.240.161
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=DbNaHKDzesuJcTU1thWGQg88UPk%3Ddiskofferingid=invalid+idid=b5521198-97f1-4f2c-afea-fcadf70d4249
  HTTP/1.1 431 342
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Request: 
 http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=DbNaHKDzesuJcTU1thWGQg88UPk%3Ddiskofferingid=invalid+idid=b5521198-97f1-4f2c-afea-fcadf70d4249
  Response: { resizevolumeresponse : 
 {uuidList:[],errorcode:431,cserrorcode:,errortext:Unable to 
 execute API command resizevolume due to invalid value. Invalid parameter 
 diskofferingid value=invalid id due to incorrect long value format, or entity 
 does not exist or due to incorrect parameter annotation for the field in api 
 cmd class.} }
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: listVolumes {'virtualmachineid': 
 u'bca5f583-139f-46e4-87d5-09fb5adac313', 'type': 'ROOT', 'listall': True}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed 

[jira] [Commented] (CLOUDSTACK-6502) IAMGroup.list and IAMPolicy.list in marvin base.py are not working.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987138#comment-13987138
 ] 

ASF subversion and git services commented on CLOUDSTACK-6502:
-

Commit 1b78a1c87de42aa3d96e58c30e36fa7b5663da9d in cloudstack's branch 
refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1b78a1c ]

CLOUDSTACK-6502:Remove trailing whitespaces.


 IAMGroup.list and IAMPolicy.list in marvin base.py are not working.
 ---

 Key: CLOUDSTACK-6502
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6502
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Affects Versions: 4.4.0
Reporter: Min Chen
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAMGroup.list and IAMPolicy.list in marvin base.py library have typo bugs, 
 which blocks folks from writing IAM group and policy list related automation 
 test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6558) IAM - Admin user is able to deploy VM in a regular user's Security Group.

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987148#comment-13987148
 ] 

ASF subversion and git services commented on CLOUDSTACK-6558:
-

Commit e89c628843692c9e7046192f5b6d4893b7a45ec6 in cloudstack's branch 
refs/heads/4.4-forward from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e89c628 ]

CLOUDSTACK-6558 IAM - Admin user is able to deploy VM in a regular user's 
Security Group.

Changes:
- Even for SecurityGroup, go through IAM to do permission checks for all type 
of accounts


 IAM - Admin user is able to deploy VM in a regular user's Security Group.
 -

 Key: CLOUDSTACK-6558
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6558
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Prachi Damle
Priority: Critical
 Fix For: 4.4.0


 IAM - Admin user is able to deploy VM in a regular user's Security Group.
 Steps to reproduce the problem:
 Basic Zone set up:
 As regular user , create a Security group.
 As admin , try to deploy a VM using this security group.
 Admin is allowed to deploy a VM using this security group.
 Expected Result:
 Admin should not be allowed to deploy a VM using regular user's security 
 group.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6560) IAM - Admin user is denied permission to create Egress rule for a user's network

2014-05-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987149#comment-13987149
 ] 

ASF subversion and git services commented on CLOUDSTACK-6560:
-

Commit 2e5b5291574417e31b4e81a6cc170e77a0cd7f65 in cloudstack's branch 
refs/heads/4.4-forward from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2e5b529 ]

CLOUDSTACK-6560: IAM - Admin user is denied permission to create Egress rule 
for a user's network

Changes:
- CS 4.3 handled Network entity in two ways:
a) Specified UseNetwork access and did a strict check w.r.t who can use this 
network. Regular users and Domain Admin went through the strict check. Root 
admin got access always.
b) Specified null access and that meant admins can access this network for 
the calling API that passes null access.

- Fixing CS 4.4 IAM to handle this behavior:
a) UseNetwork is mapped to UseEntry and IAM check will be done only for 
domain admin and regular users when this access is specified. Root Admin is 
grated access.
b) If null access is specified, root and domain admin both are granted 
access. Regular users still go through IAM.


 IAM - Admin user is denied permission to create Egress rule for a user's 
 network
 

 Key: CLOUDSTACK-6560
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6560
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
Reporter: Prachi Damle
Assignee: Prachi Damle
Priority: Critical
 Fix For: 4.4.0


 Steps to reproduce:
 - Setup Advance Zone
 - Create a regular user 
 - Login as the user and create an isolated network or deploy a VM that will 
 create a network 
 - Logout
 - Login as an Admin and list the user's network
 - Try to create Egress Firewall Rule on this network
 - Admin is denied permission



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6445) Simulator enhancements

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987622#comment-13987622
 ] 

ASF subversion and git services commented on CLOUDSTACK-6445:
-

Commit 82c082792ef0ec0a98604c7686f755adce511cc5 in cloudstack's branch 
refs/heads/master from [~koushikd]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=82c0827 ]

CLOUDSTACK-6445: Minor fixes in vm ha test


 Simulator enhancements
 --

 Key: CLOUDSTACK-6445
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6445
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Simulator
Affects Versions: 4.4.0
Reporter: Koushik Das
Assignee: Koushik Das
 Fix For: 4.5.0


 FS: 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simulator+enhancements



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6445) Simulator enhancements

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987621#comment-13987621
 ] 

ASF subversion and git services commented on CLOUDSTACK-6445:
-

Commit 362f89b9e1e93fc4e8d332d94ba8551e2db76977 in cloudstack's branch 
refs/heads/4.4-forward from [~koushikd]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=362f89b ]

CLOUDSTACK-6445: Minor fixes in vm ha test


 Simulator enhancements
 --

 Key: CLOUDSTACK-6445
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6445
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Simulator
Affects Versions: 4.4.0
Reporter: Koushik Das
Assignee: Koushik Das
 Fix For: 4.5.0


 FS: 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simulator+enhancements



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-4757) Support OVA files with multiple disks for templates

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987638#comment-13987638
 ] 

ASF subversion and git services commented on CLOUDSTACK-4757:
-

Commit ad8033f9807ca06f36ee85750a697fa9b4f284c7 in cloudstack's branch 
refs/heads/multiple-disk-ova from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ad8033f ]

CLOUDSTACK-4757. Deploy Virtual Machine - If datadisk templates are specified 
using parameter 'datadisktemplatetodiskofferinglist', then create virtual 
machine with additional volumes attached


 Support OVA files with multiple disks for templates
 ---

 Key: CLOUDSTACK-4757
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4757
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.3.0
Reporter: Likitha Shetty
Assignee: Likitha Shetty
 Fix For: 4.4.0


 CloudStack volumes and templates are one single virtual disk in case of 
 XenServer/XCP and KVM hypervisors since the files used for templates and 
 volumes are virtual disks (VHD, QCOW2). However, VMware volumes and templates 
 are in OVA format, which are archives that can contain a complete VM 
 including multiple VMDKs and other files such as ISOs. And currently, 
 Cloudstack only supports Template creation based on OVA files containing a 
 single disk. If a user creates a template from a OVA file containing more 
 than 1 disk and launches an instance using this template, only the first disk 
 is attached to the new instance and other disks are ignored.
 Similarly with uploaded volumes, attaching an uploaded volume that contains 
 multiple disks to a VM will result in only one VMDK to being attached to the 
 VM.
 This behavior needs to be improved in VMWare to support OVA files with 
 multiple disks for both uploaded volumes and templates. i.e. If a user 
 creates a template from a OVA file containing more than 1 disk and launches 
 an instance using this template, the first disk should be attached to the new 
 instance as the ROOT disk and volumes should be created based on other VMDK 
 disks in the OVA file and should be attached to the instance.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-4757) Support OVA files with multiple disks for templates

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987642#comment-13987642
 ] 

ASF subversion and git services commented on CLOUDSTACK-4757:
-

Commit 3532ffe5af5553e558cfe6de2fef059b8d5e100e in cloudstack's branch 
refs/heads/multiple-disk-ova from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3532ffe ]

CLOUDSTACK-4757. Marvin test to verify support for OVA containing multiple disk


 Support OVA files with multiple disks for templates
 ---

 Key: CLOUDSTACK-4757
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4757
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.3.0
Reporter: Likitha Shetty
Assignee: Likitha Shetty
 Fix For: 4.4.0


 CloudStack volumes and templates are one single virtual disk in case of 
 XenServer/XCP and KVM hypervisors since the files used for templates and 
 volumes are virtual disks (VHD, QCOW2). However, VMware volumes and templates 
 are in OVA format, which are archives that can contain a complete VM 
 including multiple VMDKs and other files such as ISOs. And currently, 
 Cloudstack only supports Template creation based on OVA files containing a 
 single disk. If a user creates a template from a OVA file containing more 
 than 1 disk and launches an instance using this template, only the first disk 
 is attached to the new instance and other disks are ignored.
 Similarly with uploaded volumes, attaching an uploaded volume that contains 
 multiple disks to a VM will result in only one VMDK to being attached to the 
 VM.
 This behavior needs to be improved in VMWare to support OVA files with 
 multiple disks for both uploaded volumes and templates. i.e. If a user 
 creates a template from a OVA file containing more than 1 disk and launches 
 an instance using this template, the first disk should be attached to the new 
 instance as the ROOT disk and volumes should be created based on other VMDK 
 disks in the OVA file and should be attached to the instance.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-4757) Support OVA files with multiple disks for templates

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987639#comment-13987639
 ] 

ASF subversion and git services commented on CLOUDSTACK-4757:
-

Commit 07d514fb61d35710c55e67d269af70dde5bac85d in cloudstack's branch 
refs/heads/multiple-disk-ova from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=07d514f ]

CLOUDSTACK-4757. Delete template - When delete is called on a template delete 
all datadisk templates that belong to the template


 Support OVA files with multiple disks for templates
 ---

 Key: CLOUDSTACK-4757
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4757
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.3.0
Reporter: Likitha Shetty
Assignee: Likitha Shetty
 Fix For: 4.4.0


 CloudStack volumes and templates are one single virtual disk in case of 
 XenServer/XCP and KVM hypervisors since the files used for templates and 
 volumes are virtual disks (VHD, QCOW2). However, VMware volumes and templates 
 are in OVA format, which are archives that can contain a complete VM 
 including multiple VMDKs and other files such as ISOs. And currently, 
 Cloudstack only supports Template creation based on OVA files containing a 
 single disk. If a user creates a template from a OVA file containing more 
 than 1 disk and launches an instance using this template, only the first disk 
 is attached to the new instance and other disks are ignored.
 Similarly with uploaded volumes, attaching an uploaded volume that contains 
 multiple disks to a VM will result in only one VMDK to being attached to the 
 VM.
 This behavior needs to be improved in VMWare to support OVA files with 
 multiple disks for both uploaded volumes and templates. i.e. If a user 
 creates a template from a OVA file containing more than 1 disk and launches 
 an instance using this template, the first disk should be attached to the new 
 instance as the ROOT disk and volumes should be created based on other VMDK 
 disks in the OVA file and should be attached to the instance.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-4757) Support OVA files with multiple disks for templates

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987641#comment-13987641
 ] 

ASF subversion and git services commented on CLOUDSTACK-4757:
-

Commit a6fd25ac3f6a4c382a9954360dd3afcdd27e1878 in cloudstack's branch 
refs/heads/multiple-disk-ova from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a6fd25a ]

CLOUDSTACK-4757. List templates - Add filter parent template id


 Support OVA files with multiple disks for templates
 ---

 Key: CLOUDSTACK-4757
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4757
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.3.0
Reporter: Likitha Shetty
Assignee: Likitha Shetty
 Fix For: 4.4.0


 CloudStack volumes and templates are one single virtual disk in case of 
 XenServer/XCP and KVM hypervisors since the files used for templates and 
 volumes are virtual disks (VHD, QCOW2). However, VMware volumes and templates 
 are in OVA format, which are archives that can contain a complete VM 
 including multiple VMDKs and other files such as ISOs. And currently, 
 Cloudstack only supports Template creation based on OVA files containing a 
 single disk. If a user creates a template from a OVA file containing more 
 than 1 disk and launches an instance using this template, only the first disk 
 is attached to the new instance and other disks are ignored.
 Similarly with uploaded volumes, attaching an uploaded volume that contains 
 multiple disks to a VM will result in only one VMDK to being attached to the 
 VM.
 This behavior needs to be improved in VMWare to support OVA files with 
 multiple disks for both uploaded volumes and templates. i.e. If a user 
 creates a template from a OVA file containing more than 1 disk and launches 
 an instance using this template, the first disk should be attached to the new 
 instance as the ROOT disk and volumes should be created based on other VMDK 
 disks in the OVA file and should be attached to the instance.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-4757) Support OVA files with multiple disks for templates

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987640#comment-13987640
 ] 

ASF subversion and git services commented on CLOUDSTACK-4757:
-

Commit 6a3844155d405e750af0d7b74d43ffcbb5b8e605 in cloudstack's branch 
refs/heads/multiple-disk-ova from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6a38441 ]

CLOUDSTACK-4757. Template copy - Copy all Datadisk templates that belong to the 
template along with the template.
Disallow individual copy of Datadisk templates


 Support OVA files with multiple disks for templates
 ---

 Key: CLOUDSTACK-4757
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4757
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.3.0
Reporter: Likitha Shetty
Assignee: Likitha Shetty
 Fix For: 4.4.0


 CloudStack volumes and templates are one single virtual disk in case of 
 XenServer/XCP and KVM hypervisors since the files used for templates and 
 volumes are virtual disks (VHD, QCOW2). However, VMware volumes and templates 
 are in OVA format, which are archives that can contain a complete VM 
 including multiple VMDKs and other files such as ISOs. And currently, 
 Cloudstack only supports Template creation based on OVA files containing a 
 single disk. If a user creates a template from a OVA file containing more 
 than 1 disk and launches an instance using this template, only the first disk 
 is attached to the new instance and other disks are ignored.
 Similarly with uploaded volumes, attaching an uploaded volume that contains 
 multiple disks to a VM will result in only one VMDK to being attached to the 
 VM.
 This behavior needs to be improved in VMWare to support OVA files with 
 multiple disks for both uploaded volumes and templates. i.e. If a user 
 creates a template from a OVA file containing more than 1 disk and launches 
 an instance using this template, the first disk should be attached to the new 
 instance as the ROOT disk and volumes should be created based on other VMDK 
 disks in the OVA file and should be attached to the instance.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6317) [VMware] Tagged VLAN support broken for Management/Control/Storage traffic

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987656#comment-13987656
 ] 

ASF subversion and git services commented on CLOUDSTACK-6317:
-

Commit 5bc72ea25000456b4a479baac8f9e0690794c0d2 in cloudstack's branch 
refs/heads/master from [~sateeshc]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5bc72ea ]

CLOUDSTACK-6317 [VMware] Tagged VLAN support broken for 
Management/Control/Storage traffic

Check if switch name detected from traffic label for management, storage, 
control traffic is null before falling back to default value.

Signed-off-by: Sateesh Chodapuneedi sate...@apache.org


 [VMware] Tagged VLAN support broken for Management/Control/Storage traffic
 --

 Key: CLOUDSTACK-6317
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6317
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: VMware
Affects Versions: 4.3.0, 4.4.0
 Environment: VMware vCenter 5.1, ESXi 5.0 hosts
 MS with ACS 4.3.0
Reporter: Sateesh Chodapuneedi
Assignee: Sateesh Chodapuneedi
Priority: Critical
 Fix For: 4.4.0, 4.3.1


 Prior to ACS 4.3.0 CloudStack used to support tagged VLAN for management / 
 storage / control traffic via traffic label, where admin would specify the 
 VLAN in comma separated string of vmware network traffic label. E.g. 
 vSwitch0,100 - This means management traffic would use standard vSwitch port 
 group tagged with VLAN 100 which sits on vSwitch0 existing on ESXi host.
 This is functionality was broken since below commit in ACS 4.3 branch,
 Commit 7c4831df9292115466fb9e01fcba952a5dad31c1 in branch refs/heads/4.3 from 
 Hugo Trippaers
 [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7c4831d ]
 This commit overwrites the parsed vSwitch name, from traffic label, with 
 traffic label specified by admin resulting into below error during deployment 
 of SSVM (or any VM that needs management/storage traffic)
 2014-04-01 08:23:19,866 DEBUG [c.c.h.v.r.VmwareResource] 
 (DirectAgent-9:ctx-862d86ff 10.102.192.3) VM v-2-VM will be started with NIC 
 device type: E1000
 2014-04-01 08:23:19,866 INFO  [c.c.h.v.r.VmwareResource] 
 (DirectAgent-9:ctx-862d86ff 10.102.192.3) Prepare NIC device based on NicTO: 
 {deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:07c38800-6da3-4596-b0ea-09047d45970e,mac:02:00:63:46:00:02,broadcastType:LinkLocal,type:Control,isSecurityGroupEnabled:false,name:vSwitch0,100}
 2014-04-01 08:23:21,150 ERROR [c.c.h.v.m.HypervisorHostHelper] 
 (DirectAgent-6:ctx-a6062e05 10.102.192.3) Unable to find vSwitchvSwitch0,100
 2014-04-01 08:23:21,151 WARN  [c.c.h.v.r.VmwareResource] 
 (DirectAgent-6:ctx-a6062e05 10.102.192.3) StartCommand failed due to 
 Exception: java.lang.Exception
 Message: Unable to find vSwitchvSwitch0,100



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6317) [VMware] Tagged VLAN support broken for Management/Control/Storage traffic

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987659#comment-13987659
 ] 

ASF subversion and git services commented on CLOUDSTACK-6317:
-

Commit ce7a689ae16f5a28b3ad9ff50a7bb19af31df4cf in cloudstack's branch 
refs/heads/4.4-forward from [~sateeshc]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ce7a689 ]

CLOUDSTACK-6317 [VMware] Tagged VLAN support broken for 
Management/Control/Storage traffic

Check if switch name detected from traffic label for management, storage, 
control traffic is null before falling back to default value.

Signed-off-by: Sateesh Chodapuneedi sate...@apache.org


 [VMware] Tagged VLAN support broken for Management/Control/Storage traffic
 --

 Key: CLOUDSTACK-6317
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6317
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: VMware
Affects Versions: 4.3.0, 4.4.0
 Environment: VMware vCenter 5.1, ESXi 5.0 hosts
 MS with ACS 4.3.0
Reporter: Sateesh Chodapuneedi
Assignee: Sateesh Chodapuneedi
Priority: Critical
 Fix For: 4.4.0, 4.3.1


 Prior to ACS 4.3.0 CloudStack used to support tagged VLAN for management / 
 storage / control traffic via traffic label, where admin would specify the 
 VLAN in comma separated string of vmware network traffic label. E.g. 
 vSwitch0,100 - This means management traffic would use standard vSwitch port 
 group tagged with VLAN 100 which sits on vSwitch0 existing on ESXi host.
 This is functionality was broken since below commit in ACS 4.3 branch,
 Commit 7c4831df9292115466fb9e01fcba952a5dad31c1 in branch refs/heads/4.3 from 
 Hugo Trippaers
 [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7c4831d ]
 This commit overwrites the parsed vSwitch name, from traffic label, with 
 traffic label specified by admin resulting into below error during deployment 
 of SSVM (or any VM that needs management/storage traffic)
 2014-04-01 08:23:19,866 DEBUG [c.c.h.v.r.VmwareResource] 
 (DirectAgent-9:ctx-862d86ff 10.102.192.3) VM v-2-VM will be started with NIC 
 device type: E1000
 2014-04-01 08:23:19,866 INFO  [c.c.h.v.r.VmwareResource] 
 (DirectAgent-9:ctx-862d86ff 10.102.192.3) Prepare NIC device based on NicTO: 
 {deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:07c38800-6da3-4596-b0ea-09047d45970e,mac:02:00:63:46:00:02,broadcastType:LinkLocal,type:Control,isSecurityGroupEnabled:false,name:vSwitch0,100}
 2014-04-01 08:23:21,150 ERROR [c.c.h.v.m.HypervisorHostHelper] 
 (DirectAgent-6:ctx-a6062e05 10.102.192.3) Unable to find vSwitchvSwitch0,100
 2014-04-01 08:23:21,151 WARN  [c.c.h.v.r.VmwareResource] 
 (DirectAgent-6:ctx-a6062e05 10.102.192.3) StartCommand failed due to 
 Exception: java.lang.Exception
 Message: Unable to find vSwitchvSwitch0,100



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6564) OVS distributed routing: use file based OF rule updates

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987670#comment-13987670
 ] 

ASF subversion and git services commented on CLOUDSTACK-6564:
-

Commit d5374ed650aaa36d68ee16ca5e69c97e197f1b6e in cloudstack's branch 
refs/heads/4.4-forward from [~murali.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d5374ed ]

CLOUDSTACK-6564: OVS distributed routing: use file based OF rule updates

use ovs-ofctl replace flows by file name option to update the OF rules
instead of sequenetially configuring the rules.


 OVS distributed routing: use file based OF rule updates
 ---

 Key: CLOUDSTACK-6564
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6564
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Affects Versions: 4.4.0
Reporter: Murali Reddy
Assignee: Murali Reddy
 Fix For: 4.4.0


 When,  VpcPhysicalTopologyConfigCommand, OvsVpcRoutingPoli 
 cyConfigCommand are sent by management server, scripts that populate the open 
 flow rules to the bridge are configuring rules sequentially one after other. 
 this no effective and probability error prone as well if a rule fails to 
 program there is no revoking.
 To avoid such situation first create a file, that has all the updates and use 
 the ovs-ofctl option to replace the bridge rules through the file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6564) OVS distributed routing: use file based OF rule updates

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987673#comment-13987673
 ] 

ASF subversion and git services commented on CLOUDSTACK-6564:
-

Commit 9e98cbf1c1c5371e02f0325dba841532ddad116d in cloudstack's branch 
refs/heads/master from [~murali.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9e98cbf ]

CLOUDSTACK-6564: OVS distributed routing: use file based OF rule updates

use ovs-ofctl replace flows by file name option to update the OF rules
instead of sequenetially configuring the rules.


 OVS distributed routing: use file based OF rule updates
 ---

 Key: CLOUDSTACK-6564
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6564
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Affects Versions: 4.4.0
Reporter: Murali Reddy
Assignee: Murali Reddy
 Fix For: 4.4.0


 When,  VpcPhysicalTopologyConfigCommand, OvsVpcRoutingPoli 
 cyConfigCommand are sent by management server, scripts that populate the open 
 flow rules to the bridge are configuring rules sequentially one after other. 
 this no effective and probability error prone as well if a rule fails to 
 program there is no revoking.
 To avoid such situation first create a file, that has all the updates and use 
 the ovs-ofctl option to replace the bridge rules through the file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6513) IAM - Templates - When templates are listed with templatefilter=shared is used , we see public templates also being included in the list.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987890#comment-13987890
 ] 

ASF subversion and git services commented on CLOUDSTACK-6513:
-

Commit a3a0f13bb8f5a16c1660b26e3154a97e8a743c06 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a3a0f13 ]

CLOUDSTACK-6513: remove commented code.


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 ---

 Key: CLOUDSTACK-6513
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6513
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 Steps to reproduce the problem:
 As user1 , Create a private template and a public template.
 Grant access to the private template for user2 using 
 updateTemplatePermissions.
 As user2 , list templates with templatefilter=shared. This returns both 
 public and the the shared template.
 GET 
 http://10.223.49.6/client/api?command=listTemplatespagesize=100page=1listAll=truetemplatefilter=sharedapiKey=SrgUY-U-nUl4qsOyn409kCjA2jC7dR5ReIV9SjdnmzLOn3c0Fm-vZbDSpkldUjuqLAXt5ShodtXYOgRB5NCnJQsignature=WBO8ll9nyjiB29aVq%2FpUsEQrthM%3D
  \n\n
 ?xml version=1.0 encoding=UTF-8?listtemplatesresponse 
 cloud-stack-version=4.4.0-SNAPSHOTcount6/counttemplateida2065bcc-7139-46b0-ac15-db7d3ff7dd75/idnamePublic_featured_d1a-TP7TPK/namedisplaytextpublic
  and feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateidce1635dc-1fcb-4f60-8d2f-d1129a3771ce/idnamePublic_not_featured_d2a-NPYFSN/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD2/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD2/domaindomainid18222e53-7221-4d6f-9a76-8f59869f24b2/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateid223e0c09-e18e-4188-9d8e-7ff2e2305547/idnamePrivate_featured_d1-E9PQHO/namedisplaytextprivate
  and featured 
 Template/displaytextispublicfalse/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateida7b69a5e-4cb3-45fa-b3e7-dab3a6b73e45/idnamePublic_not_featured_d1a-XOCR05/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 

[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on test_volumes.py - AttributeError: VirtualMachine instance has no attribute 'hostid'

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987891#comment-13987891
 ] 

ASF subversion and git services commented on CLOUDSTACK-6443:
-

Commit 5132264309c91730debead4ef91c332991584642 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5132264 ]

CLOUDSTACK-6443: [Automation] Two Test Cases failed on test_volumes.py
- AttributeError: VirtualMachine instance has no attribute 'hostid'.


 [Automation] Two Test Cases failed on test_volumes.py - AttributeError: 
 VirtualMachine instance has no attribute 'hostid'
 ---

 Key: CLOUDSTACK-6443
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, IAM
Affects Versions: 4.4.0
Reporter: Chandan Purushothama
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0


 Two Test Cases Failed:
 test_07_resize_fail
 test_08_resize_volume
 *Error Message1*:
 VirtualMachine instance has no attribute 'hostid'
   begin captured logging  
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 STARTED : TC: test_07_resize_fail :::
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail 
 Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: resizeVolume {'diskofferingid': 
 u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A=
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.223.240.161
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3Ddiskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2caid=invalid+id
  HTTP/1.1 431 330
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Request: 
 http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3Ddiskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2caid=invalid+id
  Response: { resizevolumeresponse : 
 {uuidList:[],errorcode:431,cserrorcode:,errortext:Unable to 
 execute API command resizevolume due to invalid value. Invalid parameter id 
 value=invalid id due to incorrect long value format, or entity does not exist 
 or due to incorrect parameter annotation for the field in api cmd class.} }
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': 
 u'b5521198-97f1-4f2c-afea-fcadf70d4249'}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk=
 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
 (1): 10.223.240.161
 requests.packages.urllib3.connectionpool: DEBUG: GET 
 /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=DbNaHKDzesuJcTU1thWGQg88UPk%3Ddiskofferingid=invalid+idid=b5521198-97f1-4f2c-afea-fcadf70d4249
  HTTP/1.1 431 342
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Request: 
 http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qresponse=jsoncommand=resizeVolumesignature=DbNaHKDzesuJcTU1thWGQg88UPk%3Ddiskofferingid=invalid+idid=b5521198-97f1-4f2c-afea-fcadf70d4249
  Response: { resizevolumeresponse : 
 {uuidList:[],errorcode:431,cserrorcode:,errortext:Unable to 
 execute API command resizevolume due to invalid value. Invalid parameter 
 diskofferingid value=invalid id due to incorrect long value format, or entity 
 does not exist or due to incorrect parameter annotation for the field in api 
 cmd class.} }
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 sending GET request: listVolumes {'virtualmachineid': 
 u'bca5f583-139f-46e4-87d5-09fb5adac313', 'type': 'ROOT', 'listall': True}
 test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: 
 Computed 

[jira] [Commented] (CLOUDSTACK-6513) IAM - Templates - When templates are listed with templatefilter=shared is used , we see public templates also being included in the list.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987889#comment-13987889
 ] 

ASF subversion and git services commented on CLOUDSTACK-6513:
-

Commit 554cab8ea13614f3cbe5349b161672fb8da2c416 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=554cab8 ]

CLOUDSTACK-6513: templateFilter=shared should not show self-owned
template.


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 ---

 Key: CLOUDSTACK-6513
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6513
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 IAM - Templates - When templates are listed with templatefilter=shared is 
 used , we see public templates also being included in the list.
 Steps to reproduce the problem:
 As user1 , Create a private template and a public template.
 Grant access to the private template for user2 using 
 updateTemplatePermissions.
 As user2 , list templates with templatefilter=shared. This returns both 
 public and the the shared template.
 GET 
 http://10.223.49.6/client/api?command=listTemplatespagesize=100page=1listAll=truetemplatefilter=sharedapiKey=SrgUY-U-nUl4qsOyn409kCjA2jC7dR5ReIV9SjdnmzLOn3c0Fm-vZbDSpkldUjuqLAXt5ShodtXYOgRB5NCnJQsignature=WBO8ll9nyjiB29aVq%2FpUsEQrthM%3D
  \n\n
 ?xml version=1.0 encoding=UTF-8?listtemplatesresponse 
 cloud-stack-version=4.4.0-SNAPSHOTcount6/counttemplateida2065bcc-7139-46b0-ac15-db7d3ff7dd75/idnamePublic_featured_d1a-TP7TPK/namedisplaytextpublic
  and feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateidce1635dc-1fcb-4f60-8d2f-d1129a3771ce/idnamePublic_not_featured_d2a-NPYFSN/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD2/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD2/domaindomainid18222e53-7221-4d6f-9a76-8f59869f24b2/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateid223e0c09-e18e-4188-9d8e-7ff2e2305547/idnamePrivate_featured_d1-E9PQHO/namedisplaytextprivate
  and featured 
 Template/displaytextispublicfalse/ispubliccreated2014-04-21T13:50:36-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedtrue/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 (64-bit)/ostypenameaccounttesttemplateD1A/accountzoneid75d61334-ff70-49c3-99ed-3af702cd51d7/zoneidzonenameBLR1/zonenamesize5242880/sizetemplatetypeUSER/templatetypehypervisorSimulator/hypervisordomainD1/domaindomainid691ab662-6793-42a0-96e6-3b31a2c4e52d/domainidisextractabletrue/isextractablesshkeyenabledfalse/sshkeyenabledisdynamicallyscalablefalse/isdynamicallyscalable/templatetemplateida7b69a5e-4cb3-45fa-b3e7-dab3a6b73e45/idnamePublic_not_featured_d1a-XOCR05/namedisplaytextpublic
  and not feature 
 Template/displaytextispublictrue/ispubliccreated2014-04-21T13:50:35-0400/createdisreadytrue/isreadypasswordenabledfalse/passwordenabledformatVHD/formatisfeaturedfalse/isfeaturedcrossZonesfalse/crossZonesostypeide5ebce64-c019-11e3-907f-4adf980f9414/ostypeidostypenameCentOS
  5.3 
 

[jira] [Commented] (CLOUDSTACK-4549) ceph:deployvm from template created from snapshot is failing

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987894#comment-13987894
 ] 

ASF subversion and git services commented on CLOUDSTACK-4549:
-

Commit 1aff3a5f08f52573f0b50d5f016dc4e64a051079 in cloudstack's branch 
refs/heads/4.4 from [~widodh]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1aff3a5 ]

CLOUDSTACK-4549: Do not force RBD snapshot backups to RAW format

Since we use qemu-img to copy from RBD to Secondary Storage we no
longer have to force to RAW images, but can stick with QCOW2

When the snapshot backups are QCOW2 format they can easily be deployed
again when restoring from a backup

Conflicts:


plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java


 ceph:deployvm from template created from snapshot is failing
 

 Key: CLOUDSTACK-4549
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4549
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
Reporter: sadhu suresh
Assignee: Wido den Hollander
Priority: Critical
 Fix For: 4.4.0

 Attachments: management-server.rar


 VM deployment form template which is created form snapshot is failing where 
 as VM deployment with uploaded template successful.
 created template form snapshot is storing in raw 
 format(https://10-147-49-100.realhostip.com/userdata/0c826645-ec82-40f1-a1b0-38fc9ba1c76f.raw)..
  not sure are we converting again to QCwo2
 when we try to deploy a VM
 steps:
 1.create a ceph instance(configure compute offering with RBD and deploy a vm)
 2.Once it successful,select the root partition and perform snapshot
 3.once snapshot successful,create a template from snapshot
 4 try to create vm uning above VM
 actual result:
 deploy vm failing with exception
 -29 15:21:43,756 DEBUG [cloud.network.NetworkModelImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Service 
 SecurityGroup is not supported in the network id=204
 2013-08-29 15:21:43,762 DEBUG 
 [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-14:job-42 = 
 [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Applying userdata and password 
 entry in network Ntwk[204|Guest|8]
 2013-08-29 15:21:43,800 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Seq 
 1-2089159931: Sending  { Cmd , MgmtId: 7175246184473, via: 1, Ver: v1, Flags: 
 100111, 
 [{com.cloud.agent.api.routing.SavePasswordCommand:{password:fnirq_cnffjbeq,vmIpAddress:10.1.1.140,vmName:6e798618-8e4d-4305-94a1-642e5f3aad08,executeInSequence:true,accessDetails:{router.guest.ip:10.1.1.1,zone.network.type:Advanced,router.ip:169.254.2.248,router.name:r-15-VM},wait:0}},{com.cloud.agent.api.routing.VmDataCommand:{vmIpAddress:10.1.1.140,vmName:6e798618-8e4d-4305-94a1-642e5f3aad08,executeInSequence:true,accessDetails:{router.guest.ip:10.1.1.1,zone.network.type:Advanced,router.ip:169.254.2.248,router.name:r-15-VM},wait:0}}]
  }
 2013-08-29 15:21:44,168 DEBUG [agent.transport.Request] 
 (AgentManager-Handler-14:null) Seq 1-2089159931: Processing:  { Ans: , 
 MgmtId: 7175246184473, via: 1, Ver: v1, Flags: 110, 
 [{com.cloud.agent.api.Answer:{result:true,wait:0}},{com.cloud.agent.api.Answer:{result:true,wait:0}}]
  }
 2013-08-29 15:21:44,169 DEBUG [agent.manager.AgentAttache] 
 (AgentManager-Handler-14:null) Seq 1-2089159931: No more commands found
 2013-08-29 15:21:44,169 DEBUG [agent.transport.Request] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Seq 
 1-2089159931: Received:  { Ans: , MgmtId: 7175246184473, via: 1, Ver: v1, 
 Flags: 110, { Answer, Answer } }
 2013-08-29 15:21:44,179 DEBUG [cloud.network.NetworkModelImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Service 
 SecurityGroup is not supported in the network id=204
 2013-08-29 15:21:44,182 DEBUG [cloud.storage.VolumeManagerImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Checking 
 if we need to prepare 1 volumes for 
 VM[User|6e798618-8e4d-4305-94a1-642e5f3aad08]
 2013-08-29 15:21:44,207 DEBUG [storage.image.TemplateDataFactoryImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) template 
 202 is already in store:1, type:Image
 2013-08-29 15:21:44,219 DEBUG [storage.datastore.PrimaryDataStoreImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) Not found 
 (templateId:202poolId:5) in template_spool_ref, persisting it
 2013-08-29 15:21:44,234 DEBUG [storage.image.TemplateDataFactoryImpl] 
 (Job-Executor-14:job-42 = [ 3dcbbb22-d258-4859-bf3f-c8a620768e25 ]) 

[jira] [Commented] (CLOUDSTACK-6558) IAM - Admin user is able to deploy VM in a regular user's Security Group.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987897#comment-13987897
 ] 

ASF subversion and git services commented on CLOUDSTACK-6558:
-

Commit 33c3752d0e08d29962762872da845b66b0c04339 in cloudstack's branch 
refs/heads/4.4 from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=33c3752 ]

CLOUDSTACK-6558 IAM - Admin user is able to deploy VM in a regular user's 
Security Group.

Changes:
- Even for SecurityGroup, go through IAM to do permission checks for all type 
of accounts


 IAM - Admin user is able to deploy VM in a regular user's Security Group.
 -

 Key: CLOUDSTACK-6558
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6558
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Prachi Damle
Priority: Critical
 Fix For: 4.4.0


 IAM - Admin user is able to deploy VM in a regular user's Security Group.
 Steps to reproduce the problem:
 Basic Zone set up:
 As regular user , create a Security group.
 As admin , try to deploy a VM using this security group.
 Admin is allowed to deploy a VM using this security group.
 Expected Result:
 Admin should not be allowed to deploy a VM using regular user's security 
 group.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6560) IAM - Admin user is denied permission to create Egress rule for a user's network

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987898#comment-13987898
 ] 

ASF subversion and git services commented on CLOUDSTACK-6560:
-

Commit c4ab1d57727af9b81c26a32a09137c06017f in cloudstack's branch 
refs/heads/4.4 from [~prachidamle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c4ab1d5 ]

CLOUDSTACK-6560: IAM - Admin user is denied permission to create Egress rule 
for a user's network

Changes:
- CS 4.3 handled Network entity in two ways:
a) Specified UseNetwork access and did a strict check w.r.t who can use this 
network. Regular users and Domain Admin went through the strict check. Root 
admin got access always.
b) Specified null access and that meant admins can access this network for 
the calling API that passes null access.

- Fixing CS 4.4 IAM to handle this behavior:
a) UseNetwork is mapped to UseEntry and IAM check will be done only for 
domain admin and regular users when this access is specified. Root Admin is 
grated access.
b) If null access is specified, root and domain admin both are granted 
access. Regular users still go through IAM.


 IAM - Admin user is denied permission to create Egress rule for a user's 
 network
 

 Key: CLOUDSTACK-6560
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6560
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
Reporter: Prachi Damle
Assignee: Prachi Damle
Priority: Critical
 Fix For: 4.4.0


 Steps to reproduce:
 - Setup Advance Zone
 - Create a regular user 
 - Login as the user and create an isolated network or deploy a VM that will 
 create a network 
 - Logout
 - Login as an Admin and list the user's network
 - Try to create Egress Firewall Rule on this network
 - Admin is denied permission



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6556) [Automation] Deploy VM failing with error does not have permission to access resource Ntwk

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987902#comment-13987902
 ] 

ASF subversion and git services commented on CLOUDSTACK-6556:
-

Commit 96cd858d97a06dde6f22d270363255706f1f2101 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=96cd858 ]

CLOUDSTACK-6556: Deploy VM failing with error does
not have permission to access resource Ntwk.


 [Automation] Deploy VM failing with error does not have permission to access 
 resource Ntwk
 

 Key: CLOUDSTACK-6556
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6556
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: KVM advanced zone
 Build - 4.4-forward
Reporter: Rayees Namathponnan
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0

 Attachments: CLOUDSTACK-6556.rar, management.rar


 This issue found with automation run, test case performing below steps
 Steps to reproduce 
 Step 1 : Create advanced zone in KVM 
 Step 2 : create an domain and account 
 Step 3 : create network
 Step 4 : and deploy VM 
 Deploy VM failing with below error 
 2014-05-01 10:19:04,211 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-610af2b6 ctx-a56ad5cc ctx-ea6be136) (userId=2 
 accountId=2 sessionId=null) 10.223.240.194 -- GET 
 domainid=391ce37c-d0e4-11e3-9a99-1a6f7bb0d0a8zoneid=21489cf5-d741-408d-8997-1b06b8263799apiKey=_Nc4QvLyqqdrC6VgxX5JExUaGRYG2kHOkmTru6_TGeyHj5CKP3DLpt5bNc-XKip0SpALarDOqlSjPOWRghzCkwserviceofferingid=c32c9894-bb49-45ac-90a6-57e9340a476edisplayname=Test+VMsignature=7Y24BWLxzYoj1%2Bc5vqLpQJ00O9A%3Dtemplateid=3922f730-d0e4-11e3-9a99-1a6f7bb0d0a8response=jsonaccount=test-TestDeployVM-test_deploy_vm_multiple-LDX2GOname=testvmcommand=deployVirtualMachinehypervisor=KVM
  531 Acct[eedcbd60-08f6-45ee-b56d-a9979734914b-admin] does not have 
 permission to access resource 
 Ntwk[968f35d1-62b2-448c-835d-1bf688c2d99e|Guest|8]
 Network 968f35d1-62b2-448c-835d-1bf688c2d99e already exist, 
 mysql select * from networks where 
 uuid=968f35d1-62b2-448c-835d-1bf688c2d99e\G;
 *** 1. row ***
id: 579
  name: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  uuid: 968f35d1-62b2-448c-835d-1bf688c2d99e
  display_text: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  traffic_type: Guest
 broadcast_domain_type: Vlan
 broadcast_uri: NULL
   gateway: 10.1.1.1
  cidr: 10.1.1.0/24
  mode: Dhcp
   network_offering_id: 8
   physical_network_id: 200
data_center_id: 1
 guru_name: ExternalGuestNetworkGuru
 state: Destroy
   related: 579
 domain_id: 1
account_id: 546
  dns1: NULL
  dns2: NULL
 guru_data: NULL
set_fields: 0
  acl_type: Account
network_domain: test.domain.org
reservation_id: NULL
guest_type: Isolated
  restart_required: 0
   created: 2014-05-01 17:19:04
   removed: 2014-05-01 17:19:04
 specify_ip_ranges: 0
vpc_id: NULL
   ip6_gateway: NULL
  ip6_cidr: NULL
  network_cidr: NULL
   display_network: 1
network_acl_id: NULL
   streched_l2: 0
 1 row in set (0.00 sec)
 ERROR:
 No query specified
 mysql select * from account where id=546;
 +-+--+--+--+---+-+-+++-+-+
 | id  | account_name | uuid   
   | type | domain_id | state   | removed | 
 cleanup_needed | network_domain | default_zone_id | default |
 +-+--+--+--+---+-+-+++-+-+
 | 546 | test-TestDeployVM-test_deploy_vm_multiple-LDX2GO | 
 fcfd3a97-2f25-40e9-9a90-ded17c836678 |0 | 1 | enabled | 
 2014-05-01 17:19:04 |  0 | NULL   |NULL | 
   0 |
 

[jira] [Commented] (CLOUDSTACK-6556) [Automation] Deploy VM failing with error does not have permission to access resource Ntwk

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987901#comment-13987901
 ] 

ASF subversion and git services commented on CLOUDSTACK-6556:
-

Commit 9f798823effac147a4d02adc350c940bff2ec9f5 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9f79882 ]

CLOUDSTACK-6556: [Automation] Deploy VM failing with error does not
have permission to access resource Ntwk.


 [Automation] Deploy VM failing with error does not have permission to access 
 resource Ntwk
 

 Key: CLOUDSTACK-6556
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6556
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: KVM advanced zone
 Build - 4.4-forward
Reporter: Rayees Namathponnan
Assignee: Min Chen
Priority: Blocker
 Fix For: 4.4.0

 Attachments: CLOUDSTACK-6556.rar, management.rar


 This issue found with automation run, test case performing below steps
 Steps to reproduce 
 Step 1 : Create advanced zone in KVM 
 Step 2 : create an domain and account 
 Step 3 : create network
 Step 4 : and deploy VM 
 Deploy VM failing with below error 
 2014-05-01 10:19:04,211 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-610af2b6 ctx-a56ad5cc ctx-ea6be136) (userId=2 
 accountId=2 sessionId=null) 10.223.240.194 -- GET 
 domainid=391ce37c-d0e4-11e3-9a99-1a6f7bb0d0a8zoneid=21489cf5-d741-408d-8997-1b06b8263799apiKey=_Nc4QvLyqqdrC6VgxX5JExUaGRYG2kHOkmTru6_TGeyHj5CKP3DLpt5bNc-XKip0SpALarDOqlSjPOWRghzCkwserviceofferingid=c32c9894-bb49-45ac-90a6-57e9340a476edisplayname=Test+VMsignature=7Y24BWLxzYoj1%2Bc5vqLpQJ00O9A%3Dtemplateid=3922f730-d0e4-11e3-9a99-1a6f7bb0d0a8response=jsonaccount=test-TestDeployVM-test_deploy_vm_multiple-LDX2GOname=testvmcommand=deployVirtualMachinehypervisor=KVM
  531 Acct[eedcbd60-08f6-45ee-b56d-a9979734914b-admin] does not have 
 permission to access resource 
 Ntwk[968f35d1-62b2-448c-835d-1bf688c2d99e|Guest|8]
 Network 968f35d1-62b2-448c-835d-1bf688c2d99e already exist, 
 mysql select * from networks where 
 uuid=968f35d1-62b2-448c-835d-1bf688c2d99e\G;
 *** 1. row ***
id: 579
  name: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  uuid: 968f35d1-62b2-448c-835d-1bf688c2d99e
  display_text: 
 test-TestDeployVM-test_deploy_vm_multiple-LDX2GO-network
  traffic_type: Guest
 broadcast_domain_type: Vlan
 broadcast_uri: NULL
   gateway: 10.1.1.1
  cidr: 10.1.1.0/24
  mode: Dhcp
   network_offering_id: 8
   physical_network_id: 200
data_center_id: 1
 guru_name: ExternalGuestNetworkGuru
 state: Destroy
   related: 579
 domain_id: 1
account_id: 546
  dns1: NULL
  dns2: NULL
 guru_data: NULL
set_fields: 0
  acl_type: Account
network_domain: test.domain.org
reservation_id: NULL
guest_type: Isolated
  restart_required: 0
   created: 2014-05-01 17:19:04
   removed: 2014-05-01 17:19:04
 specify_ip_ranges: 0
vpc_id: NULL
   ip6_gateway: NULL
  ip6_cidr: NULL
  network_cidr: NULL
   display_network: 1
network_acl_id: NULL
   streched_l2: 0
 1 row in set (0.00 sec)
 ERROR:
 No query specified
 mysql select * from account where id=546;
 +-+--+--+--+---+-+-+++-+-+
 | id  | account_name | uuid   
   | type | domain_id | state   | removed | 
 cleanup_needed | network_domain | default_zone_id | default |
 +-+--+--+--+---+-+-+++-+-+
 | 546 | test-TestDeployVM-test_deploy_vm_multiple-LDX2GO | 
 fcfd3a97-2f25-40e9-9a90-ded17c836678 |0 | 1 | enabled | 
 2014-05-01 17:19:04 |  0 | NULL   |NULL | 
   0 |
 

[jira] [Commented] (CLOUDSTACK-6535) IAM:MS:API createVMSnapshot doesn't preserve access rights

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987900#comment-13987900
 ] 

ASF subversion and git services commented on CLOUDSTACK-6535:
-

Commit 4ebde8351924ec14bab8fb9dae59c238ebbcd440 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4ebde83 ]

CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
rights.


 IAM:MS:API createVMSnapshot doesn't preserve access rights
 --

 Key: CLOUDSTACK-6535
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6535
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API, IAM
Affects Versions: 4.4.0
 Environment: 4.4
Reporter: Parth Jagirdar
Assignee: Min Chen
Priority: Critical
 Attachments: apilog.log.bz2, db_dump.sql.bz2, 
 management-server.log.bz2


 As domain Admin or as regular user; one can create a snapshot of a VM owned 
 by other users. (Create Snapshot succeeds across Domains as well).
 Please refer to API and MS logs.
 DB Dump is attached.
 2014-04-29 15:32:38,316 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-19:ctx-baaf5fbe ctx-d89f1942) (userId=9
  accountId=9 sessionId=13E9CF7AD4BB55EE9EDF2920D6E62915) 10.215.2.19 -- GET 
 command=createVMSnapshotvir
 tualmachineid=219d649d-b6fc-475e-ab0f-8800a7f95235response=jsonsessionkey=p1pPn2KtylzYt92NSHuE2u4G68w%
 3D 200 { createvmsnapshotresponse : 
 {id:8,jobid:fa37d77f-28b0-485b-af81-834a07ed6e4e} }
 2014-04-29 15:32:40,306 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-25:ctx-114bb10a ctx-d396131c) (userId=2
  accountId=2 sessionId=5EC896B528FB6DB972CE5B02A277047B) 10.215.2.19 -- GET 
 command=listVirtualMachines
 response=jsonsessionkey=e1WRj6SbsZEClPvlCdLP9f3MhYI%3DlistAll=truepage=1pagesize=20_=1398810759989
 200 { listvirtualmachinesresponse : { count:6 ,virtualmachine : [  
 {id:cea5fc51-6a31-4209-b26f-
 9097c9d17011,name:d2-vm,displayname:d2-vm,account:d2,domainid:0af12b69-67f4-454a-9eb6-f2
 bef02aba0b,domain:d2,created:2014-04-28T10:21:08-0700,state:Running,haenable:false,zonei
 d:6933ac3e-29fe-4170-8411-b1827aa2f5cf,zonename:z,hostid:d8fb3cb9-782e-4cdc-b0c0-3adcf65a7a15
 ,hostname:10.223.58.68,templateid:549440c8-bf4b-11e3-a56d-ced18bec4952,templatename:CentOS
  5.
 3(64-bit) no GUI (vSphere),templatedisplaytext:CentOS 5.3(64-bit) no GUI 
 (vSphere),passwordenabled
 :false,serviceofferingid:4c035b12-f32f-4c0c-b768-264ec02ac242,serviceofferingname:Small
  Instance
 ,cpunumber:1,cpuspeed:500,memory:512,cpuused:45%,networkkbsread:0,networkkbswrite:0,gues
 tosid:54a23660-bf4b-11e3-a56d-ced18bec4952,rootdeviceid:0,rootdevicetype:ROOT,securitygroup:[
 ],nic:[{id:cae4f3d2-1598-4aa0-98b9-669a4c7de6ae,networkid:f417c31a-e19f-45db-9180-87f17a195bf0
 ,networkname:d2-net,netmask:255.255.255.0,gateway:10.1.1.1,ipaddress:10.1.1.151,isolati
 onuri:vlan://2342,broadcasturi:vlan://2342,traffictype:Guest,type:Isolated,isdefault:tr
 ue,macaddress:02:00:41:11:00:01}],hypervisor:VMware,publicipid:a6866b38-e8dd-4deb-965f-c09931
 d183fe,publicip:10.223.138.11,instancename:i-10-32-VM,tags:[],affinitygroup:[],displayvm:
 true,isdynamicallyscalable:false,ostypeid:12}, 
 {id:e887d23a-fac0-4397-adb9-edfbf2169453,name:
 d1-vm,displayname:d1-vm,account:d1,domainid:90a8c572-3f92-420b-9176-5daafa9853da,domain:
 d1,created:2014-04-28T10:20:39-0700,state:Running,haenable:false,zoneid:6933ac3e-29fe-4170
 -8411-b1827aa2f5cf,zonename:z,hostid:d8fb3cb9-782e-4cdc-b0c0-3adcf65a7a15,hostname:10.223.58
 .68,templateid:549440c8-bf4b-11e3-a56d-ced18bec4952,templatename:CentOS
  5.3(64-bit) no GUI (vSph
 ere),templatedisplaytext:CentOS 5.3(64-bit) no GUI 
 (vSphere),passwordenabled:false,serviceofferi
 ngid:4c035b12-f32f-4c0c-b768-264ec02ac242,serviceofferingname:Small 
 Instance,cpunumber:1,cpusp
 eed:500,memory:512,cpuused:45%,networkkbsread:0,networkkbswrite:0,guestosid:54a23660-bf4b-
 11e3-a56d-ced18bec4952,rootdeviceid:0,rootdevicetype:ROOT,securitygroup:[],nic:[{id:5c410c
 a5-5151-48d8-8de7-4fc674bd597a,networkid:2a7d1254-3120-42f5-b8b9-dd64485cfed4,networkname:d1-net
 ,netmask:255.255.255.0,gateway:10.1.1.1,ipaddress:10.1.1.184,isolationuri:vlan://2268,
 mysql select * from iam_group_account_map where removed is NULL order by 
 group_id;
 ++--++-+-+
 | id | group_id | account_id | removed | created |
 ++--++-+-+
 | 43 |1 | 23 | NULL| 2014-04-14 23:18:40 |
 | 45 |1 | 24 | NULL| 2014-04-17 22:23:41 |
 | 41 |1 | 22 | NULL| 2014-04-14 23:18:24 |
 | 39 |1 | 21 | NULL 

[jira] [Commented] (CLOUDSTACK-6317) [VMware] Tagged VLAN support broken for Management/Control/Storage traffic

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987912#comment-13987912
 ] 

ASF subversion and git services commented on CLOUDSTACK-6317:
-

Commit 47f5d2862ac827a3722680fe4f8f1f576776f81b in cloudstack's branch 
refs/heads/4.4 from [~sateeshc]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=47f5d28 ]

CLOUDSTACK-6317 [VMware] Tagged VLAN support broken for 
Management/Control/Storage traffic

Check if switch name detected from traffic label for management, storage, 
control traffic is null before falling back to default value.

Signed-off-by: Sateesh Chodapuneedi sate...@apache.org


 [VMware] Tagged VLAN support broken for Management/Control/Storage traffic
 --

 Key: CLOUDSTACK-6317
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6317
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: VMware
Affects Versions: 4.3.0, 4.4.0
 Environment: VMware vCenter 5.1, ESXi 5.0 hosts
 MS with ACS 4.3.0
Reporter: Sateesh Chodapuneedi
Assignee: Sateesh Chodapuneedi
Priority: Critical
 Fix For: 4.4.0, 4.3.1


 Prior to ACS 4.3.0 CloudStack used to support tagged VLAN for management / 
 storage / control traffic via traffic label, where admin would specify the 
 VLAN in comma separated string of vmware network traffic label. E.g. 
 vSwitch0,100 - This means management traffic would use standard vSwitch port 
 group tagged with VLAN 100 which sits on vSwitch0 existing on ESXi host.
 This is functionality was broken since below commit in ACS 4.3 branch,
 Commit 7c4831df9292115466fb9e01fcba952a5dad31c1 in branch refs/heads/4.3 from 
 Hugo Trippaers
 [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7c4831d ]
 This commit overwrites the parsed vSwitch name, from traffic label, with 
 traffic label specified by admin resulting into below error during deployment 
 of SSVM (or any VM that needs management/storage traffic)
 2014-04-01 08:23:19,866 DEBUG [c.c.h.v.r.VmwareResource] 
 (DirectAgent-9:ctx-862d86ff 10.102.192.3) VM v-2-VM will be started with NIC 
 device type: E1000
 2014-04-01 08:23:19,866 INFO  [c.c.h.v.r.VmwareResource] 
 (DirectAgent-9:ctx-862d86ff 10.102.192.3) Prepare NIC device based on NicTO: 
 {deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:07c38800-6da3-4596-b0ea-09047d45970e,mac:02:00:63:46:00:02,broadcastType:LinkLocal,type:Control,isSecurityGroupEnabled:false,name:vSwitch0,100}
 2014-04-01 08:23:21,150 ERROR [c.c.h.v.m.HypervisorHostHelper] 
 (DirectAgent-6:ctx-a6062e05 10.102.192.3) Unable to find vSwitchvSwitch0,100
 2014-04-01 08:23:21,151 WARN  [c.c.h.v.r.VmwareResource] 
 (DirectAgent-6:ctx-a6062e05 10.102.192.3) StartCommand failed due to 
 Exception: java.lang.Exception
 Message: Unable to find vSwitchvSwitch0,100



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6564) OVS distributed routing: use file based OF rule updates

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987915#comment-13987915
 ] 

ASF subversion and git services commented on CLOUDSTACK-6564:
-

Commit dd88720c9b48d49f5623126a12bb5390e4b01c1e in cloudstack's branch 
refs/heads/4.4 from [~murali.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=dd88720 ]

CLOUDSTACK-6564: OVS distributed routing: use file based OF rule updates

use ovs-ofctl replace flows by file name option to update the OF rules
instead of sequenetially configuring the rules.


 OVS distributed routing: use file based OF rule updates
 ---

 Key: CLOUDSTACK-6564
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6564
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Affects Versions: 4.4.0
Reporter: Murali Reddy
Assignee: Murali Reddy
 Fix For: 4.4.0


 When,  VpcPhysicalTopologyConfigCommand, OvsVpcRoutingPoli 
 cyConfigCommand are sent by management server, scripts that populate the open 
 flow rules to the bridge are configuring rules sequentially one after other. 
 this no effective and probability error prone as well if a rule fails to 
 program there is no revoking.
 To avoid such situation first create a file, that has all the updates and use 
 the ovs-ofctl option to replace the bridge rules through the file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6257) Private template creation issue - Check if VM is in stopped state before creating template from its volume

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987994#comment-13987994
 ] 

ASF subversion and git services commented on CLOUDSTACK-6257:
-

Commit 59d0b75e7943505c11d6b726d7aa9dae0bf06316 in cloudstack's branch 
refs/heads/master from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=59d0b75 ]

CLOUDSTACK-6257: Adding function to check state of VM


 Private template creation issue - Check if VM is in stopped state before 
 creating template from its volume
 --

 Key: CLOUDSTACK-6257
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6257
 Project: CloudStack
  Issue Type: Test
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Affects Versions: 4.4.0
Reporter: Ashutosk Kelkar
Assignee: Girish Shilamkar
  Labels: automation
 Fix For: 4.4.0


 Following test cases are failing in case VM does not go into stopped state 
 before creating template from its volume.
 test_01_template_usage
 test_05_templates_per_account
 test_05_templates_per_domain
 test_06_template_tag
 test_03_delete_template
 test_01_template_usage



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6257) Private template creation issue - Check if VM is in stopped state before creating template from its volume

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13987998#comment-13987998
 ] 

ASF subversion and git services commented on CLOUDSTACK-6257:
-

Commit 1be8b87fb7fb0203464ac4c66596008855ac5041 in cloudstack's branch 
refs/heads/4.4-forward from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1be8b87 ]

CLOUDSTACK-6257: Adding function to check state of VM

Conflicts:
tools/marvin/marvin/integration/lib/base.py


 Private template creation issue - Check if VM is in stopped state before 
 creating template from its volume
 --

 Key: CLOUDSTACK-6257
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6257
 Project: CloudStack
  Issue Type: Test
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation
Affects Versions: 4.4.0
Reporter: Ashutosk Kelkar
Assignee: Girish Shilamkar
  Labels: automation
 Fix For: 4.4.0


 Following test cases are failing in case VM does not go into stopped state 
 before creating template from its volume.
 test_01_template_usage
 test_05_templates_per_account
 test_05_templates_per_domain
 test_06_template_tag
 test_03_delete_template
 test_01_template_usage



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988053#comment-13988053
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 2ff3623054eff9c1bbac7060bd568ba7406bef20 in cloudstack's branch 
refs/heads/4.4 from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2ff3623 ]

CLOUDSTACK-6438: WIP: Add filtering to check against existing IPs


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988054#comment-13988054
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 0ef9c9a1c0fcfd1d0afd1b8ba70b8fc2e54713cd in cloudstack's branch 
refs/heads/4.4 from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0ef9c9a ]

CLOUDSTACK-6438: Filter out existing IPs in dropdown


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6438) [Automation] Creation of Template from Volume failed due to the requested plugin could not be found.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988052#comment-13988052
 ] 

ASF subversion and git services commented on CLOUDSTACK-6438:
-

Commit 0e002ffa84a11c7a2ce2e684959cb203e4cc860e in cloudstack's branch 
refs/heads/4.4 from [~bfederle]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0e002ff ]

CLOUDSTACK-6438: WIP: If VM has additional IPs, keep showing in add screen


 [Automation] Creation of Template from Volume failed due to the requested 
 plugin could not be found.
 

 Key: CLOUDSTACK-6438
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6438
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Automation, Management Server
Affects Versions: 4.4.0
 Environment: Basic Zone
 XenServer
Reporter: Chandan Purushothama
Assignee: Anthony Xu
Priority: Blocker
 Fix For: 4.4.0

 Attachments: management-server.log.2014-04-16.gz


 
 The requested plugin could not be found.
 
 2014-04-16 15:55:43,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
 (API-Job-Executor-41:job-97) Executing AsyncJobVO {id:97, userId: 2, 
 accountId: 2, instanceType: Template, instanceId: 205, cmd: 
 org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, 
 cmdInfo: 
 {cmdEventType:TEMPLATE.CREATE,ctxUserId:2,ispublic:False,isextractable:False,httpmethod:GET,volumeid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,domainid:fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3,isfeatured:False,apiKey:MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q,ostypeid:feba4b70-c5a8-11e3-8f55-66bc12ed7ec3,id:205,response:json,name:Cent
  OS Template-7WLKMH,passwordenabled:False,displaytext:Cent OS 
 Template,account:test-TestCreateTemplate-SCKX71,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,ctxAccountId:2,ctxStartEventId:291,signature:8ILr8Hdfhc35eHAm1D0L7lkgRw4\u003d},
  cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
 null, initMsid: 112957957439171, completeMsid: null, lastUpdated: null, 
 lastPolled: null, created: null}
 2014-04-16 15:55:43,853 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b) ===START===  10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,877 WARN  [c.c.a.d.ParamGenericValidationWorker] 
 (API-Job-Executor-41:job-97 ctx-554395e3) Received unknown parameters for 
 command createTemplate. Unknown parameters : isextractable account
 2014-04-16 15:55:43,921 DEBUG [c.c.a.ApiServlet] 
 (catalina-exec-10:ctx-a6b8fe9b ctx-62916341 ctx-11cd890f) ===END===  
 10.223.240.161 -- GET  
 signature=vtGRmlHXmBNP%2F1rDkUstx%2BIMl4g%3DapiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=queryAsyncJobResultresponse=jsonjobid=51fab632-3d6f-4898-85e4-9597a8f39707
 2014-04-16 15:55:43,947 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
 (API-Job-Executor-41:job-97 ctx-554395e3) template 205 is already in store:1, 
 type:Image
 2014-04-16 15:55:43,972 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
 (API-Job-Executor-41:job-97 ctx-554395e3) copyAsync inspecting src type 
 VOLUME copyAsync inspecting dest type TEMPLATE
 2014-04-16 15:55:44,005 DEBUG [c.c.a.t.Request] (API-Job-Executor-41:job-97 
 ctx-554395e3) Seq 2-7234469851417280562: Sending  { Cmd , MgmtId: 
 112957957439171, via: 2(marron.lab.vmops.com), Ver: v1, Flags: 100011, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:58a0f1da-e5fe-4cf0-8981-8a8ce848662f,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:ac0c4b04-6b72-38b1-a72f-c7fe7163d17a,id:1,poolType:NetworkFilesystem,host:nfs1-ccp.citrix.com,path:/home/common/automation/SC_QA_AUTO7/primary4,port:2049,url:NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC_QA_AUTO7/primary4/?ROLE=PrimarySTOREUUID=ac0c4b04-6b72-38b1-a72f-c7fe7163d17a}},name:ROOT-17,size:21474836480,path:01269023-5389-407f-8dfc-a3ab22074207,volumeId:19,vmName:i-12-17-QA,accountId:12,format:VHD,id:19,deviceId:0,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/12/205,uuid:2575698c-c82c-4fc3-bd51-0993e40e81cb,id:205,format:RAW,accountId:12,hvm:true,displayText:Cent
  OS 
 

[jira] [Commented] (CLOUDSTACK-6472) listUsageRecords generates NPEs for expunging instances

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988191#comment-13988191
 ] 

ASF subversion and git services commented on CLOUDSTACK-6472:
-

Commit 81b4731e3b5265943017f88b850421154184f7c5 in cloudstack's branch 
refs/heads/master from [~SamSchmit]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=81b4731 ]

CLOUDSTACK-6472 listUsageRecords: Pull information from removed items as well, 
fixing NPEs/Null UUIDs with usage API calls.

Signed-off-by: Sebastien Goasguen run...@gmail.com


 listUsageRecords generates NPEs for expunging instances
 ---

 Key: CLOUDSTACK-6472
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6472
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server, Usage
Affects Versions: 4.3.0
 Environment: linux
Reporter: Pierre-Yves Ritschard
 Attachments: 0001-handle-removed-entities.patch


 The listUsageRecords API command, pulls down the list of usage records in the 
 cloud_usage database and augments records with information pulled from the 
 cloud database.
 When dealing with instance records, only instances which are do not have a 
 value for the removed field are considered. Unfortunately, since the output 
 of _entityMgr.findById is not checked this means that Null Pointer Exceptions 
 are generated when trying to access the output for expunged VMs.
 The attached patch fixes the issue and applies a similar fix for other 
 similar cases.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6472) listUsageRecords generates NPEs for expunging instances

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988205#comment-13988205
 ] 

ASF subversion and git services commented on CLOUDSTACK-6472:
-

Commit fe84b674c14b6494770b489100e92a116b3b1f49 in cloudstack's branch 
refs/heads/4.4-forward from [~SamSchmit]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=fe84b67 ]

CLOUDSTACK-6472 listUsageRecords: Pull information from removed items as well, 
fixing NPEs/Null UUIDs with usage API calls.


 listUsageRecords generates NPEs for expunging instances
 ---

 Key: CLOUDSTACK-6472
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6472
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server, Usage
Affects Versions: 4.3.0
 Environment: linux
Reporter: Pierre-Yves Ritschard
 Attachments: 0001-handle-removed-entities.patch


 The listUsageRecords API command, pulls down the list of usage records in the 
 cloud_usage database and augments records with information pulled from the 
 cloud database.
 When dealing with instance records, only instances which are do not have a 
 value for the removed field are considered. Unfortunately, since the output 
 of _entityMgr.findById is not checked this means that Null Pointer Exceptions 
 are generated when trying to access the output for expunged VMs.
 The attached patch fixes the issue and applies a similar fix for other 
 similar cases.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6569) IAM - Regular user is able to listNetworks of another user in the same domain , by passing account and domainId.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988312#comment-13988312
 ] 

ASF subversion and git services commented on CLOUDSTACK-6569:
-

Commit 03f6188c1c478222914904e3d7abac2740e98655 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=03f6188 ]

CLOUDSTACK-6569: IAM - Regular user is able to listNetworks of another
user in the same domain , by passing account and domainId.

 IAM - Regular user is able to listNetworks of another user in the same domain 
 ,  by passing account and domainId.
 -

 Key: CLOUDSTACK-6569
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6569
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Priority: Critical
 Fix For: 4.4.0


 Regular user is able to listNetworks of another user in the same domain ,  by 
 passing account and domainId.
 Domain - d1.
 3 users in this domain , testd1 - domainadmin , testd1a and testd1b regular 
 users.
 Each of the users have 1 isolated network.
  
 As testd1a , tried to list network of testd1b by passing account and 
 domainId. ListNetwork returns   testd1b's isolated network.
 2014-05-02 10:21:29,090 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-15:ctx-bbcf35b4 ctx-f1b42d4e) (userId=4 accountId=4 
 sessionId=AE73B9C62BB908DE5DE16655DAD0CB75) 10.215.2.8 -- GET 
 command=listNetworksresponse=jsonsessionkey=vHQRHlttApujok8Jf73KKKww5XM%3DlistAll=truepage=1pagesize=20domainid=3abd56e8-97da-40f9-b6f5-33fd5b28b43eresponse=jsonaccount=testD1B-TestNetworkList-KOGK49
  200 { listnetworksresponse : { count:4 ,network : [  
 {id:53a9ddfa-ab63-4f87-bdd0-e368e7fd11ca,name:testD1B-TestNetworkList-KOGK49-network,displaytext:testD1B-TestNetworkList-KOGK49-network,broadcastdomaintype:Vlan,traffictype:Guest,gateway:10.1.1.1,netmask:255.255.255.0,cidr:10.1.1.0/24,zoneid:b690dddf-5755-49ab-8a4d-0aff04fa39f7,zonename:BLR1,networkofferingid:fc25eb7b-d884-4cc3-acbb-a321817a3567,networkofferingname:DefaultIsolatedNetworkOfferingWithSourceNatService,networkofferingdisplaytext:Offering
  for Isolated networks with Source Nat service 
 enabled,networkofferingconservemode:true,networkofferingavailability:Required,issystem:false,state:Implemented,related:53a9ddfa-ab63-4f87-bdd0-e368e7fd11ca,dns1:4.2.2.2,type:Isolated,acltype:Account,account:testD1B-TestNetworkList-KOGK49,domainid:3abd56e8-97da-40f9-b6f5-33fd5b28b43e,domain:D1-R549ZO,service:[{name:PortForwarding},{name:UserData},{name:Firewall,capability:[{name:MultipleIps,value:true,canchooseservicecapability:false},{name:SupportedEgressProtocols,value:tcp,udp,icmp,
  
 all,canchooseservicecapability:false},{name:SupportedProtocols,value:tcp,udp,icmp,canchooseservicecapability:false},{name:SupportedTrafficDirection,value:ingress,
  
 egress,canchooseservicecapability:false},{name:TrafficStatistics,value:per
  public 
 ip,canchooseservicecapability:false}]},{name:Lb,capability:[{name:AutoScaleCounters,value:[{\methodname\:\cpu\,\paramlist\:[]},{\methodname\:\memory\,\paramlist\:[]}],canchooseservicecapability:false},{name:SupportedLBIsolation,value:dedicated,canchooseservicecapability:false},{name:SupportedLbAlgorithms,value:roundrobin,leastconn,source,canchooseservicecapability:false},{name:LbSchemes,value:Public,canchooseservicecapability:false},{name:SupportedProtocols,value:tcp,
  
 udp,canchooseservicecapability:false},{name:SupportedStickinessMethods,value:[{\methodname\:\LbCookie\,\paramlist\:[{\paramname\:\cookie-name\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\mode\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\nocache\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\indirect\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\postonly\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\domain\,\required\:false,\isflag\:false,\description\:\
  \}],\description\:\This is loadbalancer cookie based stickiness 
 method.\},{\methodname\:\AppCookie\,\paramlist\:[{\paramname\:\cookie-name\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\length\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\holdtime\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\request-learn\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\prefix\,\required\:false,\isflag\:true,\description\:\
  
 

[jira] [Commented] (CLOUDSTACK-6569) IAM - Regular user is able to listNetworks of another user in the same domain , by passing account and domainId.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988371#comment-13988371
 ] 

ASF subversion and git services commented on CLOUDSTACK-6569:
-

Commit 1085695b5cd179e29fff98aa62a7d61415243064 in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1085695 ]

CLOUDSTACK-6569: IAM - Regular user is able to listNetworks of another
user in the same domain , by passing account and domainId.


 IAM - Regular user is able to listNetworks of another user in the same domain 
 ,  by passing account and domainId.
 -

 Key: CLOUDSTACK-6569
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6569
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 Regular user is able to listNetworks of another user in the same domain ,  by 
 passing account and domainId.
 Domain - d1.
 3 users in this domain , testd1 - domainadmin , testd1a and testd1b regular 
 users.
 Each of the users have 1 isolated network.
  
 As testd1a , tried to list network of testd1b by passing account and 
 domainId. ListNetwork returns   testd1b's isolated network.
 2014-05-02 10:21:29,090 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-15:ctx-bbcf35b4 ctx-f1b42d4e) (userId=4 accountId=4 
 sessionId=AE73B9C62BB908DE5DE16655DAD0CB75) 10.215.2.8 -- GET 
 command=listNetworksresponse=jsonsessionkey=vHQRHlttApujok8Jf73KKKww5XM%3DlistAll=truepage=1pagesize=20domainid=3abd56e8-97da-40f9-b6f5-33fd5b28b43eresponse=jsonaccount=testD1B-TestNetworkList-KOGK49
  200 { listnetworksresponse : { count:4 ,network : [  
 {id:53a9ddfa-ab63-4f87-bdd0-e368e7fd11ca,name:testD1B-TestNetworkList-KOGK49-network,displaytext:testD1B-TestNetworkList-KOGK49-network,broadcastdomaintype:Vlan,traffictype:Guest,gateway:10.1.1.1,netmask:255.255.255.0,cidr:10.1.1.0/24,zoneid:b690dddf-5755-49ab-8a4d-0aff04fa39f7,zonename:BLR1,networkofferingid:fc25eb7b-d884-4cc3-acbb-a321817a3567,networkofferingname:DefaultIsolatedNetworkOfferingWithSourceNatService,networkofferingdisplaytext:Offering
  for Isolated networks with Source Nat service 
 enabled,networkofferingconservemode:true,networkofferingavailability:Required,issystem:false,state:Implemented,related:53a9ddfa-ab63-4f87-bdd0-e368e7fd11ca,dns1:4.2.2.2,type:Isolated,acltype:Account,account:testD1B-TestNetworkList-KOGK49,domainid:3abd56e8-97da-40f9-b6f5-33fd5b28b43e,domain:D1-R549ZO,service:[{name:PortForwarding},{name:UserData},{name:Firewall,capability:[{name:MultipleIps,value:true,canchooseservicecapability:false},{name:SupportedEgressProtocols,value:tcp,udp,icmp,
  
 all,canchooseservicecapability:false},{name:SupportedProtocols,value:tcp,udp,icmp,canchooseservicecapability:false},{name:SupportedTrafficDirection,value:ingress,
  
 egress,canchooseservicecapability:false},{name:TrafficStatistics,value:per
  public 
 ip,canchooseservicecapability:false}]},{name:Lb,capability:[{name:AutoScaleCounters,value:[{\methodname\:\cpu\,\paramlist\:[]},{\methodname\:\memory\,\paramlist\:[]}],canchooseservicecapability:false},{name:SupportedLBIsolation,value:dedicated,canchooseservicecapability:false},{name:SupportedLbAlgorithms,value:roundrobin,leastconn,source,canchooseservicecapability:false},{name:LbSchemes,value:Public,canchooseservicecapability:false},{name:SupportedProtocols,value:tcp,
  
 udp,canchooseservicecapability:false},{name:SupportedStickinessMethods,value:[{\methodname\:\LbCookie\,\paramlist\:[{\paramname\:\cookie-name\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\mode\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\nocache\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\indirect\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\postonly\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\domain\,\required\:false,\isflag\:false,\description\:\
  \}],\description\:\This is loadbalancer cookie based stickiness 
 method.\},{\methodname\:\AppCookie\,\paramlist\:[{\paramname\:\cookie-name\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\length\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\holdtime\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\request-learn\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\prefix\,\required\:false,\isflag\:true,\description\:\
  
 

[jira] [Commented] (CLOUDSTACK-6569) IAM - Regular user is able to listNetworks of another user in the same domain , by passing account and domainId.

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988393#comment-13988393
 ] 

ASF subversion and git services commented on CLOUDSTACK-6569:
-

Commit 7f595778ada00bbe607516bd9630976a4113098e in cloudstack's branch 
refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=7f59577 ]

Fix compilation error due to cherry-pick CLOUDSTACK-6569.

 IAM - Regular user is able to listNetworks of another user in the same domain 
 ,  by passing account and domainId.
 -

 Key: CLOUDSTACK-6569
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6569
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: IAM
Affects Versions: 4.4.0
 Environment: Build from 4.4
Reporter: Sangeetha Hariharan
Assignee: Min Chen
Priority: Critical
 Fix For: 4.4.0


 Regular user is able to listNetworks of another user in the same domain ,  by 
 passing account and domainId.
 Domain - d1.
 3 users in this domain , testd1 - domainadmin , testd1a and testd1b regular 
 users.
 Each of the users have 1 isolated network.
  
 As testd1a , tried to list network of testd1b by passing account and 
 domainId. ListNetwork returns   testd1b's isolated network.
 2014-05-02 10:21:29,090 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-15:ctx-bbcf35b4 ctx-f1b42d4e) (userId=4 accountId=4 
 sessionId=AE73B9C62BB908DE5DE16655DAD0CB75) 10.215.2.8 -- GET 
 command=listNetworksresponse=jsonsessionkey=vHQRHlttApujok8Jf73KKKww5XM%3DlistAll=truepage=1pagesize=20domainid=3abd56e8-97da-40f9-b6f5-33fd5b28b43eresponse=jsonaccount=testD1B-TestNetworkList-KOGK49
  200 { listnetworksresponse : { count:4 ,network : [  
 {id:53a9ddfa-ab63-4f87-bdd0-e368e7fd11ca,name:testD1B-TestNetworkList-KOGK49-network,displaytext:testD1B-TestNetworkList-KOGK49-network,broadcastdomaintype:Vlan,traffictype:Guest,gateway:10.1.1.1,netmask:255.255.255.0,cidr:10.1.1.0/24,zoneid:b690dddf-5755-49ab-8a4d-0aff04fa39f7,zonename:BLR1,networkofferingid:fc25eb7b-d884-4cc3-acbb-a321817a3567,networkofferingname:DefaultIsolatedNetworkOfferingWithSourceNatService,networkofferingdisplaytext:Offering
  for Isolated networks with Source Nat service 
 enabled,networkofferingconservemode:true,networkofferingavailability:Required,issystem:false,state:Implemented,related:53a9ddfa-ab63-4f87-bdd0-e368e7fd11ca,dns1:4.2.2.2,type:Isolated,acltype:Account,account:testD1B-TestNetworkList-KOGK49,domainid:3abd56e8-97da-40f9-b6f5-33fd5b28b43e,domain:D1-R549ZO,service:[{name:PortForwarding},{name:UserData},{name:Firewall,capability:[{name:MultipleIps,value:true,canchooseservicecapability:false},{name:SupportedEgressProtocols,value:tcp,udp,icmp,
  
 all,canchooseservicecapability:false},{name:SupportedProtocols,value:tcp,udp,icmp,canchooseservicecapability:false},{name:SupportedTrafficDirection,value:ingress,
  
 egress,canchooseservicecapability:false},{name:TrafficStatistics,value:per
  public 
 ip,canchooseservicecapability:false}]},{name:Lb,capability:[{name:AutoScaleCounters,value:[{\methodname\:\cpu\,\paramlist\:[]},{\methodname\:\memory\,\paramlist\:[]}],canchooseservicecapability:false},{name:SupportedLBIsolation,value:dedicated,canchooseservicecapability:false},{name:SupportedLbAlgorithms,value:roundrobin,leastconn,source,canchooseservicecapability:false},{name:LbSchemes,value:Public,canchooseservicecapability:false},{name:SupportedProtocols,value:tcp,
  
 udp,canchooseservicecapability:false},{name:SupportedStickinessMethods,value:[{\methodname\:\LbCookie\,\paramlist\:[{\paramname\:\cookie-name\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\mode\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\nocache\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\indirect\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\postonly\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\domain\,\required\:false,\isflag\:false,\description\:\
  \}],\description\:\This is loadbalancer cookie based stickiness 
 method.\},{\methodname\:\AppCookie\,\paramlist\:[{\paramname\:\cookie-name\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\length\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\holdtime\,\required\:false,\isflag\:false,\description\:\
  
 \},{\paramname\:\request-learn\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\prefix\,\required\:false,\isflag\:true,\description\:\
  
 \},{\paramname\:\mode\,\required\:false,\isflag\:false,\description\:\
  

[jira] [Commented] (CLOUDSTACK-6568) API:createVolume: Volume gets created with wrong domain ID

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988433#comment-13988433
 ] 

ASF subversion and git services commented on CLOUDSTACK-6568:
-

Commit ffec3d02844fe644d40f35c55a83719b8d6102b6 in cloudstack's branch 
refs/heads/4.4-forward from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ffec3d0 ]

CLOUDSTACK-6568:API:createVolume: Volume gets created with wrong domain
ID.

 API:createVolume: Volume gets created with wrong domain ID
 --

 Key: CLOUDSTACK-6568
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6568
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API, Volumes
Affects Versions: 4.3.0, 4.4.0, 4.3.1
Reporter: Parth Jagirdar
Assignee: Min Chen
 Attachments: createVolume.jpg


 http://10.223.49.210:8080/client/api?command=createVolumename=d22-volumezoneid=05f156b6-cf10-4891-b7d7-6421f4d87e91diskofferingid=099a28b3-12d2-461e-9558-1c08e8eb5a2ddomainid=82d02e0c-4f25-42a6-9e5b-dc3fae90eb34account=d22response=jsonsessionkey=7ChzlM0hZkWuWUIPlS%2BkV%2BwHghU%3D
  
  
 2014-05-02 13:37:41,544 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-669b420f ctx-a9da8d5c) (userId=2 a
 ccountId=2 sessionId=B19BA8EED26B975AA6AAEB9E8F25EFC5) 10.215.2.19 -- GET 
 command=createVolumename=d22-vo
 lumezoneid=05f156b6-cf10-4891-b7d7-6421f4d87e91diskofferingid=099a28b3-12d2-461e-9558-1c08e8eb5a2ddomai
 nid=82d02e0c-4f25-42a6-9e5b-dc3fae90eb34account=d22response=jsonsessionkey=7ChzlM0hZkWuWUIPlS%2BkV%2BwH
 ghU%3D 200 { createvolumeresponse : 
 {id:224bc4e6-9ecc-4ccf-bd58-09f47ca5b7a2,jobid:d537170d-ab2b-
 4880-ae35-f9846e5ef88d} }
  
  
 { createvolumeresponse : 
 {id:224bc4e6-9ecc-4ccf-bd58-09f47ca5b7a2,jobid:d537170d-ab2b-4880-ae35-f9846e5ef88d}
  }
  
  
  createVolume is invoked as ROOT Admin with account and Domain, (To 
 create Vol for other User).
  
  Volume gets created with specified account. But domain ID is of ROOT.
  
 |  2 | 1 | test|
 |  2 | 1 | root-volume |
 |  7 | 1 | root-volume |
 |  7 | 1 | d22-volume  |
 ++---+-+



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6170) Support managed storage for root disks

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988483#comment-13988483
 ] 

ASF subversion and git services commented on CLOUDSTACK-6170:
-

Commit 0cdcab26f5636ed4de2d1c26a6606f85f935f6da in cloudstack's branch 
refs/heads/4.4-forward from [~mike-tutkowski]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0cdcab2 ]

CLOUDSTACK-6170 Corrected an issue related to the Reinstall VM command and 
managed storage with VMware


 Support managed storage for root disks
 --

 Key: CLOUDSTACK-6170
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6170
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: I expect to support managed storage for root disks on 
 XenServer and ESX (KVM is targeted for 4.5).
Reporter: Mike Tutkowski
Assignee: Mike Tutkowski
 Fix For: 4.4.0


 Cloud environments have a need for guaranteed storage performance. By this I 
 mean having the ability to specify a minimum and maximum number of IOPS on a 
 volume-by-volume basis.
 I added support for this for XenServer and ESX in 4.2 for data disks.
 I added support for this for KVM in 4.3 for data disks.
 It is my intent to add support for this for XenServer and ESX in 4.4 for root 
 disks (with subsequent support for root disks on KVM expected in 4.5).
 The main changes are expected to occur in CloudStack logic that controls 
 hypervisors and additions to the way root-volume orchestration happens.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6170) Support managed storage for root disks

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988492#comment-13988492
 ] 

ASF subversion and git services commented on CLOUDSTACK-6170:
-

Commit 8ac7784db2cc8cf8247eab355181eb44a849de38 in cloudstack's branch 
refs/heads/master from [~mike-tutkowski]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8ac7784 ]

CLOUDSTACK-6170 Corrected an issue related to the Reinstall VM command and 
managed storage with VMware


 Support managed storage for root disks
 --

 Key: CLOUDSTACK-6170
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6170
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: I expect to support managed storage for root disks on 
 XenServer and ESX (KVM is targeted for 4.5).
Reporter: Mike Tutkowski
Assignee: Mike Tutkowski
 Fix For: 4.4.0


 Cloud environments have a need for guaranteed storage performance. By this I 
 mean having the ability to specify a minimum and maximum number of IOPS on a 
 volume-by-volume basis.
 I added support for this for XenServer and ESX in 4.2 for data disks.
 I added support for this for KVM in 4.3 for data disks.
 It is my intent to add support for this for XenServer and ESX in 4.4 for root 
 disks (with subsequent support for root disks on KVM expected in 4.5).
 The main changes are expected to occur in CloudStack logic that controls 
 hypervisors and additions to the way root-volume orchestration happens.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6568) API:createVolume: Volume gets created with wrong domain ID

2014-05-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988514#comment-13988514
 ] 

ASF subversion and git services commented on CLOUDSTACK-6568:
-

Commit 4e674ffad1abac139bbb4782b428b7179bfdd0d6 in cloudstack's branch 
refs/heads/master from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4e674ff ]

CLOUDSTACK-6568:API:createVolume: Volume gets created with wrong domain
ID.


 API:createVolume: Volume gets created with wrong domain ID
 --

 Key: CLOUDSTACK-6568
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6568
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API, Volumes
Affects Versions: 4.3.0, 4.4.0, 4.3.1
Reporter: Parth Jagirdar
Assignee: Min Chen
 Attachments: createVolume.jpg


 http://10.223.49.210:8080/client/api?command=createVolumename=d22-volumezoneid=05f156b6-cf10-4891-b7d7-6421f4d87e91diskofferingid=099a28b3-12d2-461e-9558-1c08e8eb5a2ddomainid=82d02e0c-4f25-42a6-9e5b-dc3fae90eb34account=d22response=jsonsessionkey=7ChzlM0hZkWuWUIPlS%2BkV%2BwHghU%3D
  
  
 2014-05-02 13:37:41,544 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-669b420f ctx-a9da8d5c) (userId=2 a
 ccountId=2 sessionId=B19BA8EED26B975AA6AAEB9E8F25EFC5) 10.215.2.19 -- GET 
 command=createVolumename=d22-vo
 lumezoneid=05f156b6-cf10-4891-b7d7-6421f4d87e91diskofferingid=099a28b3-12d2-461e-9558-1c08e8eb5a2ddomai
 nid=82d02e0c-4f25-42a6-9e5b-dc3fae90eb34account=d22response=jsonsessionkey=7ChzlM0hZkWuWUIPlS%2BkV%2BwH
 ghU%3D 200 { createvolumeresponse : 
 {id:224bc4e6-9ecc-4ccf-bd58-09f47ca5b7a2,jobid:d537170d-ab2b-
 4880-ae35-f9846e5ef88d} }
  
  
 { createvolumeresponse : 
 {id:224bc4e6-9ecc-4ccf-bd58-09f47ca5b7a2,jobid:d537170d-ab2b-4880-ae35-f9846e5ef88d}
  }
  
  
  createVolume is invoked as ROOT Admin with account and Domain, (To 
 create Vol for other User).
  
  Volume gets created with specified account. But domain ID is of ROOT.
  
 |  2 | 1 | test|
 |  2 | 1 | root-volume |
 |  7 | 1 | root-volume |
 |  7 | 1 | d22-volume  |
 ++---+-+



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6568) API:createVolume: Volume gets created with wrong domain ID

2014-05-03 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988658#comment-13988658
 ] 

ASF subversion and git services commented on CLOUDSTACK-6568:
-

Commit 71e0cff46ecbbce204032e6467a66cf740859f6e in cloudstack's branch 
refs/heads/4.4 from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=71e0cff ]

CLOUDSTACK-6568:API:createVolume: Volume gets created with wrong domain
ID.


 API:createVolume: Volume gets created with wrong domain ID
 --

 Key: CLOUDSTACK-6568
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6568
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: API, Volumes
Affects Versions: 4.3.0, 4.4.0, 4.3.1
Reporter: Parth Jagirdar
Assignee: Min Chen
 Attachments: createVolume.jpg


 http://10.223.49.210:8080/client/api?command=createVolumename=d22-volumezoneid=05f156b6-cf10-4891-b7d7-6421f4d87e91diskofferingid=099a28b3-12d2-461e-9558-1c08e8eb5a2ddomainid=82d02e0c-4f25-42a6-9e5b-dc3fae90eb34account=d22response=jsonsessionkey=7ChzlM0hZkWuWUIPlS%2BkV%2BwHghU%3D
  
  
 2014-05-02 13:37:41,544 INFO  [a.c.c.a.ApiServer] 
 (catalina-exec-22:ctx-669b420f ctx-a9da8d5c) (userId=2 a
 ccountId=2 sessionId=B19BA8EED26B975AA6AAEB9E8F25EFC5) 10.215.2.19 -- GET 
 command=createVolumename=d22-vo
 lumezoneid=05f156b6-cf10-4891-b7d7-6421f4d87e91diskofferingid=099a28b3-12d2-461e-9558-1c08e8eb5a2ddomai
 nid=82d02e0c-4f25-42a6-9e5b-dc3fae90eb34account=d22response=jsonsessionkey=7ChzlM0hZkWuWUIPlS%2BkV%2BwH
 ghU%3D 200 { createvolumeresponse : 
 {id:224bc4e6-9ecc-4ccf-bd58-09f47ca5b7a2,jobid:d537170d-ab2b-
 4880-ae35-f9846e5ef88d} }
  
  
 { createvolumeresponse : 
 {id:224bc4e6-9ecc-4ccf-bd58-09f47ca5b7a2,jobid:d537170d-ab2b-4880-ae35-f9846e5ef88d}
  }
  
  
  createVolume is invoked as ROOT Admin with account and Domain, (To 
 create Vol for other User).
  
  Volume gets created with specified account. But domain ID is of ROOT.
  
 |  2 | 1 | test|
 |  2 | 1 | root-volume |
 |  7 | 1 | root-volume |
 |  7 | 1 | d22-volume  |
 ++---+-+



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6170) Support managed storage for root disks

2014-05-03 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13988659#comment-13988659
 ] 

ASF subversion and git services commented on CLOUDSTACK-6170:
-

Commit dd3076987f5120bf5bee1457a1b980125139191d in cloudstack's branch 
refs/heads/4.4 from [~mike-tutkowski]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=dd30769 ]

CLOUDSTACK-6170 Corrected an issue related to the Reinstall VM command and 
managed storage with VMware


 Support managed storage for root disks
 --

 Key: CLOUDSTACK-6170
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6170
 Project: CloudStack
  Issue Type: New Feature
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: I expect to support managed storage for root disks on 
 XenServer and ESX (KVM is targeted for 4.5).
Reporter: Mike Tutkowski
Assignee: Mike Tutkowski
 Fix For: 4.4.0


 Cloud environments have a need for guaranteed storage performance. By this I 
 mean having the ability to specify a minimum and maximum number of IOPS on a 
 volume-by-volume basis.
 I added support for this for XenServer and ESX in 4.2 for data disks.
 I added support for this for KVM in 4.3 for data disks.
 It is my intent to add support for this for XenServer and ESX in 4.4 for root 
 disks (with subsequent support for root disks on KVM expected in 4.5).
 The main changes are expected to occur in CloudStack logic that controls 
 hypervisors and additions to the way root-volume orchestration happens.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6571) 'service cloudstack-agent stop' fails to stop the process started on boot

2014-05-04 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13989248#comment-13989248
 ] 

ASF subversion and git services commented on CLOUDSTACK-6571:
-

Commit 4443890c852d58ff6baf08134b677eaf64b5c763 in cloudstack's branch 
refs/heads/master from [~ynojima]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4443890 ]

CLOUDSTACK-6571 bugfix: 'service cloudstack-agent stop' fails to stop the 
process started on boot


 'service cloudstack-agent stop' fails to stop the process started on boot
 -

 Key: CLOUDSTACK-6571
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6571
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Reporter: Yoshikazu Nojima
Assignee: Yoshikazu Nojima
Priority: Critical
  Labels: kvm, packaging

 The pid of the cloudstack-agent process started on boot is recored in 
 /var/run/Sxx-cloudstack-agent.pid by mistake.
 It should be recoreded in /var/run/cloudstack-agent.pid.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6571) 'service cloudstack-agent stop' fails to stop the process started on boot

2014-05-04 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13989250#comment-13989250
 ] 

ASF subversion and git services commented on CLOUDSTACK-6571:
-

Commit 03156ecd6f52bfa0c73f1408ac4baca5332d1cad in cloudstack's branch 
refs/heads/4.4-forward from [~ynojima]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=03156ec ]

CLOUDSTACK-6571 bugfix: 'service cloudstack-agent stop' fails to stop the 
process started on boot


 'service cloudstack-agent stop' fails to stop the process started on boot
 -

 Key: CLOUDSTACK-6571
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6571
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
Reporter: Yoshikazu Nojima
Assignee: Yoshikazu Nojima
Priority: Critical
  Labels: kvm, packaging
 Fix For: Future, 4.4.0


 The pid of the cloudstack-agent process started on boot is recored in 
 /var/run/Sxx-cloudstack-agent.pid by mistake.
 It should be recoreded in /var/run/cloudstack-agent.pid.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6240) ipset requires VM stop/start to get updated

2014-05-04 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13989289#comment-13989289
 ] 

ASF subversion and git services commented on CLOUDSTACK-6240:
-

Commit 2215fbf4c9e62f97a84eb7db3db5ee708903cd65 in cloudstack's branch 
refs/heads/4.3 from Jayapal
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2215fbf ]

CLOUDSTACK-6240 Fixed updating advanced SG rules for vm nic secondary ip


 ipset requires VM stop/start to get updated
 ---

 Key: CLOUDSTACK-6240
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6240
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: KVM, Network Controller, XenServer
Affects Versions: 4.2.1, 4.3.0, 4.4.0
 Environment: CentOS 6.5 64bit
Reporter: Nux
Assignee: Jayapal Reddy
  Labels: ipset, security_groups
 Attachments: 
 0001-CLOUDSTACK-6240-Fixed-updating-advanced-SG-rules-for-master.patch, 
 0001-CLOUDSTACK-6240-Fixed-updating-advanced-SG-rules-for.patch


 In an advanced zone with security groups, when a new IP address is acquired 
 for a VM, this IP is not added in the running ipset corresponding to the VM.
 `ipset -L` continues to only show the main IP until the VM is restarted.
 Adding the extra IP is as easy as:
 ipset add i-2-3-VM 10.187.72.214



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6559) [Automation] SG test cases failing during vm deployment

2014-05-04 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13989294#comment-13989294
 ] 

ASF subversion and git services commented on CLOUDSTACK-6559:
-

Commit 9f314c69a0430ec1a53e6b64098794924ec648b8 in cloudstack's branch 
refs/heads/4.4-forward from [~gpshilamkar]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9f314c6 ]

CLOUDSTACK-6559: Added listall=True to list vm API


 [Automation] SG test cases failing during vm deployment 
 

 Key: CLOUDSTACK-6559
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6559
 Project: CloudStack
  Issue Type: Test
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.4.0
 Environment: KVM basic SG
Reporter: Rayees Namathponnan
Priority: Blocker
 Fix For: 4.4.0


 Run test_tags.py in basic security group environment 
 Test cases failing with below error 
 Unable to create security group, a group with name basic_sec_grp already 
 exisits.
 Test cases failing while creating 2 VMs, second VM creating failing 
 215 cls.vm_1 = VirtualMachine.create(
  216 cls.api_client,
  217 cls.services[virtual_machine],
  218 accountid=cls.account.name,
  219 domainid=cls.account.domainid,
  220 
 serviceofferingid=cls.service_offering.id,
  221 mode=cls.zone.networktype
  222 )
  223 cls.vm_2 = VirtualMachine.create(
  224 cls.api_client,
  225 cls.services[virtual_machine],
  226 accountid=cls.account.name,
  227 domainid=cls.account.domainid,
  228 
 serviceofferingid=cls.service_offering.id,
  229 mode=cls.zone.networktype
 Actual issue in below code base.py. in list security, we are not passing  
 listall=true,  this required in latest 4.4 builds 
  240 @classmethod
  241 def ssh_access_group(cls, apiclient, cmd):
  242 
  243 Programs the security group with SSH access before deploying 
 virtualmachine
  244 @return:
  245 
  246 zone_list = Zone.list(
  247 apiclient,
  248 id=cmd.zoneid if cmd.zoneid else None,
  249 domainid=cmd.domainid if cmd.domainid else None
  250 )
  251 zone = zone_list[0]
  252 #check if security groups settings is enabled for the zone
  253 if zone.securitygroupsenabled:
  254 list_security_groups = SecurityGroup.list(
  255 apiclient,
  256 account=cmd.account,
  257 domainid=cmd.domainid,
  258 securitygroupname=basic_sec_grp
  259 )
  260 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


  1   2   3   4   5   6   7   8   9   10   >