Also reduced size of attached disk to 1GB
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ba059dd0ae09f6f7854aef5d14cccb9ce948724b)
There is no need to attach a volume to the VM when doing the
changeserviceOffering test. Condensed the test to verify that the VM's
offering is changed successfully when stopped and reflects when VM is
started.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35492a3668f261d4dcf7b79e6cdabcb1f36483c6)
VirtualMachine.list( only gives the list of vms but not the vm object as
returned by VirtualMachine.create( any operations on the listed VMs then
fails. Explicit call to startVirtualMachine as in setUpClass fixes this.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f064ad22dc55e0e5e7b5165f1864f2339d39b8f4)
Currently we're using enable/disable static nat rather than create IP forwarding
command. The list of StaticNAT won't work.
Also change to use API to verify the rules rather than look into db directly.
1. You cannot check routers after your destroy them
2. You cannot use the old value in checking migration status.
3. You cannot upgrade VR to a non-system offering.
test_reboot_router.py was trying to ssh to vm using private IP
and hence it failed with error "No route to host."
Fixed the testcase to ssh using public IP.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
ISO size can differ from the mounted packages within the ISO. Remove the
size check and only perform attach and detach in the guest.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Skip is done using cloudstackTestCase inheriting from unittest as
self.SKipTest
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 797450a5ba085f36bfd0bee620e6a64c6d589fd1)
Added isportable param to associateIP API. Fixed base class
for PortableIP tio call portableip APIs.
Removed test_createPortablePublicIPAcquire from basic zone run
requires additional network creation handling which can be done
in component tests.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
- Fix the test that ensures vpc offerings cannot be created with
firewall service
- CLOUDSTACK-3902 blocks the fix for vpc offerings created without
source nat service. Without source NAT VPC creation should fail.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
One of the VPC offerings (4) is deleted in the test before moving into
teardown. This offering should be removed from cleanup.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d66edb5e2bc7d0396709ffcc35dfc61d563f307a)
PublicIpAddresses.list takes an associatednetworkid which lists all the
public ip addresses in the deployment's physical network associated with
the vnet.
Various tests failed because of `networkid` used in place of
`associatednetworkid`
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b88fe8233af699786de6d08a6bc981546538898d)
So fdisk -l doesn't list the mounted iso. Instead use showmount -e to
find the mounted device.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 93f79e1a158cb1f69915a4036f5c1840a38c5e53)
Provided a utility method to ensure the config is suitable for running
the test. If vm.instancename.flag is unset then skip the tests.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8b8cee52f09f9f2c1b612ece16fc7ffc4b2c9176)