Commit Graph

19720 Commits

Author SHA1 Message Date
Sheng Yang 22b0375df2 Automation: Removing the template's UUID
My bad...
2013-07-31 22:41:02 -07:00
Sheng Yang 4271e60b70 Automation: Fix test_vpc_network_lbrules.py 2013-07-31 22:32:40 -07:00
Mice Xia 24af11a1c8 fix UI display bug for vmsnapshot, detailView of vmsnapshot always show the same one 2013-08-01 12:45:21 +08:00
John Burwell 9cd4e089a5 - CLOUDSTACK-3229: Fixes a think-o in the handling of unmodifiable
collections and adds a rail in s3xen to raise an exception if the file being
put does not exist
2013-08-01 00:11:40 -04:00
John Burwell 59492fae10 - CLOUDSTACK-3229: Properly serialize the https property to the s3Xen
plugin
  - Extracts the duplicated serializeProperties methods to
    ReflectUtils#flattenProperties
  - Adds unit tests for ReflectUtils#flattenProperties
2013-07-31 23:16:21 -04:00
Sheng Yang af3704cd32 Automation: Fix test_vpc_network_pfrules.py
Need to wait VM to boot up before stop the VR.

Also test 4 is identical to test 3, fix it.
2013-07-31 19:08:17 -07:00
Sheng Yang fda055388e Automation: Fix SSH connection test
And increase default retry to 10 times, each 30 seconds.
2013-07-31 18:27:49 -07:00
Kelven Yang 7acb023aad More fixes found in test cases when JVM assertion check is turned on 2013-07-31 17:58:31 -07:00
Edison Su a747ee508b CLOUDSTACK-3976: if the snapshot is empty and it's the last one in the chain, we need to take full snapshot for the snapshots in sequence 2013-07-31 17:42:35 -07:00
Edison Su da124c2d80 CLOUDSTACK-3976: delete parent snapshot if child snapshots are deleted 2013-07-31 17:01:34 -07:00
Kelven Yang dbc46d0677 Fix problems found in local test when JVM assertion is turned on 2013-07-31 16:25:56 -07:00
Min Chen 2e25f3075e CLOUDSTACK-3987: Setting extract.url.expiration.interval is not honored
for S3 generated url, which is hard-coded to 1 hour.
2013-07-31 16:28:03 -07:00
Murali Reddy b4770f1e01 CLOUDSTACK-3731: [GSLB] deleteGlobalLoadBalancerRule fails with the
java.lang.NumberFormatException

While deleting LB monitor and GSLB service binding Nitro API fails
with wierd NumberFormatException. Adding a workaround to delete the LB
monitor after GSLB service is delted (which ensures intenrally LB
monitor is delted).
2013-08-01 04:49:58 +05:30
Edison Su e3295a6af0 CLOUDSTACK-3950: the issue can be reproduced by: copy iso failed during the first time, for some reason, then copy the same iso again, the issue be triggered. 2013-07-31 15:46:37 -07:00
Alena Prokharchyk f9faf1aea2 CLOUDSTACK-3982: listAccounts - count only UserVms when calculate total number of Running vms per account 2013-07-31 15:18:59 -07:00
Sheng Yang 4f111d2846 Marvin: Add missing __init__ to StaticRoute 2013-07-31 15:10:01 -07:00
Sheng Yang 024dea93ae Automation: Fix test_vpc_routers.py
Account cannot be cleaned per test case since it's setup in setUpClass()
2013-07-31 15:03:37 -07:00
Min Chen fdc048442e CLOUDSTACK-3977: vm deployement is failing ;: Resource [Host:5] is
unreachable: Host 5: Unable to send class
org.apache.cloudstack.storage.command.CopyCommand because agent is in
maintenance mode.
2013-07-31 14:00:35 -07:00
Alena Prokharchyk f09df4c136 CLOUDSTACK-3974: 410-420 db upgrade - exclude is_inline field from the query when insert the entry for the F5 load balancer as this field was dropped as a part of 40-41 upgrade 2013-07-31 13:32:28 -07:00
Brian Federle 0014381f38 CLOUDSTACK-2944: Fix typo in addIpToNic dialog 2013-07-31 10:35:15 -07:00
Chip Childers c68eb4d41e Fixing setnextversion.sh 2013-07-31 11:09:52 -04:00
John Burwell 3cf09f337f - CLOUDSTACK-3229: Passes the bucket name as "bucket" into the s3xen
plugin
2013-07-31 09:57:07 -04:00
Wido den Hollander 79af8b16b2 CLOUDSTACK-3951: Don't require SSH access to KVM nodes when cancelling maintenance
Conflicts:

	setup/db/db/schema-410to420.sql
2013-07-31 15:22:53 +02:00
Bharat Kumar ba619ec112 recalculate the capacity after overcomit change. 2013-07-31 18:28:42 +05:30
Prasanna Santhanam 7aafd06df6 Include SSH retry logic when encountering channel failures.
Only on SSHExceptions we attempted retries, but during socket failures,
like Network Unreachable we failed the ssh connection immediately.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-31 17:21:01 +05:30
Prasanna Santhanam 805d087d87 Cleanup the marvin logger
It is useful to have the same logger used in the marvinplugin into the
testcase. The testcase can then append its name to the logger making
the logs specify exactly which test is executing when the logs are
generated

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-31 17:21:01 +05:30
Harikrishna Patnala 798c507c7d CLOUDSTACK-2717: listCapabilities API to return
allow.public.user.templates configuration parameter value
 defined at account level.
Signed by - Nitin Mehta<nitin.mehta@citrix.com>
2013-07-31 16:56:59 +05:30
Bharat Kumar 5c18483d81 Cloudstack-2997 unable to update concurrent_conncetions feild in network_offerin.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-31 15:32:28 +05:30
Harikrishna Patnala 28f04c8ecc CLOUDSTACK-3969: Upgrade failed from 3.0.3 to 4.2 in KVM host with error 4.2.0 KVM SystemVm template not found though systemvm-kvm-4.2 template is uploaded during 3.0.3 setup
This is due to mysql version conflict with '=' and 'LIKE'.
Changing to '=' while searching for new system template.
2013-07-31 15:11:41 +05:30
Nitin Mehta 7894f5541b CLOUDSTACK-3658
Add the upgrade logic to populate the template/volume store ref table from upload table. We wont be using this table anymore.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-31 11:21:24 +05:30
Prasanna Santhanam 9780ffb6e1 CLOUDSTACK-3916: Fix silly string formatting mistake
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8602866063becbe67d001c1f5d778b948eb32fc0)
2013-07-31 11:13:09 +05:30
SrikanteswaraRao Talluri 890ba45e42 CLOUDSTACK-3923: Fix the scripts to select default vpc offering
CLOUDSTACK-3923: Fix the scripts to select default vpc offering

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 99d8ed9b68e3d480a3d86cb8ecd19c1e9b354dff)
2013-07-31 11:13:09 +05:30
Rajesh Battala 91bf54652e CLOUDSTACK-3924 NPE while internal LB vm is getting created 2013-07-31 10:22:47 +05:30
Marcus Sorensen 5a2fd3e2a4 Summary: Move Xen vmdata to new, non-ssh method
Detail: KVM recently got a patch that did away with a few dozen ssh calls
when programming virtual router (CLOUDSTACK-3163), saving several seconds
for each vm served by the virtual router when the router is rebooted. This
patch updates Xen to use the same method, and cleans up the old script refs.

Reviewed-by: Sheng Yang, Prasanna Santhanam
2013-07-30 21:41:11 -06:00
Marcus Sorensen 949c088e7b CLOUDSTACK-3964 Change permissions on vm router vmdata script
Submitted-by: Toshiaki Hatano
2013-07-30 20:43:25 -06:00
Sheng Yang fae57e5843 CLOUDSTACK-3864: Fix test_blocker_bugs.py for firewall
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.
2013-07-30 19:04:05 -07:00
Kelven Yang 065ae7a497 Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection 2013-07-30 18:05:38 -07:00
Min Chen a9efec6403 CLOUDSTACK-3949:[Object_Store_Refactor][Usage] No usage event is
generated for registered ISO.
2013-07-30 18:05:34 -07:00
Anthony Xu 2d87e64371 CLOUDSTACK-3963:
in security group, CS put a rule in ebtables filter table FORWARD chain to prevent user from changing VM mac address
util.pread2(['ebtables', '-A', vm_chain, '-i', vif, '-s', '!', vm_mac,  '-j', 'DROP'])

if user changes the VM mac address, all egress packet from the VM will be dropped, but the egress packet still contaminate the bridge cache with fake MAC,

This patch moves the rule to ebtables nat table PREROUTING chain, then the egress packet with modified MAC will not contaminate the bridge cache.
2013-07-30 17:34:44 -07:00
Min Chen 20831d00fb CLOUDSTACK-3686: Registering a template does not generate a usage event. 2013-07-30 17:33:18 -07:00
Prachi Damle af95cfe98e CLOUDSTACK-3942 NPE from findStoragePool method
Changes:
- Added null checks for podId
2013-07-30 16:56:21 -07:00
Sheng Yang 32d076ebcc CLOUDSTACK-3826: Automation: Fix test_vpc_routers
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.
2013-07-30 16:52:29 -07:00
Toshiaki Hatano a310815aac CLOUDSTACK-3959: [KVM] agent setup failed when physical interface name is in pXpY format
Add handling.

Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-30 16:14:38 -07:00
Alena Prokharchyk 026cca46c6 CLOUDSTACK-3948: fixed createAutoscaleVmProfile - for situation when no autoscaleUserId is passed in, take it from caller user id, not caller account id 2013-07-30 14:31:22 -07:00
Min Chen 4527227360 CLOUDSTACK-3857: create VOLUME_CREATE event at CreateVolumeCmd instead
of at AttachVolumeCmd.
2013-07-30 14:24:12 -07:00
Jessica Wang 422cc2a929 CLOUDSTACK-2569: UI > Infrastructure menu - zone detail - Cisco VNMC - apply action filter. 2013-07-30 13:40:28 -07:00
Brian Federle 17148b2c6a CLOUDSTACK-3487: Add egress default policy to network offering UI 2013-07-30 12:55:21 -07:00
Edison Su b3576cac27 add note on vmwarweguru->getCommandHostDelegation 2013-07-30 11:37:14 -07:00
Edison Su d9ba83f0a4 CLOUDSTACK-3944: fix regression for vmware 2013-07-30 11:34:40 -07:00
Alena Prokharchyk de1865ae5a CLOUDSTACK-3958: listProjectAccounts - return account info only; user info can be extracted from listUsers&accountId command 2013-07-30 11:17:25 -07:00