19990 Commits

Author SHA1 Message Date
Min Chen
622a9e1b95 CLOUDSTACK-3949:[Object_Store_Refactor][Usage] No usage event is
generated for registered ISO.
2013-07-30 18:08:05 -07:00
Prachi Damle
a8360e41c0 CLOUDSTACK-3942 NPE from findStoragePool method
Changes:
- Added null checks for podId

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java
2013-07-30 17:53:31 -07:00
Min Chen
c2192808aa CLOUDSTACK-3686: Registering a template does not generate a usage event. 2013-07-30 17:35:12 -07:00
Anthony Xu
f1fb7c3efe 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.

Anthony
2013-07-30 17:04:21 -07:00
Sheng Yang
e4f8068ef1 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:53 -07:00
Toshiaki Hatano
7774ecfd5a 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:17:12 -07:00
Edison Su
211524f3bc add note on vmwarweguru->getCommandHostDelegation 2013-07-30 16:17:06 -07:00
Edison Su
c42f51d75b CLOUDSTACK-3944: fix regression for vmware 2013-07-30 16:17:02 -07:00
Alex Huang
1e1ee902a2 Moved over the new jobs framework from vmsync. This has not been integrated into the server package yet. Will do that next 2013-07-30 15:00:58 -07:00
Min Chen
730d045085 CLOUDSTACK-3857: create VOLUME_CREATE event at CreateVolumeCmd instead
of at AttachVolumeCmd.
2013-07-30 14:51:02 -07:00
Alena Prokharchyk
9f66d18de6 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:30:53 -07:00
Alena Prokharchyk
9b7c4a6c47 CLOUDSTACK-3948: fixed createAutoscaleVmProfile - for situation when no autoscaleUserId is passed in, take it from caller user id, not caller account id
Conflicts:
	api/src/org/apache/cloudstack/api/command/user/autoscale/CreateAutoScaleVmProfileCmd.java
	server/src/com/cloud/network/as/AutoScaleManagerImpl.java
2013-07-30 14:13:58 -07:00
Alex Huang
5595a099b2 Added commons io to server 2013-07-30 14:07:21 -07:00
Alex Huang
a8da8c8dff Added commons io to runtime 2013-07-30 14:07:20 -07:00
Alex Huang
b940947764 Revert "Updating conversion pattern strings from 1. to 1"
The actual fix was already put in.

This reverts commit 4c729e758b935d58a8e93027c604e6353ad05ff2.
2013-07-30 14:07:20 -07:00
Alena Prokharchyk
244cf3b20a CLOUDSTACK-3958: listProjectAccounts - return account info only; user info can be extracted from listUsers&accountId command
Fixed the build: use CallerContext instead of UserContext
2013-07-30 13:53:31 -07:00
Jessica Wang
3bdaf55eb2 CLOUDSTACK-2569: UI > Infrastructure menu - zone detail - Cisco VNMC - apply action filter. 2013-07-30 13:41:18 -07:00
Brian Federle
f06ad9bcae CLOUDSTACK-3487: Add egress default policy to network offering UI 2013-07-30 12:55:42 -07:00
Alena Prokharchyk
43dc85cea1 Revert "CLOUDSTACK-3958: listProjectAccounts - return account info only; user info can be extracted from listUsers&accountId command"
This reverts commit 416331ae800a4511913f2c2b8ef25d4c2b8606b0.
2013-07-30 12:05:09 -07:00
Alena Prokharchyk
416331ae80 CLOUDSTACK-3958: listProjectAccounts - return account info only; user info can be extracted from listUsers&accountId command 2013-07-30 11:17:17 -07:00
Brian Federle
4e3dc2622d CLOUDSTACK-3531: Add isrouting checkbox to register template dialog 2013-07-30 11:09:47 -07:00
frank
6070a8b370 CloudStack CLOUDSTACK-1812
create physical network fails while creating basic zone
2013-07-30 11:11:17 -07:00
Jessica Wang
405f73267e 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:07 -07:00
Alena Prokharchyk
95fde83815 CLOUDSTACK-3936: db upgrade - added upgrade path from CCP 2.2.15,2.2.16 to CS 4.2 2013-07-30 10:53:23 -07:00
Marcus Sorensen
566ce3e625 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:22:11 -06:00
Sebastien Goasguen
2b0946c6db [GSOC] Mesos integration mid-term report
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2013-07-30 13:17:46 -04:00
Alena Prokharchyk
a36c8a962b CLOUDSTACK-3902: createVpcOffering - throw an excpetion when sourceNat service is not passed in 2013-07-30 10:08:46 -07:00
Gaurav Aradhye
906ea82572 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>
2013-07-30 20:12:23 +05:30
Likitha Shetty
6cbcd9777d 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:35:26 +05:30
Chip Childers
3364e29640 More license header fixes for tools/ngui 2013-07-30 10:06:10 -04:00
Chip Childers
aa9cd72418 Fixing license headers within the tools/ngui folder 2013-07-30 10:01:37 -04:00
Murali Reddy
b2fdfc5084 CLOUDSTACK-3642: [Usage][PortableIP] CS is not generating usage events
for portable IPs

generating usage event for acquire and release
2013-07-30 19:01:10 +05:30
Chip Childers
4c729e758b Updating conversion pattern strings from 1. to 1 2013-07-30 09:04:18 -04:00
Sanjay Tripathi
6ec2bb1518 CLOUDSTACK-2909: patch to fix TAB in US keyboard. 2013-07-30 18:02:27 +05:30
Sanjay Tripathi
33122478c3 CLOUDSTACK-1961: Common issues found in English OS with EN-US standard Keyboard. 2013-07-30 18:02:18 +05:30
Radhika PC
68626f32df CLOUDSTACK-478 2013-07-30 17:05:12 +05:30
Koushik Das
62a71e055b CLOUDSTACK-3937: Attaching uploaded volume is failing
The method getCommandHostDelegation(long hostId, Command cmid) got overidden in VmwareGuru.java as part of
commit bfe30cd2e31906365a306d87fe331ccdcec5c33c. 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:56:15 +05:30
Isaac Chiang
452176c0b4 CLOUDSTACK-3935:Inconsistent json object name for image store api 2013-07-30 19:20:56 +08:00
Radhika PC
dafc59e78b CLOUDSTACK-478 2013-07-30 15:54:35 +05:30
Prasanna Santhanam
e78f93224f Fix url for upload volume test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d0a851ec5de261c83babd94a07dd1091f804110d)
2013-07-30 15:49:35 +05:30
Murali Reddy
c520aae346 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:49:09 +05:30
Prasanna Santhanam
28835054e6 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>
2013-07-30 15:01:34 +05:30
Prasanna Santhanam
d875a36e5c 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>
2013-07-30 14:12:33 +05:30
Prasanna Santhanam
8ca5097752 CLOUDSTACK-3930 : Add cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 308fa41416dc37b4651087c8e30da31a0e9a63d3)
2013-07-30 13:51:54 +05:30
Radhika PC
5d89206eac CLOUDSTACK-661 2013-07-30 13:32:41 +05:30
Prasanna Santhanam
1efa542433 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>
(cherry picked from commit 797450a5ba085f36bfd0bee620e6a64c6d589fd1)
2013-07-30 12:41:18 +05:30
Prasanna Santhanam
f4dd80989f add debug message
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 56043eb6cf3835f541c65675666ad082f91f49d9)
2013-07-30 11:43:02 +05:30
Thomas O'Dowd
5552d26872 Fix a few typos in ConfigurationManager.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c78ed39b2f53a3544b93515e6bb4889eef8c5888)
2013-07-30 11:25:15 +05:30
Prasanna Santhanam
34e751fb8d 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>
(cherry picked from commit 3d4d350dbe9728d3de42e4ee7a6ad06c6e10fced)
2013-07-30 11:25:14 +05:30
Radhika PC
7bccc3e133 CLOUDSTACK-3580 2013-07-30 11:23:11 +05:30