Commit Graph

19683 Commits

Author SHA1 Message Date
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
Brian Federle 21761d8f21 CLOUDSTACK-3531: Add isrouting checkbox to register template dialog 2013-07-30 11:10:06 -07:00
Jessica Wang 50046c5771 CLOUDSTACK-2990: UI > scale up VM dialog - add description 'For VMware-based Linux VMs, please read the dynamic scaling section in the admin guide before scaling.' 2013-07-30 10:57:59 -07:00
Alena Prokharchyk 474a763ee3 CLOUDSTACK-3936: db upgrade - added upgrade path from CCP 2.2.15,2.2.16 to CS 4.2 2013-07-30 10:53:34 -07:00
Marcus Sorensen f91c0f3cb2 Summary: Fix null pointer and op_networks blocker to account cleanup
Detail: Accounts can fail in cleanup/gc process due to inconsistent op_networks
table and null pointer in looking up account for event publishing.

BUG-ID: CLOUDSTACK-3957
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1375204815 -0600
2013-07-30 11:20:15 -06:00
Alena Prokharchyk 155b9df8ee CLOUDSTACK-3902: createVpcOffering - throw an excpetion when sourceNat service is not passed in 2013-07-30 10:09:03 -07:00
Bharat Kumar 6e9bf56cf1 Fix for incorect capacity displayed at the db.
Conflicts:
	engine/schema/src/com/cloud/capacity/dao/CapacityDaoImpl.java
	server/src/com/cloud/alert/AlertManagerImpl.java
	server/src/com/cloud/api/ApiResponseHelper.java
2013-07-30 22:13:44 +05:30
Harikrishna Patnala a5054c1cde CLOUDSTACK-3848: Usage events for dynamic scaling of cpu/ram operation on VM 2013-07-30 22:04:12 +05:30
Gaurav Aradhye 6ec4e57228 CLOUDSTACK-3168: Fix test_reboot_router.py to ssh using public IP
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>
(cherry picked from commit 003721a085210afe167fbc734abe4cc8e2d3d23f)
2013-07-30 20:10:12 +05:30
Likitha Shetty 8392a6eec1 CLOUDSTACK-3139 - If management server doesn't have internet connection RegisterTemplate and UploadVolume will fail when CS tries to verify if the account has exceeded its secondary storage limit.
No change in behavior if management server has internet connection.
Now if management server doesn't have internet connection download process will not fail. But CS will noly check if the account has already reached or maxed its limits instead of checking if the limit will be breached with the addition of the new storage
2013-07-30 19:33:19 +05:30
Bharat Kumar 03cbf51e15 Cloudstack-3910 Upgrade from 3.0.6 to 4.2 is failing with DB exceptions. 2013-07-30 19:12:59 +05:30
Murali Reddy 4653cff88b CLOUDSTACK-3642: [Usage][PortableIP] CS is not generating usage events
for portable IPs

generating usage event for acquire and release
2013-07-30 19:00:13 +05:30
Kishan Kavala 1550f5e26c CLOUDSTACK-3439: Include dynamically created nics in Prepare for migration command in KVM 2013-07-30 18:23:56 +05:30
Sanjay Tripathi 7cb1c6fa7b CLOUDSTACK-2909: patch to fix TAB in US keyboard. 2013-07-30 17:41:05 +05:30
Sanjay Tripathi e45888df96 CLOUDSTACK-1961: Common issues found in English OS with EN-US standard Keyboard. 2013-07-30 17:40:17 +05:30
Radhika PC f0db7aec98 CLOUDSTACK-478 2013-07-30 17:08:27 +05:30
Koushik Das 73ec4ede66 CLOUDSTACK-3937: Attaching uploaded volume is failing
The method getCommandHostDelegation(long hostId, Command cmid) got overidden in VmwareGuru.java as part of
commit bfe30cd2e3. Earlier there was no HV specific implementation and copy
volume from secondary to primary worked fine. With the Vmware specific change the code was getting hit even
in case of XS and other hypervisors and failed with NPE.
Now there is a check in the Vmware implementation to check if the HV is of type Vmware.
2013-07-30 16:34:28 +05:30
Isaac Chiang c24db863a6 CLOUDSTACK-3935:Inconsistent json object name for image store api 2013-07-30 18:59:35 +08:00
Prasanna Santhanam baa6d0badb Fix url for upload volume test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 15:50:02 +05:30
Murali Reddy b5f33ae0d8 CLOUDSTACK-2991: [PortableIPRange] CS should not allow portable IP with
sourceNAT service on it

if a portable ip is first IP associated with a non-VPC network, then its
being considered as source nat IP. This fix adds exemption for portable
IP not to be considred for source nat.
2013-07-30 15:34:04 +05:30
Prasanna Santhanam c93c321b3b CLOUDSTACK-3921: AssociateIpAddress fails
When you have a method with named parameters, all calls to it should
explicitly pass name=value pairs. Not doing so can result in the wrong
params being passed in the method call. This is a result of the
"services" dictionary being passed into the isportable flag failing the
API signature generation and hence the API call.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 28835054e6)
2013-07-30 15:03:25 +05:30
Prasanna Santhanam 90c6fcf2a9 CLOUDSTACK-3916: The size test is invalid
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>
(cherry picked from commit d875a36e5c)
2013-07-30 14:13:47 +05:30
Prasanna Santhanam 42dd515622 CLOUDSTACK-3930 : Add cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 13:51:22 +05:30
Radhika PC c847a6d02c CLOUDSTACK-661 2013-07-30 13:39:13 +05:30
Prasanna Santhanam 797450a5ba CLOUDSTACK-3929: Remove references to unittest.
Skip is done using cloudstackTestCase inheriting from unittest as
self.SKipTest

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 12:40:45 +05:30
Prasanna Santhanam 56043eb6cf add debug message
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:42:49 +05:30
Prasanna Santhanam 6ab5c40eeb RAT broken from Mice's checkin (acd2396)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:34:24 +05:30
Radhika PC 4380dee867 CLOUDSTACK-3580 2013-07-30 11:32:07 +05:30
Prasanna Santhanam 3d4d350dbe simulator supports migration
Add simultor to the seemingly strict filter which should happen within
the hypervisor resource and not the virtualmachine :/

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:16:04 +05:30
Thomas O'Dowd c78ed39b2f Fix a few typos in ConfigurationManager.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:15:23 +05:30
Jonathan Creasy 2388157596 Fixing typo of "createing" that should be "creating" https://issues.apache.org/jira/browse/CLOUDSTACK-3915
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 09:41:05 +05:30
Edison Su 6533e6559b CLOUDSTACK-3107: fix attach upload volume 2013-07-29 18:59:10 -07:00
Sheng Yang 0f765727d5 CLOUDSTACK-3357: Add domain and local parameter for VPC dnsmasq.conf
Fix DNS failure for internal guest vms.
2013-07-29 18:22:32 -07:00
Sheng Yang 6275d697e3 Automation: add object to cleanup set immediately after creation
Otherwise it's possible that the later failure would prevent the object from
been clean up.
2013-07-29 17:15:15 -07:00
Edison Su 734aa1d510 CLOUDSTACK-3908: fix extract path 2013-07-29 16:57:44 -07:00
frank 6a21a71e71 CLOUDSTACK-3918
com.cloud.ucs.manager.UcsManagerImpl cannot parse default config
2013-07-29 15:29:10 -07:00
Brian Federle b79977d328 CLOUDSTACK-3337: Fix replace ACL drop-down for private gateway 2013-07-29 14:42:18 -07:00
Prachi Damle 57099c8f8f CLOUDSTACK-3904 listHosts API fails in VMware setup when virtualmachineid parameter is passed
Changes:
- Pod and Cluster can be null, modified the query to append these only if non-null
2013-07-29 14:08:47 -07:00