[jira] [Commented] (CLOUDSTACK-9554) Juniper Contrail plug-in is publishing events to wrong message bus

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9554:


Github user yvsubhash commented on the issue:

https://github.com/apache/cloudstack/pull/1715
  
@rhtyd PR pointed to 4.8 branch


> Juniper Contrail plug-in is publishing events to wrong message bus
> --
>
> Key: CLOUDSTACK-9554
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9554
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: eventbus
>Affects Versions: 4.9.0
> Environment: Citrix Xenserver with juniper contrail. 
>Reporter: subhash yedugundla
> Fix For: 4.10.0.0
>
>
> Juniper contrail plugin is publishing events to internal message bus instead 
> of event bus. which can lead to a deadlock in the following scenario
> 1. Create a VM in cloudstack with xenserver
> 2. Create firewall rules on contrail for the same
> 3. Delete the vm from xenserver directly. 
> 4. Next power state sync cycle would create a deadlock



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9554) Juniper Contrail plug-in is publishing events to wrong message bus

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9554:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1715
  
okay


> Juniper Contrail plug-in is publishing events to wrong message bus
> --
>
> Key: CLOUDSTACK-9554
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9554
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: eventbus
>Affects Versions: 4.9.0
> Environment: Citrix Xenserver with juniper contrail. 
>Reporter: subhash yedugundla
> Fix For: 4.10.0.0
>
>
> Juniper contrail plugin is publishing events to internal message bus instead 
> of event bus. which can lead to a deadlock in the following scenario
> 1. Create a VM in cloudstack with xenserver
> 2. Create firewall rules on contrail for the same
> 3. Delete the vm from xenserver directly. 
> 4. Next power state sync cycle would create a deadlock



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9500) VR configuration not clean properly after Public IP release

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9500:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1706
  
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-71


> VR configuration not clean properly after Public IP release
> ---
>
> Key: CLOUDSTACK-9500
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9500
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.7.0, 4.9.0
>Reporter: Pierre-Luc Dion
>
> On a VPC, releasing a public IP that had Port Forwarding does not remove 
> configuration of the public IP on the VR configs 
> ({{/etc/cloudstack/forwardingrules.json}}, {{/etc/cloudstack/ips.json}})
> So, when this IP is reassign to another VPC, it cause arp table issues on 
> switches, because 2 MAC try to own this IP from 2 different VRs. the IP on 
> the old VR is not pignable but the switches arp table get updated every time 
> the previous VR have configuration changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9554) Juniper Contrail plug-in is publishing events to wrong message bus

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9554:


Github user yvsubhash commented on the issue:

https://github.com/apache/cloudstack/pull/1715
  
@rhtyd How abt rebasing it against branch 4.8 and edit the PR to base it to 
the same?


> Juniper Contrail plug-in is publishing events to wrong message bus
> --
>
> Key: CLOUDSTACK-9554
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9554
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: eventbus
>Affects Versions: 4.9.0
> Environment: Citrix Xenserver with juniper contrail. 
>Reporter: subhash yedugundla
> Fix For: 4.10.0.0
>
>
> Juniper contrail plugin is publishing events to internal message bus instead 
> of event bus. which can lead to a deadlock in the following scenario
> 1. Create a VM in cloudstack with xenserver
> 2. Create firewall rules on contrail for the same
> 3. Delete the vm from xenserver directly. 
> 4. Next power state sync cycle would create a deadlock



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9339) Virtual Routers don't handle Multiple Public Interfaces

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9339:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1659
  
@murali-reddy a Jenkins job has been kicked to build packages. I'll keep 
you posted as I make progress.


> Virtual Routers don't handle Multiple Public Interfaces
> ---
>
> Key: CLOUDSTACK-9339
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9339
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.8.0
>Reporter: dsclose
>  Labels: firewall, nat, router
>
> There are a series of issues with the way Virtual Routers manage multiple 
> public interfaces. These are more pronounced on redundant virtual router 
> setups. I have not attempted to examine these issues in a VPC context. 
> Outside of a VPC context, however, the following is expected behaviour:
> * eth0 connects the router to the guest network.
> * In RvR setups, keepalived manages the guests' gateway IP as a virtual IP on 
> eth0.
> * eth1 provides a local link to the hypervisor, allowing Cloudstack to issue 
> commands to the router.
> * eth2 is the routers public interface. By default, a single public IP will 
> be setup on eth2 along with the necessary iptables and ip rules to source-NAT 
> guest traffic to that public IP.
> * When a public IP address is assigned to the router that is on a separate 
> subnet to the source-NAT IP, a new interface is configured, such as eth3, and 
> the IP is assigned to that interface.
> * This can result in eth3, eth4, eth5, etc. being created depending upon how 
> many public subnets the router has to work with.
> The above all works. The following, however, is currently not working:
> * Public interfaces should be set to DOWN on backup redundant routers. The 
> master.py script is responsible for setting public interfaces to UP during a 
> keepalived transition. Currently the check_is_up method of the CsIP class 
> brings all interfaces UP on both RvR. A proposed fix for this has been 
> discussed on the mailing list. That fix will leave public interfaces DOWN on 
> RvR allowing the keepalived transition to control the state of public 
> interfaces. Issue #1413 includes a commit that contradicts the proposed fix 
> so it is unclear what the current state of the code should be.
> * Newly created interfaces should be set to UP on master redundant routers. 
> Assuming public interfaces should be default be DOWN on an RvR we need to 
> accommodate the fact that, as interfaces are created, no keepalived 
> transition occurs. This means that assigning an IP from a new public subnet 
> will have no effect (as the interface will be down) until the network is 
> restarted with a "clean up."
> * Public interfaces other than eth2 do not forward traffic. There are two 
> iptables rules in the FORWARD chain of the filter table created for eth2 that 
> allow forwarding between eth2 and eth0. Equivalent rules are not created for 
> other public interfaces so forwarded traffic is dropped.
> * Outbound traffic from guest VMs does not honour static-NAT rules. Instead, 
> outbound traffic is source-NAT'd to the networks default source-NAT IP. New 
> connections from guests that are destined for public networks are processed 
> like so:
> 1. Traffic is matched against the following rule in the mangle table that 
> marks the connection with a 0x0:
> *mangle
> -A PREROUTING -i eth0 -m state --state NEW -j CONNMARK --set-xmark 
> 0x0/0x
> 2. There are no "ip rule" statements that match a connection marked 0x0, so 
> the kernel routes the connection via the default gateway. That gateway is on 
> source-NAT subnet, so the connection is routed out of eth2.
> 3. The following iptables rules are then matched in the filter table:
> *filter
> -A FORWARD -i eth0 -o eth2 -j FW_OUTBOUND
> -A FW_OUTBOUND -j FW_EGRESS_RULES
> -A FW_EGRESS_RULES -j ACCEPT
> 4. Finally, the following rule is matched from the nat table, where the IP 
> address is the source-NAT IP:
> *nat
> -A POSTROUTING -o eth2 -j SNAT --to-source 123.4.5.67
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9339) Virtual Routers don't handle Multiple Public Interfaces

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9339:


Github user murali-reddy commented on the issue:

https://github.com/apache/cloudstack/pull/1659
  
@blueorangutan package


> Virtual Routers don't handle Multiple Public Interfaces
> ---
>
> Key: CLOUDSTACK-9339
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9339
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.8.0
>Reporter: dsclose
>  Labels: firewall, nat, router
>
> There are a series of issues with the way Virtual Routers manage multiple 
> public interfaces. These are more pronounced on redundant virtual router 
> setups. I have not attempted to examine these issues in a VPC context. 
> Outside of a VPC context, however, the following is expected behaviour:
> * eth0 connects the router to the guest network.
> * In RvR setups, keepalived manages the guests' gateway IP as a virtual IP on 
> eth0.
> * eth1 provides a local link to the hypervisor, allowing Cloudstack to issue 
> commands to the router.
> * eth2 is the routers public interface. By default, a single public IP will 
> be setup on eth2 along with the necessary iptables and ip rules to source-NAT 
> guest traffic to that public IP.
> * When a public IP address is assigned to the router that is on a separate 
> subnet to the source-NAT IP, a new interface is configured, such as eth3, and 
> the IP is assigned to that interface.
> * This can result in eth3, eth4, eth5, etc. being created depending upon how 
> many public subnets the router has to work with.
> The above all works. The following, however, is currently not working:
> * Public interfaces should be set to DOWN on backup redundant routers. The 
> master.py script is responsible for setting public interfaces to UP during a 
> keepalived transition. Currently the check_is_up method of the CsIP class 
> brings all interfaces UP on both RvR. A proposed fix for this has been 
> discussed on the mailing list. That fix will leave public interfaces DOWN on 
> RvR allowing the keepalived transition to control the state of public 
> interfaces. Issue #1413 includes a commit that contradicts the proposed fix 
> so it is unclear what the current state of the code should be.
> * Newly created interfaces should be set to UP on master redundant routers. 
> Assuming public interfaces should be default be DOWN on an RvR we need to 
> accommodate the fact that, as interfaces are created, no keepalived 
> transition occurs. This means that assigning an IP from a new public subnet 
> will have no effect (as the interface will be down) until the network is 
> restarted with a "clean up."
> * Public interfaces other than eth2 do not forward traffic. There are two 
> iptables rules in the FORWARD chain of the filter table created for eth2 that 
> allow forwarding between eth2 and eth0. Equivalent rules are not created for 
> other public interfaces so forwarded traffic is dropped.
> * Outbound traffic from guest VMs does not honour static-NAT rules. Instead, 
> outbound traffic is source-NAT'd to the networks default source-NAT IP. New 
> connections from guests that are destined for public networks are processed 
> like so:
> 1. Traffic is matched against the following rule in the mangle table that 
> marks the connection with a 0x0:
> *mangle
> -A PREROUTING -i eth0 -m state --state NEW -j CONNMARK --set-xmark 
> 0x0/0x
> 2. There are no "ip rule" statements that match a connection marked 0x0, so 
> the kernel routes the connection via the default gateway. That gateway is on 
> source-NAT subnet, so the connection is routed out of eth2.
> 3. The following iptables rules are then matched in the filter table:
> *filter
> -A FORWARD -i eth0 -o eth2 -j FW_OUTBOUND
> -A FW_OUTBOUND -j FW_EGRESS_RULES
> -A FW_EGRESS_RULES -j ACCEPT
> 4. Finally, the following rule is matched from the nat table, where the IP 
> address is the source-NAT IP:
> *nat
> -A POSTROUTING -o eth2 -j SNAT --to-source 123.4.5.67
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9456) Migrate master to use Java8 and Spring4

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9456:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1638
  
@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs65sp1, centos7 mgmt 
+ vmware55u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests


> Migrate master to use Java8 and Spring4
> ---
>
> Key: CLOUDSTACK-9456
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9456
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> We need to move master to use Java8 and Spring4.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9456) Migrate master to use Java8 and Spring4

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9456:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1638
  
@blueorangutan test matrix


> Migrate master to use Java8 and Spring4
> ---
>
> Key: CLOUDSTACK-9456
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9456
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> We need to move master to use Java8 and Spring4.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9456) Migrate master to use Java8 and Spring4

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9456:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1638
  
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-68


> Migrate master to use Java8 and Spring4
> ---
>
> Key: CLOUDSTACK-9456
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9456
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> We need to move master to use Java8 and Spring4.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9317) Disabling static NAT on many IPs can leave wrong IPs on the router

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9317:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1623
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> Disabling static NAT on many IPs can leave wrong IPs on the router
> --
>
> Key: CLOUDSTACK-9317
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9317
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server, Virtual Router
>Affects Versions: 4.7.0, 4.7.1, 4.7.2
>Reporter: Jeff Hair
>
> The current behavior of enabling or disabling static NAT will call the apply 
> IP associations method in the management server. The method is not 
> thread-safe. If it's called from multiple threads, each thread will load up 
> the list of public IPs in different states (add or revoke)--correct for the 
> thread, but not correct overall. Depending on execution order on the virtual 
> router, the router can end up with public IPs assigned to it that are not 
> supposed to be on it anymore. When another account acquires the same IP, this 
> of course leads to network problems.
> The problem has been in CS since at least 4.2, and likely affects all 
> recently released versions. Affected version is set to 4.7.x because that's 
> what we verified against.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9504) Fully support system VMs on managed storage

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9504:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1642
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> Fully support system VMs on managed storage
> ---
>
> Key: CLOUDSTACK-9504
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9504
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.10.0.0
> Environment: All
>Reporter: Mike Tutkowski
>Assignee: Mike Tutkowski
> Fix For: 4.10.0.0
>
>
> There are three related items for this ticket:
> 1) Do not permit "custom IOPS" as a parameter when creating a system offering 
> (throw an exception if this parameter is passed in).
> 2) If you transition managed storage into maintenance mode and system VMs 
> were running on that managed storage, the host-side clustered file systems 
> (SRs on XenServer) are not removed. Remove them.
> 3) Add integration tests for system VMs with managed storage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9460) Graceful handling of Mysql server connection timeout

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9460:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1674
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> Graceful handling of Mysql server connection timeout
> 
>
> Key: CLOUDSTACK-9460
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9460
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.9.0
>Reporter: Abhinandan Prateek
>Assignee: Abhinandan Prateek
> Fix For: 4.9.1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9503) The router script times out resulting in failure of deployment

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9503:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1678
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> The router script times out resulting in failure of deployment
> --
>
> Key: CLOUDSTACK-9503
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9503
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.9.0
> Environment: KVM, Xen
>Reporter: Abhinandan Prateek
>Assignee: Abhinandan Prateek
> Fix For: 4.9.1.0
>
>
> When starting the virtual router in a shared network in advance zone the 
> scripts on router time out. This happen as there are several sub-commands 
> that are consolidated in a single command. The default timeout of 2 minutes 
> is short.
> 2016-09-09 00:06:25,016 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
> (Work-Job-Executor-110:ctx-e8089ec7 job-5135/job-5137 ctx-c3a8da18) 
> (logid:8aedea66) process hasn't exited
> 2016-09-09 00:06:25,016 WARN [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
> (Work-Job-Executor-110:ctx-e8089ec7 job-5135/job-5137 ctx-c3a8da18) 
> (logid:8aedea66) Command: com.cloud.agent.api.Command failed while starting 
> virtual router
> 2016-09-09 00:06:25,016 INFO [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-110:ctx-e8089ec7 job-5135/job-5137 ctx-c3a8da18) 
> (logid:8aedea66) The guru did not like the answers so stopping 
> VM[DomainRouter|r-3445-VM]
> —



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9071) stats.output.uri stops the server from starting if the uri is malformed

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9071:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1673
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> stats.output.uri stops the server from starting if the uri is malformed
> ---
>
> Key: CLOUDSTACK-9071
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9071
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.0
>Reporter: Carles Figuerola
>
> After inputting a malformed uri (was missing the graphite://) and restarting 
> the management service, the application stops at:
> 2015-11-17 11:06:42,861 INFO  [c.c.s.StatsCollector] 
> (localhost-startStop-1:null) metrics.dev.company.net is not a valid protocol 
> for external statistics. No statistics will be send.
> No more logs are output and tomcat is up but serving a completely blank page.
> When the uri has this form: (graphite://metrics.dev.company.net:2013), the 
> end result is very similar to the previous one
> (also, the last word should be "sent")



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9491) Vmware resource: incorrect parsing of device list to find ethener index of plugged nic

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9491:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1681
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> Vmware resource: incorrect parsing of device list to find ethener index of 
> plugged nic
> --
>
> Key: CLOUDSTACK-9491
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9491
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.0
>Reporter: Murali Reddy
>Assignee: Murali Reddy
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> In VmwareResource.java, there is logic ( in findRouterEthDeviceIndex) to find 
> ethernet interface a mac address is associated with.
> After NIC in plugged in to a Vm through vSphere, it takes some time for the 
> device to show up in the guest VM.
> Logic loops through the device list obtained from /proc/sys/net/ipv4/conf 
> from the VM, and matched againest mac.
> However '/proc/sys/net/ipv4/conf'  is not refreshed, heve logic loops through 
> old device list always.
> In addition there is no exception thrown and error is maked by sending -1. 
> Eventually, VR scripts are getting -1 as device number causing failure in 
> processing the scripts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8830) [VMware] VM snapshot fails for 12 min after instance creation

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8830:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1677
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> [VMware] VM snapshot fails for 12 min after instance creation
> -
>
> Key: CLOUDSTACK-8830
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8830
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Maneesha
>Assignee: Maneesha
>
> ISSUE
> 
> [VMware] VM snapshot fails for 12 min after instance creation
> Environment
> ==
> Product Name: Cloudstack
> Hypervisor: VMWare VSphere 6
> VM DETAILS
> ==
> i-84987-16119-VM
> TROUBLESHOOTING
> ==
> I see that the following failure and immediate success result for the 
> CreateVMSnapshot call
> {noformat}
> 2015-07-24 08:20:55,363 DEBUG [c.c.a.t.Request] 
> (Work-Job-Executor-61:ctx-03fad7f2 job-64835/job-64836 ctx-746f3965) 
> (logid:8b87ab8a) Seq 80-6161487240196259878: Sending  { Cmd , MgmtId: 
> 345051581208, via: 80(ussfoldcsesx112.adslab.local), Ver: v1, Flags: 100011, 
> [{"com.cloud.agent.api.CreateVMSnapshotCommand":{"volumeTOs":[{"uuid":"a89b4ad5-f23f-4df6-84a8-89c4f40b2edb","volumeType":"ROOT","volumeState":"Ready","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"346b381a-8543-3f7b-9eff-fa909ad243c7","id":205,"poolType":"NetworkFilesystem","host":"10.144.35.110","path":"/tintri/ECS-SR-CLD200","port":2049,"url":"NetworkFilesystem://10.144.35.110/tintri/ECS-SR-CLD200/?ROLE=Primary&STOREUUID=346b381a-8543-3f7b-9eff-fa909ad243c7"}},"name":"ROOT-16119","size":1073741824,"path":"ROOT-16119","volumeId":19311,"vmName":"i-84987-16119-VM","vmState":"Running","accountId":84987,"chainInfo":"{\"diskDeviceBusName\":\"ide0:1\",\"diskChain\":[\"[346b381a85433f7b9efffa909ad243c7]
>  i-84987-16119-VM/ROOT-16119.vmdk\",\"[346b381a85433f7b9efffa909ad243c7] 
> 49f59e1a4ce23fec8890c8b9e5891d56/49f59e1a4ce23fec8890c8b9e5891d56.vmdk\"]}","format":"OVA","provisioningType":"THIN","id":19311,"deviceId":0,"cacheMode":"NONE","hypervisorType":"VMware"}],"target":{"id":962,"snapshotName":"i-84987-16119-VM_VS_20150724152053","type":"Disk","current":false,"description":"unit-test-instance-snapshot","quiescevm":false},"vmName":"i-84987-16119-VM","guestOSType":"None","wait":1800}}]
>  }
> 2015-07-24 08:20:55,373 DEBUG [c.c.a.t.Request] 
> (Work-Job-Executor-61:ctx-03fad7f2 job-64835/job-64836 ctx-746f3965) 
> (logid:8b87ab8a) Seq 80-6161487240196259878: Executing:  { Cmd , MgmtId: 
> 345051581208, via: 80(ussfoldcsesx112.adslab.local), Ver: v1, Flags: 100011, 
> [{"com.cloud.agent.api.CreateVMSnapshotCommand":{"volumeTOs":[{"uuid":"a89b4ad5-f23f-4df6-84a8-89c4f40b2edb","volumeType":"ROOT","volumeState":"Ready","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"346b381a-8543-3f7b-9eff-fa909ad243c7","id":205,"poolType":"NetworkFilesystem","host":"10.144.35.110","path":"/tintri/ECS-SR-CLD200","port":2049,"url":"NetworkFilesystem://10.144.35.110/tintri/ECS-SR-CLD200/?ROLE=Primary&STOREUUID=346b381a-8543-3f7b-9eff-fa909ad243c7"}},"name":"ROOT-16119","size":1073741824,"path":"ROOT-16119","volumeId":19311,"vmName":"i-84987-16119-VM","vmState":"Running","accountId":84987,"chainInfo":"{\"diskDeviceBusName\":\"ide0:1\",\"diskChain\":[\"[346b381a85433f7b9efffa909ad243c7]
>  i-84987-16119-VM/ROOT-16119.vmdk\",\"[346b381a85433f7b9efffa909ad243c7] 
> 49f59e1a4ce23fec8890c8b9e5891d56/49f59e1a4ce23fec8890c8b9e5891d56.vmdk\"]}","format":"OVA","provisioningType":"THIN","id":19311,"deviceId":0,"cacheMode":"NONE","hypervisorType":"VMware"}],"target":{"id":962,"snapshotName":"i-84987-16119-VM_VS_20150724152053","type":"Disk","current":false,"description":"unit-test-instance-snapshot","quiescevm":false},"vmName":"i-84987-16119-VM","guestOSType":"None","wait":1800}}]
>  }
> 2015-07-24 08:20:55,374 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-66:ctx-5fbdccd8) (logid:710814a5) Seq 80-6161487240196259878: 
> Executing request
> 2015-07-24 08:20:55,523 ERROR [c.c.h.v.m.VmwareStorageManagerImpl] 
> (DirectAgent-66:ctx-5fbdccd8 ussfoldcsesx112.adslab.local, 
> job-64835/job-64836, cmd: CreateVMSnapshotCommand) (logid:8b87ab8a) failed to 
> create snapshot for vm:i-84987-16119-VM due to null
> 2015-07-24 08:20:55,524 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-66:ctx-5fbdccd8) (logid:8b87ab8a) Seq 80-6161487240196259878: 
> Response Received: 
> 2015-07-24 08:20:55,525 DEBUG [c.c.a.t.Request] (DirectAg

[jira] [Commented] (CLOUDSTACK-9451) stopVirtualMachine ignores forced parameter

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9451:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1635
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> stopVirtualMachine ignores forced parameter
> ---
>
> Key: CLOUDSTACK-9451
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9451
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: API, Management Server
>Affects Versions: 4.8.0, 4.9.0
>Reporter: Nathan Johnson
>Priority: Minor
>
> As reported by Jeff Hair from the mailing list:
> Hi,
> I'm looking at the documentation and then the code for stopVirtualMachine.
> The forced parameter is passed down into the VM manager, where it seems to
> be ignored. This means that cleanupEvenIfFailed during VM stop will always
> be false, despite what the API command says. Going back to commit a4f4c986
> in 2013, we can see that the forced parameter was used. During subsequent
> refactoring, this seems to have vanished.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9498) VR CsFile search utility methods fail when search string has char *, + etc

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9498:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1680
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> VR CsFile search utility methods fail when search string has char *, + etc
> --
>
> Key: CLOUDSTACK-9498
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9498
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.2, 4.7.1, 4.8.0, 4.8.1, 4.9.0
>Reporter: Murali Reddy
>Assignee: Murali Reddy
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> VR CsFile search utility methods fail when search string has char *, + etc.
> These utility methods in CsFile [1] uses python regular expression module to 
> search a string in a file. However, if caller passes a search string, that 
> has chars *, +, . etc that are also happen to be express wild card / match 
> expression in regular expression results in exceptions from python 're' 
> module.
> For instance searching for VPN user [2] passes "username * password *" as 
> search string, if password has chars the interfer with regular expression 
> metacharecters then search will result in exception.
> 2016-09-12 13:55:48,976 configure.py add_l2tp_ipsec_user:569 Adding vpn user 
> murali * abcd++efgh## *
> 2016-09-12 13:55:48,976 CsFile.py load:39 Reading file /etc/ppp/chap-secrets
> 2016-09-12 13:55:48,976 CsFile.py searchString:140 Searching for murali * 
> abcd++efgh## * string
> 2016-09-12 13:55:48,976 configure.py main:1020 Exception while configuring 
> router
> Traceback (most recent call last):
> File "/opt/cloud/bin/configure.py", line 965, in main
> vpnuser.process()
> File "/opt/cloud/bin/configure.py", line 559, in process
> self.add_l2tp_ipsec_user(user, userconfig)
> File "/opt/cloud/bin/configure.py", line 572, in add_l2tp_ipsec_user
> userfound = file.searchString(userSearchEntry, '#')
> File "/opt/cloud/bin/cs/CsFile.py", line 146, in searchString
> if re.search(search, line):
> File "/usr/lib/python2.7/re.py", line 142, in search
> return _compile(pattern, flags).search(string)
> File "/usr/lib/python2.7/re.py", line 242, in _compile
> raise error, v # invalid expression
> 1 
> https://github.com/apache/cloudstack/blob/master/systemvm/patches/debian/config/opt/cloud/bin/cs/CsFile.py
> 2 
> https://github.com/apache/cloudstack/blob/master/systemvm/patches/debian/config/opt/cloud/bin/configure.py#L572



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9502) Target CLOUDSTACK-9386 into 4.9 release branch

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9502:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1676
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> Target CLOUDSTACK-9386 into 4.9 release branch
> --
>
> Key: CLOUDSTACK-9502
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9502
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Nicolas Vazquez
>Assignee: Nicolas Vazquez
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9317) Disabling static NAT on many IPs can leave wrong IPs on the router

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9317:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1623
  
@blueorangutan package


> Disabling static NAT on many IPs can leave wrong IPs on the router
> --
>
> Key: CLOUDSTACK-9317
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9317
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server, Virtual Router
>Affects Versions: 4.7.0, 4.7.1, 4.7.2
>Reporter: Jeff Hair
>
> The current behavior of enabling or disabling static NAT will call the apply 
> IP associations method in the management server. The method is not 
> thread-safe. If it's called from multiple threads, each thread will load up 
> the list of public IPs in different states (add or revoke)--correct for the 
> thread, but not correct overall. Depending on execution order on the virtual 
> router, the router can end up with public IPs assigned to it that are not 
> supposed to be on it anymore. When another account acquires the same IP, this 
> of course leads to network problems.
> The problem has been in CS since at least 4.2, and likely affects all 
> recently released versions. Affected version is set to 4.7.x because that's 
> what we verified against.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9451) stopVirtualMachine ignores forced parameter

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9451:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1635
  
@blueorangutan package


> stopVirtualMachine ignores forced parameter
> ---
>
> Key: CLOUDSTACK-9451
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9451
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: API, Management Server
>Affects Versions: 4.8.0, 4.9.0
>Reporter: Nathan Johnson
>Priority: Minor
>
> As reported by Jeff Hair from the mailing list:
> Hi,
> I'm looking at the documentation and then the code for stopVirtualMachine.
> The forced parameter is passed down into the VM manager, where it seems to
> be ignored. This means that cleanupEvenIfFailed during VM stop will always
> be false, despite what the API command says. Going back to commit a4f4c986
> in 2013, we can see that the forced parameter was used. During subsequent
> refactoring, this seems to have vanished.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9504) Fully support system VMs on managed storage

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9504:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1642
  
LGTM. @mike-tutkowski can you check why Travis failed?
@blueorangutan package


> Fully support system VMs on managed storage
> ---
>
> Key: CLOUDSTACK-9504
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9504
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.10.0.0
> Environment: All
>Reporter: Mike Tutkowski
>Assignee: Mike Tutkowski
> Fix For: 4.10.0.0
>
>
> There are three related items for this ticket:
> 1) Do not permit "custom IOPS" as a parameter when creating a system offering 
> (throw an exception if this parameter is passed in).
> 2) If you transition managed storage into maintenance mode and system VMs 
> were running on that managed storage, the host-side clustered file systems 
> (SRs on XenServer) are not removed. Remove them.
> 3) Add integration tests for system VMs with managed storage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9339) Virtual Routers don't handle Multiple Public Interfaces

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9339:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1659
  
@murali-reddy can you fix the merge conflict, and rebase against latest 
base branch?


> Virtual Routers don't handle Multiple Public Interfaces
> ---
>
> Key: CLOUDSTACK-9339
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9339
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.8.0
>Reporter: dsclose
>  Labels: firewall, nat, router
>
> There are a series of issues with the way Virtual Routers manage multiple 
> public interfaces. These are more pronounced on redundant virtual router 
> setups. I have not attempted to examine these issues in a VPC context. 
> Outside of a VPC context, however, the following is expected behaviour:
> * eth0 connects the router to the guest network.
> * In RvR setups, keepalived manages the guests' gateway IP as a virtual IP on 
> eth0.
> * eth1 provides a local link to the hypervisor, allowing Cloudstack to issue 
> commands to the router.
> * eth2 is the routers public interface. By default, a single public IP will 
> be setup on eth2 along with the necessary iptables and ip rules to source-NAT 
> guest traffic to that public IP.
> * When a public IP address is assigned to the router that is on a separate 
> subnet to the source-NAT IP, a new interface is configured, such as eth3, and 
> the IP is assigned to that interface.
> * This can result in eth3, eth4, eth5, etc. being created depending upon how 
> many public subnets the router has to work with.
> The above all works. The following, however, is currently not working:
> * Public interfaces should be set to DOWN on backup redundant routers. The 
> master.py script is responsible for setting public interfaces to UP during a 
> keepalived transition. Currently the check_is_up method of the CsIP class 
> brings all interfaces UP on both RvR. A proposed fix for this has been 
> discussed on the mailing list. That fix will leave public interfaces DOWN on 
> RvR allowing the keepalived transition to control the state of public 
> interfaces. Issue #1413 includes a commit that contradicts the proposed fix 
> so it is unclear what the current state of the code should be.
> * Newly created interfaces should be set to UP on master redundant routers. 
> Assuming public interfaces should be default be DOWN on an RvR we need to 
> accommodate the fact that, as interfaces are created, no keepalived 
> transition occurs. This means that assigning an IP from a new public subnet 
> will have no effect (as the interface will be down) until the network is 
> restarted with a "clean up."
> * Public interfaces other than eth2 do not forward traffic. There are two 
> iptables rules in the FORWARD chain of the filter table created for eth2 that 
> allow forwarding between eth2 and eth0. Equivalent rules are not created for 
> other public interfaces so forwarded traffic is dropped.
> * Outbound traffic from guest VMs does not honour static-NAT rules. Instead, 
> outbound traffic is source-NAT'd to the networks default source-NAT IP. New 
> connections from guests that are destined for public networks are processed 
> like so:
> 1. Traffic is matched against the following rule in the mangle table that 
> marks the connection with a 0x0:
> *mangle
> -A PREROUTING -i eth0 -m state --state NEW -j CONNMARK --set-xmark 
> 0x0/0x
> 2. There are no "ip rule" statements that match a connection marked 0x0, so 
> the kernel routes the connection via the default gateway. That gateway is on 
> source-NAT subnet, so the connection is routed out of eth2.
> 3. The following iptables rules are then matched in the filter table:
> *filter
> -A FORWARD -i eth0 -o eth2 -j FW_OUTBOUND
> -A FW_OUTBOUND -j FW_EGRESS_RULES
> -A FW_EGRESS_RULES -j ACCEPT
> 4. Finally, the following rule is matched from the nat table, where the IP 
> address is the source-NAT IP:
> *nat
> -A POSTROUTING -o eth2 -j SNAT --to-source 123.4.5.67
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9071) stats.output.uri stops the server from starting if the uri is malformed

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9071:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1673
  
LGTM. @blueorangutan package


> stats.output.uri stops the server from starting if the uri is malformed
> ---
>
> Key: CLOUDSTACK-9071
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9071
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.0
>Reporter: Carles Figuerola
>
> After inputting a malformed uri (was missing the graphite://) and restarting 
> the management service, the application stops at:
> 2015-11-17 11:06:42,861 INFO  [c.c.s.StatsCollector] 
> (localhost-startStop-1:null) metrics.dev.company.net is not a valid protocol 
> for external statistics. No statistics will be send.
> No more logs are output and tomcat is up but serving a completely blank page.
> When the uri has this form: (graphite://metrics.dev.company.net:2013), the 
> end result is very similar to the previous one
> (also, the last word should be "sent")



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8676) Deploy user instance from vm snapshot for VMware hypervisor

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8676:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1664
  
@sateesh-chodapuneedi can you resolve conflicts and rebase against latest 
master, thanks.


> Deploy user instance from vm snapshot for VMware hypervisor
> ---
>
> Key: CLOUDSTACK-8676
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8676
> Project: CloudStack
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server, VMware
>Reporter: Sateesh Chodapuneedi
>Assignee: Sateesh Chodapuneedi
> Fix For: Future
>
>
> Currently, ACS provides the ability to deploy a VM from a template or ISO. 
> However, ACS does not provide the ability to deploy a VM(s) directly from a 
> VM snapshot. 
> VM snapshots are stored in the primary storage and have a hierarchical or 
> parent/child relationship. The requirement would be to provide the ability to 
> deploy user instances from selected VM snapshots. Additionally, any VM 
> snapshot in the hierarchy can be deployed concurrently.  
> Even though this can be  supported and applicable to all hypervisors, to 
> start with this feature is supported only for VMware hypervisor.
> Feature specification is at 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Deploy+instance+from+VM+snapshot



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9554) Juniper Contrail plug-in is publishing events to wrong message bus

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9554:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1715
  
LGTM. @yvsubhash can you rebase the branch and edit the PR to base branch 
4.9?


> Juniper Contrail plug-in is publishing events to wrong message bus
> --
>
> Key: CLOUDSTACK-9554
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9554
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: eventbus
>Affects Versions: 4.9.0
> Environment: Citrix Xenserver with juniper contrail. 
>Reporter: subhash yedugundla
> Fix For: 4.10.0.0
>
>
> Juniper contrail plugin is publishing events to internal message bus instead 
> of event bus. which can lead to a deadlock in the following scenario
> 1. Create a VM in cloudstack with xenserver
> 2. Create firewall rules on contrail for the same
> 3. Delete the vm from xenserver directly. 
> 4. Next power state sync cycle would create a deadlock



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9553) Usage event is not getting recorded for snapshots in a specific scenario

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9553:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1714
  
LGTM. @yvsubhash can you rebase the branch and edit the PR to base branch 
4.9?


> Usage event is not getting recorded for snapshots in a specific scenario
> 
>
> Key: CLOUDSTACK-9553
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9553
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Usage
>Affects Versions: 4.9.0
> Environment: vmware 4.5.1
>Reporter: subhash yedugundla
> Fix For: Future
>
>
> 1. Create a scheduled snapshot of the volume
> 2. Delete the snapshot schedule before the run of the usage job for the day. 
> 3. The usage job completes successfully but there is a error message "post 
> process snapshot failed"
> 4. The snapshot.create event is captured in the event table, but not in the 
> usage event table



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9555) when a template is deleted and then copied over again , it is still marked as Removed in template_zone_ref table

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9555:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1716
  
LGTM, did not test this.
@yvsubhash can you rebase the branch and edit the PR to base branch 4.9? 
Will it be also possible to write a marvin to test this case, or point out if 
we already have a test case covering this?


> when a template is deleted and then copied over again , it is still marked as 
> Removed in template_zone_ref table
> 
>
> Key: CLOUDSTACK-9555
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9555
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Usage
>Affects Versions: 4.9.0
> Environment: All Hypervisors
>Reporter: subhash yedugundla
> Fix For: 4.10.0.0
>
>
> Charging of template stops in the following use case
> Step1:Register a Template(Name:A) to Zone1
> Step2:Copy the template(Name:A) to Zone 2
> Step3:Delete the template(Name:A) of only Zone2
> Step4:Copy the template(Name:A) to Zone 2
> Step5:Check the charging of the template



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9460) Graceful handling of Mysql server connection timeout

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9460:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1674
  
@abhinandanprateek ping, how severely do we need this for upcoming release?
@blueorangutan package


> Graceful handling of Mysql server connection timeout
> 
>
> Key: CLOUDSTACK-9460
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9460
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.9.0
>Reporter: Abhinandan Prateek
>Assignee: Abhinandan Prateek
> Fix For: 4.9.1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9502) Target CLOUDSTACK-9386 into 4.9 release branch

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9502:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1676
  
@blueorangutan package


> Target CLOUDSTACK-9386 into 4.9 release branch
> --
>
> Key: CLOUDSTACK-9502
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9502
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Nicolas Vazquez
>Assignee: Nicolas Vazquez
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9503) The router script times out resulting in failure of deployment

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9503:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1678
  
@blueorangutan package


> The router script times out resulting in failure of deployment
> --
>
> Key: CLOUDSTACK-9503
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9503
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.9.0
> Environment: KVM, Xen
>Reporter: Abhinandan Prateek
>Assignee: Abhinandan Prateek
> Fix For: 4.9.1.0
>
>
> When starting the virtual router in a shared network in advance zone the 
> scripts on router time out. This happen as there are several sub-commands 
> that are consolidated in a single command. The default timeout of 2 minutes 
> is short.
> 2016-09-09 00:06:25,016 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
> (Work-Job-Executor-110:ctx-e8089ec7 job-5135/job-5137 ctx-c3a8da18) 
> (logid:8aedea66) process hasn't exited
> 2016-09-09 00:06:25,016 WARN [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
> (Work-Job-Executor-110:ctx-e8089ec7 job-5135/job-5137 ctx-c3a8da18) 
> (logid:8aedea66) Command: com.cloud.agent.api.Command failed while starting 
> virtual router
> 2016-09-09 00:06:25,016 INFO [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-110:ctx-e8089ec7 job-5135/job-5137 ctx-c3a8da18) 
> (logid:8aedea66) The guru did not like the answers so stopping 
> VM[DomainRouter|r-3445-VM]
> —



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-8830) [VMware] VM snapshot fails for 12 min after instance creation

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-8830:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1677
  
@blueorangutan package


> [VMware] VM snapshot fails for 12 min after instance creation
> -
>
> Key: CLOUDSTACK-8830
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8830
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Maneesha
>Assignee: Maneesha
>
> ISSUE
> 
> [VMware] VM snapshot fails for 12 min after instance creation
> Environment
> ==
> Product Name: Cloudstack
> Hypervisor: VMWare VSphere 6
> VM DETAILS
> ==
> i-84987-16119-VM
> TROUBLESHOOTING
> ==
> I see that the following failure and immediate success result for the 
> CreateVMSnapshot call
> {noformat}
> 2015-07-24 08:20:55,363 DEBUG [c.c.a.t.Request] 
> (Work-Job-Executor-61:ctx-03fad7f2 job-64835/job-64836 ctx-746f3965) 
> (logid:8b87ab8a) Seq 80-6161487240196259878: Sending  { Cmd , MgmtId: 
> 345051581208, via: 80(ussfoldcsesx112.adslab.local), Ver: v1, Flags: 100011, 
> [{"com.cloud.agent.api.CreateVMSnapshotCommand":{"volumeTOs":[{"uuid":"a89b4ad5-f23f-4df6-84a8-89c4f40b2edb","volumeType":"ROOT","volumeState":"Ready","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"346b381a-8543-3f7b-9eff-fa909ad243c7","id":205,"poolType":"NetworkFilesystem","host":"10.144.35.110","path":"/tintri/ECS-SR-CLD200","port":2049,"url":"NetworkFilesystem://10.144.35.110/tintri/ECS-SR-CLD200/?ROLE=Primary&STOREUUID=346b381a-8543-3f7b-9eff-fa909ad243c7"}},"name":"ROOT-16119","size":1073741824,"path":"ROOT-16119","volumeId":19311,"vmName":"i-84987-16119-VM","vmState":"Running","accountId":84987,"chainInfo":"{\"diskDeviceBusName\":\"ide0:1\",\"diskChain\":[\"[346b381a85433f7b9efffa909ad243c7]
>  i-84987-16119-VM/ROOT-16119.vmdk\",\"[346b381a85433f7b9efffa909ad243c7] 
> 49f59e1a4ce23fec8890c8b9e5891d56/49f59e1a4ce23fec8890c8b9e5891d56.vmdk\"]}","format":"OVA","provisioningType":"THIN","id":19311,"deviceId":0,"cacheMode":"NONE","hypervisorType":"VMware"}],"target":{"id":962,"snapshotName":"i-84987-16119-VM_VS_20150724152053","type":"Disk","current":false,"description":"unit-test-instance-snapshot","quiescevm":false},"vmName":"i-84987-16119-VM","guestOSType":"None","wait":1800}}]
>  }
> 2015-07-24 08:20:55,373 DEBUG [c.c.a.t.Request] 
> (Work-Job-Executor-61:ctx-03fad7f2 job-64835/job-64836 ctx-746f3965) 
> (logid:8b87ab8a) Seq 80-6161487240196259878: Executing:  { Cmd , MgmtId: 
> 345051581208, via: 80(ussfoldcsesx112.adslab.local), Ver: v1, Flags: 100011, 
> [{"com.cloud.agent.api.CreateVMSnapshotCommand":{"volumeTOs":[{"uuid":"a89b4ad5-f23f-4df6-84a8-89c4f40b2edb","volumeType":"ROOT","volumeState":"Ready","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"346b381a-8543-3f7b-9eff-fa909ad243c7","id":205,"poolType":"NetworkFilesystem","host":"10.144.35.110","path":"/tintri/ECS-SR-CLD200","port":2049,"url":"NetworkFilesystem://10.144.35.110/tintri/ECS-SR-CLD200/?ROLE=Primary&STOREUUID=346b381a-8543-3f7b-9eff-fa909ad243c7"}},"name":"ROOT-16119","size":1073741824,"path":"ROOT-16119","volumeId":19311,"vmName":"i-84987-16119-VM","vmState":"Running","accountId":84987,"chainInfo":"{\"diskDeviceBusName\":\"ide0:1\",\"diskChain\":[\"[346b381a85433f7b9efffa909ad243c7]
>  i-84987-16119-VM/ROOT-16119.vmdk\",\"[346b381a85433f7b9efffa909ad243c7] 
> 49f59e1a4ce23fec8890c8b9e5891d56/49f59e1a4ce23fec8890c8b9e5891d56.vmdk\"]}","format":"OVA","provisioningType":"THIN","id":19311,"deviceId":0,"cacheMode":"NONE","hypervisorType":"VMware"}],"target":{"id":962,"snapshotName":"i-84987-16119-VM_VS_20150724152053","type":"Disk","current":false,"description":"unit-test-instance-snapshot","quiescevm":false},"vmName":"i-84987-16119-VM","guestOSType":"None","wait":1800}}]
>  }
> 2015-07-24 08:20:55,374 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-66:ctx-5fbdccd8) (logid:710814a5) Seq 80-6161487240196259878: 
> Executing request
> 2015-07-24 08:20:55,523 ERROR [c.c.h.v.m.VmwareStorageManagerImpl] 
> (DirectAgent-66:ctx-5fbdccd8 ussfoldcsesx112.adslab.local, 
> job-64835/job-64836, cmd: CreateVMSnapshotCommand) (logid:8b87ab8a) failed to 
> create snapshot for vm:i-84987-16119-VM due to null
> 2015-07-24 08:20:55,524 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-66:ctx-5fbdccd8) (logid:8b87ab8a) Seq 80-6161487240196259878: 
> Response Received: 
> 2015-07-24 08:20:55,525 DEBUG [c.c.a.t.Request] (DirectAgent-66:ctx-5fbdccd8) 
> (logid:8b87ab8a) Seq 80-6161487240196259878: Processing:  {

[jira] [Commented] (CLOUDSTACK-9491) Vmware resource: incorrect parsing of device list to find ethener index of plugged nic

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9491:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1681
  
@murali-reddy can you squash your commits
@blueorangutan package


> Vmware resource: incorrect parsing of device list to find ethener index of 
> plugged nic
> --
>
> Key: CLOUDSTACK-9491
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9491
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.0
>Reporter: Murali Reddy
>Assignee: Murali Reddy
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> In VmwareResource.java, there is logic ( in findRouterEthDeviceIndex) to find 
> ethernet interface a mac address is associated with.
> After NIC in plugged in to a Vm through vSphere, it takes some time for the 
> device to show up in the guest VM.
> Logic loops through the device list obtained from /proc/sys/net/ipv4/conf 
> from the VM, and matched againest mac.
> However '/proc/sys/net/ipv4/conf'  is not refreshed, heve logic loops through 
> old device list always.
> In addition there is no exception thrown and error is maked by sending -1. 
> Eventually, VR scripts are getting -1 as device number causing failure in 
> processing the scripts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9498) VR CsFile search utility methods fail when search string has char *, + etc

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9498:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1680
  
@murali-reddy can you check if changes to the test_data will work in general
@blueorangutan package


> VR CsFile search utility methods fail when search string has char *, + etc
> --
>
> Key: CLOUDSTACK-9498
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9498
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.2, 4.7.1, 4.8.0, 4.8.1, 4.9.0
>Reporter: Murali Reddy
>Assignee: Murali Reddy
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> VR CsFile search utility methods fail when search string has char *, + etc.
> These utility methods in CsFile [1] uses python regular expression module to 
> search a string in a file. However, if caller passes a search string, that 
> has chars *, +, . etc that are also happen to be express wild card / match 
> expression in regular expression results in exceptions from python 're' 
> module.
> For instance searching for VPN user [2] passes "username * password *" as 
> search string, if password has chars the interfer with regular expression 
> metacharecters then search will result in exception.
> 2016-09-12 13:55:48,976 configure.py add_l2tp_ipsec_user:569 Adding vpn user 
> murali * abcd++efgh## *
> 2016-09-12 13:55:48,976 CsFile.py load:39 Reading file /etc/ppp/chap-secrets
> 2016-09-12 13:55:48,976 CsFile.py searchString:140 Searching for murali * 
> abcd++efgh## * string
> 2016-09-12 13:55:48,976 configure.py main:1020 Exception while configuring 
> router
> Traceback (most recent call last):
> File "/opt/cloud/bin/configure.py", line 965, in main
> vpnuser.process()
> File "/opt/cloud/bin/configure.py", line 559, in process
> self.add_l2tp_ipsec_user(user, userconfig)
> File "/opt/cloud/bin/configure.py", line 572, in add_l2tp_ipsec_user
> userfound = file.searchString(userSearchEntry, '#')
> File "/opt/cloud/bin/cs/CsFile.py", line 146, in searchString
> if re.search(search, line):
> File "/usr/lib/python2.7/re.py", line 142, in search
> return _compile(pattern, flags).search(string)
> File "/usr/lib/python2.7/re.py", line 242, in _compile
> raise error, v # invalid expression
> 1 
> https://github.com/apache/cloudstack/blob/master/systemvm/patches/debian/config/opt/cloud/bin/cs/CsFile.py
> 2 
> https://github.com/apache/cloudstack/blob/master/systemvm/patches/debian/config/opt/cloud/bin/configure.py#L572



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9507) Make listVM cmd response's guest os type field consistent with listTemplate reponse's

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9507:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1686
  
Instead of changing the response type, another way is additive -- to 
introduce a new key (guestosuuid) in the response that returns the uuid for the 
expected key.


> Make listVM cmd response's guest os type field consistent with listTemplate 
> reponse's
> -
>
> Key: CLOUDSTACK-9507
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9507
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0, 4.9.2.0, 4.9.1.0
>
>
> list virtualmachines response's ostypeid returned is an integer while, the 
> list templates API returns a uuid in the ostypeid key. The fix would be to 
> make the API consistent for users to only/always return uuids as id/integers 
> may not be consumable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9500) VR configuration not clean properly after Public IP release

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9500:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1706
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> VR configuration not clean properly after Public IP release
> ---
>
> Key: CLOUDSTACK-9500
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9500
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.7.0, 4.9.0
>Reporter: Pierre-Luc Dion
>
> On a VPC, releasing a public IP that had Port Forwarding does not remove 
> configuration of the public IP on the VR configs 
> ({{/etc/cloudstack/forwardingrules.json}}, {{/etc/cloudstack/ips.json}})
> So, when this IP is reassign to another VPC, it cause arp table issues on 
> switches, because 2 MAC try to own this IP from 2 different VRs. the IP on 
> the old VR is not pignable but the switches arp table get updated every time 
> the previous VR have configuration changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9500) VR configuration not clean properly after Public IP release

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9500:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1706
  
@blueorangutan package


> VR configuration not clean properly after Public IP release
> ---
>
> Key: CLOUDSTACK-9500
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9500
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.7.0, 4.9.0
>Reporter: Pierre-Luc Dion
>
> On a VPC, releasing a public IP that had Port Forwarding does not remove 
> configuration of the public IP on the VR configs 
> ({{/etc/cloudstack/forwardingrules.json}}, {{/etc/cloudstack/ips.json}})
> So, when this IP is reassign to another VPC, it cause arp table issues on 
> switches, because 2 MAC try to own this IP from 2 different VRs. the IP on 
> the old VR is not pignable but the switches arp table get updated every time 
> the previous VR have configuration changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9500) VR configuration not clean properly after Public IP release

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9500:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1706
  
/cc @murali-reddy 


> VR configuration not clean properly after Public IP release
> ---
>
> Key: CLOUDSTACK-9500
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9500
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.7.0, 4.9.0
>Reporter: Pierre-Luc Dion
>
> On a VPC, releasing a public IP that had Port Forwarding does not remove 
> configuration of the public IP on the VR configs 
> ({{/etc/cloudstack/forwardingrules.json}}, {{/etc/cloudstack/ips.json}})
> So, when this IP is reassign to another VPC, it cause arp table issues on 
> switches, because 2 MAC try to own this IP from 2 different VRs. the IP on 
> the old VR is not pignable but the switches arp table get updated every time 
> the previous VR have configuration changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9552) KVM Security Groups do not allow DNS over TCP egress

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9552:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1713
  
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been 
kicked to run smoke tests


> KVM Security Groups do not allow DNS over TCP egress
> 
>
> Key: CLOUDSTACK-9552
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9552
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM
>Affects Versions: 4.8.0, 4.9.0
> Environment: KVM Basic Networking
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: dns, dnssec, security-groups
> Fix For: Future
>
>
> When egress filtering is configured all outbound traffic is blocked unless 
> configured otherwise.
> With the exception that UDP/53 DNS is allowed implicitly by the Security 
> Groups.
> Many DNS responses are larger then 4k, with DNSSEC for example and require 
> TCP to be allowed.
> The Security Groups should also allow TCP/53 when egress filtering is 
> configured.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-7982) Storage live migration support for KVM

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-7982:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1709
  
@marcaurele yes, click on the details, go to the failing job and open the 
raw build log/output for debugging. Can you rebase again please, squash the 
changes. I can help run tests on this PR.


> Storage live migration support for KVM
> --
>
> Key: CLOUDSTACK-7982
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7982
> Project: CloudStack
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Wei Zhou
>Assignee: Marc-Aurèle Brothier
> Fix For: Future
>
>
> Currently it supports Xenserver, Vmware, Hyper-V, but not KVM.
> We need to add the implementation for KVM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9552) KVM Security Groups do not allow DNS over TCP egress

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9552:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1713
  
@blueorangutan test


> KVM Security Groups do not allow DNS over TCP egress
> 
>
> Key: CLOUDSTACK-9552
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9552
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: KVM
>Affects Versions: 4.8.0, 4.9.0
> Environment: KVM Basic Networking
>Reporter: Wido den Hollander
>Assignee: Wido den Hollander
>  Labels: dns, dnssec, security-groups
> Fix For: Future
>
>
> When egress filtering is configured all outbound traffic is blocked unless 
> configured otherwise.
> With the exception that UDP/53 DNS is allowed implicitly by the Security 
> Groups.
> Many DNS responses are larger then 4k, with DNSSEC for example and require 
> TCP to be allowed.
> The Security Groups should also allow TCP/53 when egress filtering is 
> configured.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9456) Migrate master to use Java8 and Spring4

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9456:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1638
  
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you 
posted as I make progress.


> Migrate master to use Java8 and Spring4
> ---
>
> Key: CLOUDSTACK-9456
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9456
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> We need to move master to use Java8 and Spring4.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9456) Migrate master to use Java8 and Spring4

2016-10-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CLOUDSTACK-9456:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1638
  
Re-kicking tests on this.
@blueorangutan package


> Migrate master to use Java8 and Spring4
> ---
>
> Key: CLOUDSTACK-9456
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9456
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> We need to move master to use Java8 and Spring4.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9532) Use macchinina as a template for failing tests

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 0c146e14c645811c02d6e3c74fd24ed5b3a2953c in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0c146e1 ]

CLOUDSTACK-9532: Use macchinina as a template for failing tests

- Switches to macchinina as template for VM in the tests
- Modifies the ostype of the macchinina template to 'Other Linux (64-bit)'
- Check template download status, fixes Nonetype iterable issue

Signed-off-by: Rohit Yadav 


> Use macchinina as a template for failing tests
> --
>
> Key: CLOUDSTACK-9532
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9532
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> For some of the failing tests, use macchinina as a template and use the os 
> type as 'Other Linux (64-bit)'.
> test/integration/smoke/test_internal_lb.py
> test/integration/smoke/test_routers_network_ops.py
> test/integration/smoke/test_vpc_redundant.py
> test/integration/smoke/test_vpc_vpn.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9161) Quota Service: fix marvin test

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Quota Service: fix marvin test
> --
>
> Key: CLOUDSTACK-9161
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9161
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.7.0
>Reporter: Abhinandan Prateek
>Assignee: Abhinandan Prateek
>Priority: Critical
> Fix For: 4.7.0
>
>
> the two tests in test_quota.py marvin tests are failing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9524) Some marvin tests don't check hypervisor before executing ssh into VR

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Some marvin tests don't check hypervisor before executing ssh into VR
> -
>
> Key: CLOUDSTACK-9524
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9524
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> Some marvin tests dont' check router hypervisor, before trying to ssh to VR 
> by ssh into mgmt server first and then using the default ssh keys.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9531) Fix tearDown issue in test_vpc_vpn.py

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 5545bcaa9de9ddcc2e4842dc5d2bb073897ebef2 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5545bca ]

CLOUDSTACK-9531: Try template teardown without failure

As per previous discussions and ticket, a template deletion may result in 
failure
(exception thrown) for templates that are not properly downloaded. The tearDown
method, a template may be tried for deletion but on failure we may ignore it
as account deletion/tearDown would retry to cleanup resource owned by the 
account.

Signed-off-by: Rohit Yadav 


> Fix tearDown issue in test_vpc_vpn.py
> -
>
> Key: CLOUDSTACK-9531
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9531
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> After running the test, delete template command may fail due to template that 
> is not properly setup/downloaded and other reasons. The tearDown failure is 
> frivolous, on account deletion all resources of the account are expunged so 
> any template deletion failure may be retried when account is removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname"

[jira] [Commented] (CLOUDSTACK-9532) Use macchinina as a template for failing tests

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Use macchinina as a template for failing tests
> --
>
> Key: CLOUDSTACK-9532
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9532
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> For some of the failing tests, use macchinina as a template and use the os 
> type as 'Other Linux (64-bit)'.
> test/integration/smoke/test_internal_lb.py
> test/integration/smoke/test_routers_network_ops.py
> test/integration/smoke/test_vpc_redundant.py
> test/integration/smoke/test_vpc_vpn.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9524) Some marvin tests don't check hypervisor before executing ssh into VR

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit dc932687888aa068ff4d4e657a76c07cff26cd90 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=dc93268 ]

CLOUDSTACK-9524: Check router hypervisor before ssh to VR

SSH to VR for vmware, goes via the mgmt server and uses ssh keys at
/var/cloudstack path. Add suitable checks to tests failing on vmware.

Signed-off-by: Rohit Yadav 


> Some marvin tests don't check hypervisor before executing ssh into VR
> -
>
> Key: CLOUDSTACK-9524
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9524
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> Some marvin tests dont' check router hypervisor, before trying to ssh to VR 
> by ssh into mgmt server first and then using the default ssh keys.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9514) MarvinTests: some host credentials are hardcoded, make them to be picked up from config file

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> MarvinTests: some host credentials are hardcoded, make them to be picked up 
> from config file
> 
>
> Key: CLOUDSTACK-9514
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9514
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMWare 5.5u3 + NFS primary/secondary storage
>Reporter: Boris Stoyanov
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> test_router_dhcphosts.py
> test_routers_iptables_default_policy.py
> Have hardcoded values for host credentials which are making our tests fail if 
> we setup different from default. 
> Making them to be picked up from the config file would be more sufficient for 
> everyone. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9529) Marvin Tests do not clean up properly

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin Tests do not clean up properly
> -
>
> Key: CLOUDSTACK-9529
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9529
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1, 4.9.0
> Environment: CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary 
> Storage
>Reporter: Paul Angus
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> After running the smoketest suite against XenServer 6.5 it was found that the 
> tests had left a number of resources behind or in use.
> * 20 public IP addresses had been consumed and not cleaned up.
> * 22 guest networks remained
> * 6 VPCs remained
> * 30 Accounts remained
> * 20 VRs
> * 26 compute offerings
> * 8 Disk offerings
> * 12 network offerings
> * 13 VPC offerings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9531) Fix tearDown issue in test_vpc_vpn.py

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Fix tearDown issue in test_vpc_vpn.py
> -
>
> Key: CLOUDSTACK-9531
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9531
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> After running the test, delete template command may fail due to template that 
> is not properly setup/downloaded and other reasons. The tearDown failure is 
> frivolous, on account deletion all resources of the account are expunged so 
> any template deletion failure may be retried when account is removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

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

CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again

- test_01_test_vm_volume_snapshot not supported for Xen, tests keep failing

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "displayvm": true,
>   "domain": "ROOT",
>   "domainid": "3f07ff46-894c-11e6-8a4c-06828c01079c",
>   "guestosid": "3f36045e-894c-11e6-8a4c-06828c01079c",
>   "haenable": false,
>   "hypervisor": "XenServer",
>   "id": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "instancename": "i-2-18-VM",
>   "isdynamicallyscalable": true,
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobstatus": 0,
>   "memory": 128,
>   "name": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "networkkbsread": 0,
>   "networkkbswrite": 0,
>   "nic": [
> {
>   "gateway": "10.1.1.1",
>   "id": "a49eac90-9fa2-4618-9989-436d6e3d5eee",
>   "ipaddress": "10.1.1.2",
>   "isdefault": true,
>   "macaddress": "02:00:38:54:00:01",
>   "netmask": "255.255.255.0",
>   "networkid": "5d721377-09e8-4ab4-9be8-f24e5da6cfd5",
>   "networkname": "test",
>   "secondaryip": [],
>   "traffictype": "Guest",
>   "type": "Isolated"
> }
>   ],
>   "ostypeid": 142,
>   "passwordenabled": false,
>   "rootdeviceid

[jira] [Commented] (CLOUDSTACK-9515) internal LB vm is not handled when parsing cmd_line.json, resulting in internal LB vm not come up

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> internal LB vm is not handled when parsing cmd_line.json, resulting in 
> internal LB vm not come up
> -
>
> Key: CLOUDSTACK-9515
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9515
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMWare 5.5u3 + NFS primary/secondary storage
>Reporter: Murali Reddy
>Assignee: Rohit Yadav
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> internal LB vm is not handled when parsing cmd_line.json, resulting in 
> internal LB vm not come up.
> parsing cmd_line to create 'ips' data bag, never handled internal lb vm, but 
> still
> worked due to another bug.  support for internal lb vm is needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9533) gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> ---
>
> Key: CLOUDSTACK-9533
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9533
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.2, 4.7.1, 4.8.0, 4.9.0, 4.10.0.0
>Reporter: Murali Reddy
> Fix For: 4.8.1, 4.10.0.0, 4.9.2.0
>
>
> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> In systemvm/patches/debian/config/opt/cloud/bin/merge.py
> processCLItem following piece of code sets the local gateway as public 
> interface/ip gateway, as there is no check on the network type.
>if('localgw' in self.qFile.data['cmd_line']):
>  dp['gateway'] = self.qFile.data['cmd_line']['localgw']
> for public network type, it should be read from cmd_line.gateway



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname"

[jira] [Commented] (CLOUDSTACK-9529) Marvin Tests do not clean up properly

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 409e504f6f96c19dd934f69049aec82e40c755cd in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=409e504 ]

CLOUDSTACK-9529: Cleanup resources after marvin test completes

- Cleans up volumes, snapshots and VM after running test_snapshots

Signed-off-by: Rohit Yadav 


> Marvin Tests do not clean up properly
> -
>
> Key: CLOUDSTACK-9529
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9529
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1, 4.9.0
> Environment: CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary 
> Storage
>Reporter: Paul Angus
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> After running the smoketest suite against XenServer 6.5 it was found that the 
> tests had left a number of resources behind or in use.
> * 20 public IP addresses had been consumed and not cleaned up.
> * 22 guest networks remained
> * 6 VPCs remained
> * 30 Accounts remained
> * 20 VRs
> * 26 compute offerings
> * 8 Disk offerings
> * 12 network offerings
> * 13 VPC offerings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9511) fix test_privategw_acl.py to handle multiple physical networks

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> fix test_privategw_acl.py to handle multiple physical networks
> --
>
> Key: CLOUDSTACK-9511
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9511
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMware 5.5u3 + NFS Primary/Secondary Storage
> CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary Storage
>Reporter: Murali Reddy
>Assignee: Murali Reddy
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> Smoke test test_privategw_acl.py works only if there is single physical 
> network in the zone. If there are separate physical networks for different 
> traffic, then test will fail, as it is hard coded to read to first physical 
> network which may not be the physical network that has guest traffic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9533) gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

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

CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing the
cmd_line.json to create ips.json databag

using 'gateway' in cmd_line for the public ip gateway while creating ips.json 
databag


> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> ---
>
> Key: CLOUDSTACK-9533
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9533
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.2, 4.7.1, 4.8.0, 4.9.0, 4.10.0.0
>Reporter: Murali Reddy
> Fix For: 4.8.1, 4.10.0.0, 4.9.2.0
>
>
> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> In systemvm/patches/debian/config/opt/cloud/bin/merge.py
> processCLItem following piece of code sets the local gateway as public 
> interface/ip gateway, as there is no check on the network type.
>if('localgw' in self.qFile.data['cmd_line']):
>  dp['gateway'] = self.qFile.data['cmd_line']['localgw']
> for public network type, it should be read from cmd_line.gateway



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9522) Marvin common.py setNonContiguousVlanIds does not hanlde multiple physical network

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin common.py setNonContiguousVlanIds does not hanlde multiple physical 
> network
> --
>
> Key: CLOUDSTACK-9522
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9522
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Murali Reddy
>
> In case of mutliple physical networks, common.py setNonContiguousVlanIds  
> will result in exception.
> Management networks marvin  instance does not have vlan attribute resulting 
> in exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

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

CLOUDSTACK-9527: Skip tests not supported for hypervisor

- test_01_test_vm_volume_snapshot not supported for Xen, tests keep failing
- Skip snapshot tests for centos6/kvm as snapshot is not supported by older
  qemu-img versions

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "displayvm": true,
>   "domain": "ROOT",
>   "domainid": "3f07ff46-894c-11e6-8a4c-06828c01079c",
>   "guestosid": "3f36045e-894c-11e6-8a4c-06828c01079c",
>   "haenable": false,
>   "hypervisor": "XenServer",
>   "id": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "instancename": "i-2-18-VM",
>   "isdynamicallyscalable": true,
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobstatus": 0,
>   "memory": 128,
>   "name": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "networkkbsread": 0,
>   "networkkbswrite": 0,
>   "nic": [
> {
>   "gateway": "10.1.1.1",
>   "id": "a49eac90-9fa2-4618-9989-436d6e3d5eee",
>   "ipaddress": "10.1.1.2",
>   "isdefault": true,
>   "macaddress": "02:00:38:54:00:01",
>   "netmask": "255.255.255.0",
>   "networkid": "5d721377-09e8-4ab4-9be8-f24e5da6cfd5",
>   "networkname": "test",
>   "secondaryip": [],
>   "traffictype": "Guest",
>   "type": "Isolated"
> }
>   ],
>  

[jira] [Commented] (CLOUDSTACK-9526) Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded username and password

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded username and password
> -
>
> Key: CLOUDSTACK-9526
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9526
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Looks like another password issue with this test
> {code}
> AuthenticationException: Authentication failed.
> Trying SSH Connection: Host:10.2.2.38 User:root   
> Port:22 RetryCnt:57===
> SshClient: Exception under createConnection: ['Traceback (most recent call 
> last):\n', '  File "/usr/lib/python2.7/site-packages/marvin/sshClient.py", 
> line 121, in createConnection\ntimeout=self.timeout)\n', '  File 
> "/usr/lib/python2.7/site-packages/paramiko/client.py", line 380, in connect\n 
>look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)\n', '  File 
> "/usr/lib/python2.7/site-packages/paramiko/client.py", line 603, in _auth\n   
>  raise saved_exception\n', 'AuthenticationException: Authentication 
> failed.\n']
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/marvin/sshClient.py", line 121, in 
> createConnection{code}
> {code}[root@trl-97-x-cs48-bstoyanov-marvin ~]# cat 
> /marvin/tests/smoke/test_deploy_vgpu_enabled_vm.py |grep testdata
> self.testdata = self.testClient.getParsedTestDataConfig()
> 
> port=self.testdata['configurableData']['host']["publicport"],
> 
> user=self.testdata['configurableData']['host']["username"],
> 
> passwd=self.testdata['configurableData']['host']["password"]){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9531) Fix tearDown issue in test_vpc_vpn.py

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 5545bcaa9de9ddcc2e4842dc5d2bb073897ebef2 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5545bca ]

CLOUDSTACK-9531: Try template teardown without failure

As per previous discussions and ticket, a template deletion may result in 
failure
(exception thrown) for templates that are not properly downloaded. The tearDown
method, a template may be tried for deletion but on failure we may ignore it
as account deletion/tearDown would retry to cleanup resource owned by the 
account.

Signed-off-by: Rohit Yadav 


> Fix tearDown issue in test_vpc_vpn.py
> -
>
> Key: CLOUDSTACK-9531
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9531
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> After running the test, delete template command may fail due to template that 
> is not properly setup/downloaded and other reasons. The tearDown failure is 
> frivolous, on account deletion all resources of the account are expunged so 
> any template deletion failure may be retried when account is removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9511) fix test_privategw_acl.py to handle multiple physical networks

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> fix test_privategw_acl.py to handle multiple physical networks
> --
>
> Key: CLOUDSTACK-9511
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9511
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMware 5.5u3 + NFS Primary/Secondary Storage
> CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary Storage
>Reporter: Murali Reddy
>Assignee: Murali Reddy
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> Smoke test test_privategw_acl.py works only if there is single physical 
> network in the zone. If there are separate physical networks for different 
> traffic, then test will fail, as it is hard coded to read to first physical 
> network which may not be the physical network that has guest traffic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9533) gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> ---
>
> Key: CLOUDSTACK-9533
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9533
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.2, 4.7.1, 4.8.0, 4.9.0, 4.10.0.0
>Reporter: Murali Reddy
> Fix For: 4.8.1, 4.10.0.0, 4.9.2.0
>
>
> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> In systemvm/patches/debian/config/opt/cloud/bin/merge.py
> processCLItem following piece of code sets the local gateway as public 
> interface/ip gateway, as there is no check on the network type.
>if('localgw' in self.qFile.data['cmd_line']):
>  dp['gateway'] = self.qFile.data['cmd_line']['localgw']
> for public network type, it should be read from cmd_line.gateway



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9524) Some marvin tests don't check hypervisor before executing ssh into VR

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Some marvin tests don't check hypervisor before executing ssh into VR
> -
>
> Key: CLOUDSTACK-9524
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9524
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> Some marvin tests dont' check router hypervisor, before trying to ssh to VR 
> by ssh into mgmt server first and then using the default ssh keys.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname": "

[jira] [Commented] (CLOUDSTACK-9515) internal LB vm is not handled when parsing cmd_line.json, resulting in internal LB vm not come up

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> internal LB vm is not handled when parsing cmd_line.json, resulting in 
> internal LB vm not come up
> -
>
> Key: CLOUDSTACK-9515
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9515
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMWare 5.5u3 + NFS primary/secondary storage
>Reporter: Murali Reddy
>Assignee: Rohit Yadav
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> internal LB vm is not handled when parsing cmd_line.json, resulting in 
> internal LB vm not come up.
> parsing cmd_line to create 'ips' data bag, never handled internal lb vm, but 
> still
> worked due to another bug.  support for internal lb vm is needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9524) Some marvin tests don't check hypervisor before executing ssh into VR

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit dc932687888aa068ff4d4e657a76c07cff26cd90 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=dc93268 ]

CLOUDSTACK-9524: Check router hypervisor before ssh to VR

SSH to VR for vmware, goes via the mgmt server and uses ssh keys at
/var/cloudstack path. Add suitable checks to tests failing on vmware.

Signed-off-by: Rohit Yadav 


> Some marvin tests don't check hypervisor before executing ssh into VR
> -
>
> Key: CLOUDSTACK-9524
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9524
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> Some marvin tests dont' check router hypervisor, before trying to ssh to VR 
> by ssh into mgmt server first and then using the default ssh keys.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9532) Use macchinina as a template for failing tests

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 0c146e14c645811c02d6e3c74fd24ed5b3a2953c in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0c146e1 ]

CLOUDSTACK-9532: Use macchinina as a template for failing tests

- Switches to macchinina as template for VM in the tests
- Modifies the ostype of the macchinina template to 'Other Linux (64-bit)'
- Check template download status, fixes Nonetype iterable issue

Signed-off-by: Rohit Yadav 


> Use macchinina as a template for failing tests
> --
>
> Key: CLOUDSTACK-9532
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9532
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> For some of the failing tests, use macchinina as a template and use the os 
> type as 'Other Linux (64-bit)'.
> test/integration/smoke/test_internal_lb.py
> test/integration/smoke/test_routers_network_ops.py
> test/integration/smoke/test_vpc_redundant.py
> test/integration/smoke/test_vpc_vpn.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9514) MarvinTests: some host credentials are hardcoded, make them to be picked up from config file

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> MarvinTests: some host credentials are hardcoded, make them to be picked up 
> from config file
> 
>
> Key: CLOUDSTACK-9514
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9514
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMWare 5.5u3 + NFS primary/secondary storage
>Reporter: Boris Stoyanov
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> test_router_dhcphosts.py
> test_routers_iptables_default_policy.py
> Have hardcoded values for host credentials which are making our tests fail if 
> we setup different from default. 
> Making them to be picked up from the config file would be more sufficient for 
> everyone. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9529) Marvin Tests do not clean up properly

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin Tests do not clean up properly
> -
>
> Key: CLOUDSTACK-9529
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9529
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1, 4.9.0
> Environment: CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary 
> Storage
>Reporter: Paul Angus
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> After running the smoketest suite against XenServer 6.5 it was found that the 
> tests had left a number of resources behind or in use.
> * 20 public IP addresses had been consumed and not cleaned up.
> * 22 guest networks remained
> * 6 VPCs remained
> * 30 Accounts remained
> * 20 VRs
> * 26 compute offerings
> * 8 Disk offerings
> * 12 network offerings
> * 13 VPC offerings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit b0d527688f2bd781d99511ac72c638aeca12f95b in cloudstack's branch 
refs/heads/4.9 from [~bstoyanov]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b0d5276 ]

CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again

- test_01_test_vm_volume_snapshot not supported for Xen, tests keep failing

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "displayvm": true,
>   "domain": "ROOT",
>   "domainid": "3f07ff46-894c-11e6-8a4c-06828c01079c",
>   "guestosid": "3f36045e-894c-11e6-8a4c-06828c01079c",
>   "haenable": false,
>   "hypervisor": "XenServer",
>   "id": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "instancename": "i-2-18-VM",
>   "isdynamicallyscalable": true,
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobstatus": 0,
>   "memory": 128,
>   "name": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "networkkbsread": 0,
>   "networkkbswrite": 0,
>   "nic": [
> {
>   "gateway": "10.1.1.1",
>   "id": "a49eac90-9fa2-4618-9989-436d6e3d5eee",
>   "ipaddress": "10.1.1.2",
>   "isdefault": true,
>   "macaddress": "02:00:38:54:00:01",
>   "netmask": "255.255.255.0",
>   "networkid": "5d721377-09e8-4ab4-9be8-f24e5da6cfd5",
>   "networkname": "test",
>   "secondaryip": [],
>   "traffictype": "Guest",
>   "type": "Isolated"
> }
>   ],
>   "ostypeid": 142,
>   "passwordenabled": false,
>   "rootdeviceid": 

[jira] [Commented] (CLOUDSTACK-9522) Marvin common.py setNonContiguousVlanIds does not hanlde multiple physical network

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin common.py setNonContiguousVlanIds does not hanlde multiple physical 
> network
> --
>
> Key: CLOUDSTACK-9522
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9522
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Murali Reddy
>
> In case of mutliple physical networks, common.py setNonContiguousVlanIds  
> will result in exception.
> Management networks marvin  instance does not have vlan attribute resulting 
> in exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9161) Quota Service: fix marvin test

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Quota Service: fix marvin test
> --
>
> Key: CLOUDSTACK-9161
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9161
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.7.0
>Reporter: Abhinandan Prateek
>Assignee: Abhinandan Prateek
>Priority: Critical
> Fix For: 4.7.0
>
>
> the two tests in test_quota.py marvin tests are failing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9526) Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded username and password

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded username and password
> -
>
> Key: CLOUDSTACK-9526
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9526
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Looks like another password issue with this test
> {code}
> AuthenticationException: Authentication failed.
> Trying SSH Connection: Host:10.2.2.38 User:root   
> Port:22 RetryCnt:57===
> SshClient: Exception under createConnection: ['Traceback (most recent call 
> last):\n', '  File "/usr/lib/python2.7/site-packages/marvin/sshClient.py", 
> line 121, in createConnection\ntimeout=self.timeout)\n', '  File 
> "/usr/lib/python2.7/site-packages/paramiko/client.py", line 380, in connect\n 
>look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)\n', '  File 
> "/usr/lib/python2.7/site-packages/paramiko/client.py", line 603, in _auth\n   
>  raise saved_exception\n', 'AuthenticationException: Authentication 
> failed.\n']
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/marvin/sshClient.py", line 121, in 
> createConnection{code}
> {code}[root@trl-97-x-cs48-bstoyanov-marvin ~]# cat 
> /marvin/tests/smoke/test_deploy_vgpu_enabled_vm.py |grep testdata
> self.testdata = self.testClient.getParsedTestDataConfig()
> 
> port=self.testdata['configurableData']['host']["publicport"],
> 
> user=self.testdata['configurableData']['host']["username"],
> 
> passwd=self.testdata['configurableData']['host']["password"]){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9531) Fix tearDown issue in test_vpc_vpn.py

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Fix tearDown issue in test_vpc_vpn.py
> -
>
> Key: CLOUDSTACK-9531
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9531
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> After running the test, delete template command may fail due to template that 
> is not properly setup/downloaded and other reasons. The tearDown failure is 
> frivolous, on account deletion all resources of the account are expunged so 
> any template deletion failure may be retried when account is removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9529) Marvin Tests do not clean up properly

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 409e504f6f96c19dd934f69049aec82e40c755cd in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=409e504 ]

CLOUDSTACK-9529: Cleanup resources after marvin test completes

- Cleans up volumes, snapshots and VM after running test_snapshots

Signed-off-by: Rohit Yadav 


> Marvin Tests do not clean up properly
> -
>
> Key: CLOUDSTACK-9529
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9529
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1, 4.9.0
> Environment: CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary 
> Storage
>Reporter: Paul Angus
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> After running the smoketest suite against XenServer 6.5 it was found that the 
> tests had left a number of resources behind or in use.
> * 20 public IP addresses had been consumed and not cleaned up.
> * 22 guest networks remained
> * 6 VPCs remained
> * 30 Accounts remained
> * 20 VRs
> * 26 compute offerings
> * 8 Disk offerings
> * 12 network offerings
> * 13 VPC offerings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname": "

[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 394f2e359f2af9de6c7e586659fed47051f44146 in cloudstack's branch 
refs/heads/4.9 from [~bstoyanov]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=394f2e3 ]

CLOUDSTACK-9527: Skip tests not supported for hypervisor

- test_01_test_vm_volume_snapshot not supported for Xen, tests keep failing
- Skip snapshot tests for centos6/kvm as snapshot is not supported by older
  qemu-img versions

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "displayvm": true,
>   "domain": "ROOT",
>   "domainid": "3f07ff46-894c-11e6-8a4c-06828c01079c",
>   "guestosid": "3f36045e-894c-11e6-8a4c-06828c01079c",
>   "haenable": false,
>   "hypervisor": "XenServer",
>   "id": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "instancename": "i-2-18-VM",
>   "isdynamicallyscalable": true,
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobstatus": 0,
>   "memory": 128,
>   "name": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "networkkbsread": 0,
>   "networkkbswrite": 0,
>   "nic": [
> {
>   "gateway": "10.1.1.1",
>   "id": "a49eac90-9fa2-4618-9989-436d6e3d5eee",
>   "ipaddress": "10.1.1.2",
>   "isdefault": true,
>   "macaddress": "02:00:38:54:00:01",
>   "netmask": "255.255.255.0",
>   "networkid": "5d721377-09e8-4ab4-9be8-f24e5da6cfd5",
>   "networkname": "test",
>   "secondaryip": [],
>   "traffictype": "Guest",
>   "type": "Isolated"
> }
>   ],
> 

[jira] [Commented] (CLOUDSTACK-9533) gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 93ac134f1e5c4c4c22029eca241f75362303837a in cloudstack's branch 
refs/heads/4.9 from [~muralireddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=93ac134 ]

CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing the
cmd_line.json to create ips.json databag

using 'gateway' in cmd_line for the public ip gateway while creating ips.json 
databag


> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> ---
>
> Key: CLOUDSTACK-9533
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9533
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.2, 4.7.1, 4.8.0, 4.9.0, 4.10.0.0
>Reporter: Murali Reddy
> Fix For: 4.8.1, 4.10.0.0, 4.9.2.0
>
>
> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> In systemvm/patches/debian/config/opt/cloud/bin/merge.py
> processCLItem following piece of code sets the local gateway as public 
> interface/ip gateway, as there is no check on the network type.
>if('localgw' in self.qFile.data['cmd_line']):
>  dp['gateway'] = self.qFile.data['cmd_line']['localgw']
> for public network type, it should be read from cmd_line.gateway



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9511) fix test_privategw_acl.py to handle multiple physical networks

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> fix test_privategw_acl.py to handle multiple physical networks
> --
>
> Key: CLOUDSTACK-9511
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9511
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMware 5.5u3 + NFS Primary/Secondary Storage
> CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary Storage
>Reporter: Murali Reddy
>Assignee: Murali Reddy
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> Smoke test test_privategw_acl.py works only if there is single physical 
> network in the zone. If there are separate physical networks for different 
> traffic, then test will fail, as it is hard coded to read to first physical 
> network which may not be the physical network that has guest traffic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9522) Marvin common.py setNonContiguousVlanIds does not hanlde multiple physical network

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 1f27874eaf0d1d8cb793527bd5b12cd262e3de2e in cloudstack's branch 
refs/heads/4.9 from [~muralireddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1f27874 ]

CLOUDSTACK-9522: Check for available attribute in marvin response

- Handle case where physical network instance does not have vlan attribute
- Handle case where listIso response may not have status attribute

Signed-off-by: Rohit Yadav 


> Marvin common.py setNonContiguousVlanIds does not hanlde multiple physical 
> network
> --
>
> Key: CLOUDSTACK-9522
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9522
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Murali Reddy
>
> In case of mutliple physical networks, common.py setNonContiguousVlanIds  
> will result in exception.
> Management networks marvin  instance does not have vlan attribute resulting 
> in exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9522) Marvin common.py setNonContiguousVlanIds does not hanlde multiple physical network

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin common.py setNonContiguousVlanIds does not hanlde multiple physical 
> network
> --
>
> Key: CLOUDSTACK-9522
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9522
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Murali Reddy
>
> In case of mutliple physical networks, common.py setNonContiguousVlanIds  
> will result in exception.
> Management networks marvin  instance does not have vlan attribute resulting 
> in exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9515) internal LB vm is not handled when parsing cmd_line.json, resulting in internal LB vm not come up

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> internal LB vm is not handled when parsing cmd_line.json, resulting in 
> internal LB vm not come up
> -
>
> Key: CLOUDSTACK-9515
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9515
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMWare 5.5u3 + NFS primary/secondary storage
>Reporter: Murali Reddy
>Assignee: Rohit Yadav
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> internal LB vm is not handled when parsing cmd_line.json, resulting in 
> internal LB vm not come up.
> parsing cmd_line to create 'ips' data bag, never handled internal lb vm, but 
> still
> worked due to another bug.  support for internal lb vm is needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname": "

[jira] [Commented] (CLOUDSTACK-9526) Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded username and password

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded username and password
> -
>
> Key: CLOUDSTACK-9526
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9526
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Looks like another password issue with this test
> {code}
> AuthenticationException: Authentication failed.
> Trying SSH Connection: Host:10.2.2.38 User:root   
> Port:22 RetryCnt:57===
> SshClient: Exception under createConnection: ['Traceback (most recent call 
> last):\n', '  File "/usr/lib/python2.7/site-packages/marvin/sshClient.py", 
> line 121, in createConnection\ntimeout=self.timeout)\n', '  File 
> "/usr/lib/python2.7/site-packages/paramiko/client.py", line 380, in connect\n 
>look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)\n', '  File 
> "/usr/lib/python2.7/site-packages/paramiko/client.py", line 603, in _auth\n   
>  raise saved_exception\n', 'AuthenticationException: Authentication 
> failed.\n']
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/marvin/sshClient.py", line 121, in 
> createConnection{code}
> {code}[root@trl-97-x-cs48-bstoyanov-marvin ~]# cat 
> /marvin/tests/smoke/test_deploy_vgpu_enabled_vm.py |grep testdata
> self.testdata = self.testClient.getParsedTestDataConfig()
> 
> port=self.testdata['configurableData']['host']["publicport"],
> 
> user=self.testdata['configurableData']['host']["username"],
> 
> passwd=self.testdata['configurableData']['host']["password"]){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9532) Use macchinina as a template for failing tests

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.9 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Use macchinina as a template for failing tests
> --
>
> Key: CLOUDSTACK-9532
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9532
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> For some of the failing tests, use macchinina as a template and use the os 
> type as 'Other Linux (64-bit)'.
> test/integration/smoke/test_internal_lb.py
> test/integration/smoke/test_routers_network_ops.py
> test/integration/smoke/test_vpc_redundant.py
> test/integration/smoke/test_vpc_vpn.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9514) MarvinTests: some host credentials are hardcoded, make them to be picked up from config file

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> MarvinTests: some host credentials are hardcoded, make them to be picked up 
> from config file
> 
>
> Key: CLOUDSTACK-9514
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9514
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1
> Environment: CentOS 7.2 + VMWare 5.5u3 + NFS primary/secondary storage
>Reporter: Boris Stoyanov
>Priority: Critical
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> test_router_dhcphosts.py
> test_routers_iptables_default_policy.py
> Have hardcoded values for host credentials which are making our tests fail if 
> we setup different from default. 
> Making them to be picked up from the config file would be more sufficient for 
> everyone. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9161) Quota Service: fix marvin test

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Quota Service: fix marvin test
> --
>
> Key: CLOUDSTACK-9161
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9161
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.7.0
>Reporter: Abhinandan Prateek
>Assignee: Abhinandan Prateek
>Priority: Critical
> Fix For: 4.7.0
>
>
> the two tests in test_quota.py marvin tests are failing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9524) Some marvin tests don't check hypervisor before executing ssh into VR

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Some marvin tests don't check hypervisor before executing ssh into VR
> -
>
> Key: CLOUDSTACK-9524
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9524
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> Some marvin tests dont' check router hypervisor, before trying to ssh to VR 
> by ssh into mgmt server first and then using the default ssh keys.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9529) Marvin Tests do not clean up properly

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 409e504f6f96c19dd934f69049aec82e40c755cd in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=409e504 ]

CLOUDSTACK-9529: Cleanup resources after marvin test completes

- Cleans up volumes, snapshots and VM after running test_snapshots

Signed-off-by: Rohit Yadav 


> Marvin Tests do not clean up properly
> -
>
> Key: CLOUDSTACK-9529
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9529
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1, 4.9.0
> Environment: CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary 
> Storage
>Reporter: Paul Angus
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> After running the smoketest suite against XenServer 6.5 it was found that the 
> tests had left a number of resources behind or in use.
> * 20 public IP addresses had been consumed and not cleaned up.
> * 22 guest networks remained
> * 6 VPCs remained
> * 30 Accounts remained
> * 20 VRs
> * 26 compute offerings
> * 8 Disk offerings
> * 12 network offerings
> * 13 VPC offerings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9529) Marvin Tests do not clean up properly

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Marvin Tests do not clean up properly
> -
>
> Key: CLOUDSTACK-9529
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9529
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.8.1, 4.9.0
> Environment: CentOS 7.2 + XenServer 6.5 + NFS Primary/Secondary 
> Storage
>Reporter: Paul Angus
>  Labels: 4.8.2.0-smoke-test-failure
> Fix For: 4.10.0.0, 4.9.1.0, 4.8.2.0
>
>
> After running the smoketest suite against XenServer 6.5 it was found that the 
> tests had left a number of resources behind or in use.
> * 20 public IP addresses had been consumed and not cleaned up.
> * 22 guest networks remained
> * 6 VPCs remained
> * 30 Accounts remained
> * 20 VRs
> * 26 compute offerings
> * 8 Disk offerings
> * 12 network offerings
> * 13 VPC offerings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9533) gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> ---
>
> Key: CLOUDSTACK-9533
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9533
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.2, 4.7.1, 4.8.0, 4.9.0, 4.10.0.0
>Reporter: Murali Reddy
> Fix For: 4.8.1, 4.10.0.0, 4.9.2.0
>
>
> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> In systemvm/patches/debian/config/opt/cloud/bin/merge.py
> processCLItem following piece of code sets the local gateway as public 
> interface/ip gateway, as there is no check on the network type.
>if('localgw' in self.qFile.data['cmd_line']):
>  dp['gateway'] = self.qFile.data['cmd_line']['localgw']
> for public network type, it should be read from cmd_line.gateway



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9533) gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 93ac134f1e5c4c4c22029eca241f75362303837a in cloudstack's branch 
refs/heads/4.8 from [~muralireddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=93ac134 ]

CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing the
cmd_line.json to create ips.json databag

using 'gateway' in cmd_line for the public ip gateway while creating ips.json 
databag


> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> ---
>
> Key: CLOUDSTACK-9533
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9533
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Affects Versions: 4.6.2, 4.7.1, 4.8.0, 4.9.0, 4.10.0.0
>Reporter: Murali Reddy
> Fix For: 4.8.1, 4.10.0.0, 4.9.2.0
>
>
> gateway of public IP is not handled correctly when parsing the cmd_line.json 
> to create ips.json databag
> In systemvm/patches/debian/config/opt/cloud/bin/merge.py
> processCLItem following piece of code sets the local gateway as public 
> interface/ip gateway, as there is no check on the network type.
>if('localgw' in self.qFile.data['cmd_line']):
>  dp['gateway'] = self.qFile.data['cmd_line']['localgw']
> for public network type, it should be read from cmd_line.gateway



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9531) Fix tearDown issue in test_vpc_vpn.py

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Fix tearDown issue in test_vpc_vpn.py
> -
>
> Key: CLOUDSTACK-9531
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9531
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> After running the test, delete template command may fail due to template that 
> is not properly setup/downloaded and other reasons. The tearDown failure is 
> frivolous, on account deletion all resources of the account are expunged so 
> any template deletion failure may be retried when account is removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9532) Use macchinina as a template for failing tests

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit a664e035bd8ddfe9c270cf15f8e904d25d0c4e02 in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a664e03 ]

Merge pull request #1692 from shapeblue/4.8-marvinpingtests

Fix Smoke Test Failuresfix ping tests to properly recognise successful ping 
test (on 4.8 branch)

* pr/1692:
  CLOUDSTACK-9529: Cleanup resources after marvin test completes
  CLOUDSTACK-9533: gateway of public IP is not handled correctly when parsing 
the cmd_line.json to create ips.json databag
  CLOUDSTACK-9532: Use macchinina as a template for failing tests
  CLOUDSTACK-9527: test_01_test_vm_volume_snapshot making test negative again
  CLOUDSTACK-9531: Try template teardown without failure
  CLOUDSTACK-9527: Skip tests not supported for hypervisor
  CLOUDSTACK-9524: Check router hypervisor before ssh to VR
  CLOUDSTACK-9522: Check for available attribute in marvin response
  CLOUDSTACK-9526: Marvin test_deploy_vgpu_enabled_vm.py - Fix a hardcoded 
username and password
  CLOUDSTACK-9515: internal LB vm is not handled when parsing cmd_line.json, 
resulting in internal LB vm not come up
  CLOUDSTACK-9161: move quota test to plugins
  Marvin Tests: Fix VPC network offering selection
  fix macchinina template specificied for vmware in Marvin tests
  fix ping tests to properly recognise successful ping test
  CLOUDSTACK-9514: Making the credentials of the host to be picked up from the
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical 
networks

Signed-off-by: Rohit Yadav 


> Use macchinina as a template for failing tests
> --
>
> Key: CLOUDSTACK-9532
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9532
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> For some of the failing tests, use macchinina as a template and use the os 
> type as 'Other Linux (64-bit)'.
> test/integration/smoke/test_internal_lb.py
> test/integration/smoke/test_routers_network_ops.py
> test/integration/smoke/test_vpc_redundant.py
> test/integration/smoke/test_vpc_vpn.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9532) Use macchinina as a template for failing tests

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 0c146e14c645811c02d6e3c74fd24ed5b3a2953c in cloudstack's branch 
refs/heads/4.8 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0c146e1 ]

CLOUDSTACK-9532: Use macchinina as a template for failing tests

- Switches to macchinina as template for VM in the tests
- Modifies the ostype of the macchinina template to 'Other Linux (64-bit)'
- Check template download status, fixes Nonetype iterable issue

Signed-off-by: Rohit Yadav 


> Use macchinina as a template for failing tests
> --
>
> Key: CLOUDSTACK-9532
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9532
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
>
> For some of the failing tests, use macchinina as a template and use the os 
> type as 'Other Linux (64-bit)'.
> test/integration/smoke/test_internal_lb.py
> test/integration/smoke/test_routers_network_ops.py
> test/integration/smoke/test_vpc_redundant.py
> test/integration/smoke/test_vpc_vpn.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot making test negative again

2016-10-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 394f2e359f2af9de6c7e586659fed47051f44146 in cloudstack's branch 
refs/heads/4.8 from [~bstoyanov]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=394f2e3 ]

CLOUDSTACK-9527: Skip tests not supported for hypervisor

- test_01_test_vm_volume_snapshot not supported for Xen, tests keep failing
- Skip snapshot tests for centos6/kvm as snapshot is not supported by older
  qemu-img versions

Signed-off-by: Rohit Yadav 


> test_01_test_vm_volume_snapshot making test negative again
> --
>
> Key: CLOUDSTACK-9527
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: marvin
>Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
>Reporter: Boris Stoyanov
>
> Skipping this test for Xen since the tests keeps failling 
> {code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> Error 431: VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "VM snapshot for this VM is not allowed. This VM has volumes 
> attached which has snapshots, please remove all snapshots before taking VM 
> snapshot",
>   "uuidList": []
> }
> (local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
> Error 431: Volume snapshot is not allowed, please detach it from VM with VM 
> Snapshots
> {
>   "cserrorcode": 4350,
>   "errorcode": 431,
>   "errortext": "Volume snapshot is not allowed, please detach it from VM with 
> VM Snapshots",
>   "uuidList": []
> }
> (local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
> Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
> Error 431, Root volume detach can happen only when vm is in states: Stopped 
> or Destroyed
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": 
> "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
>   "created": "2016-10-03T14:40:22+0100",
>   "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
>   "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
>   "jobinstancetype": "Volume",
>   "jobprocstatus": 0,
>   "jobresult": {
> "errorcode": 431,
> "errortext": "Root volume detach can happen only when vm is in states: 
> Stopped or Destroyed"
>   },
>   "jobresultcode": 530,
>   "jobresulttype": "object",
>   "jobstatus": 2,
>   "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
> }
> (local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
> {
>   "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
>   "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
>   "created": "2016-10-03T14:40:51+0100",
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "jobinstancetype": "VirtualMachine",
>   "jobprocstatus": 0,
>   "jobresult": {
> "virtualmachine": {
>   "account": "admin",
>   "affinitygroup": [],
>   "cpunumber": 1,
>   "cpuspeed": 100,
>   "cpuused": "0.21%",
>   "created": "2016-10-03T14:25:16+0100",
>   "details": {
> "hypervisortoolsversion": "xenserver56"
>   },
>   "diskioread": 0,
>   "diskiowrite": 0,
>   "diskkbsread": 2404,
>   "diskkbswrite": 327,
>   "displayname": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "displayvm": true,
>   "domain": "ROOT",
>   "domainid": "3f07ff46-894c-11e6-8a4c-06828c01079c",
>   "guestosid": "3f36045e-894c-11e6-8a4c-06828c01079c",
>   "haenable": false,
>   "hypervisor": "XenServer",
>   "id": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "instancename": "i-2-18-VM",
>   "isdynamicallyscalable": true,
>   "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
>   "jobstatus": 0,
>   "memory": 128,
>   "name": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
>   "networkkbsread": 0,
>   "networkkbswrite": 0,
>   "nic": [
> {
>   "gateway": "10.1.1.1",
>   "id": "a49eac90-9fa2-4618-9989-436d6e3d5eee",
>   "ipaddress": "10.1.1.2",
>   "isdefault": true,
>   "macaddress": "02:00:38:54:00:01",
>   "netmask": "255.255.255.0",
>   "networkid": "5d721377-09e8-4ab4-9be8-f24e5da6cfd5",
>   "networkname": "test",
>   "secondaryip": [],
>   "traffictype": "Guest",
>   "type": "Isolated"
> }
>   ],
> 

  1   2   >