Commit Graph

23223 Commits

Author SHA1 Message Date
Jayapal ca270cbdf7 CLOUDSTACK-6577: Disable service monitoring in RVR 2014-05-06 17:47:39 +02:00
Sam Schmit 3a3457e713 CLOUDSTACK-6472 listUsageRecords: Pull information from removed items as well, fixing NPEs/Null UUIDs with usage API calls. 2014-05-06 17:46:20 +02:00
Sebastien Goasguen 352a9f8587 Review from pyr https://reviews.apache.org/r/20557/ 2014-05-06 17:45:56 +02:00
Daan Hoogland c2e3c4ae28 release info update 2014-05-06 14:56:42 +02:00
David Bierce efccef485c CLOUDSTACK-6552 Cloudstack-Management install package creates log
directory that is never used
2014-05-06 11:22:00 +02:00
Daan Hoogland 0b23d09845 format: tab to spaces 2014-05-05 23:25:22 +02:00
Jessica Wang 6d1c2b14bf CLOUDSTACK-6483: UI > Load Balancing > "VM+IP" listing > After removing a "VM+IP" under a LB rule, AddVMs dialog should reflect the change (i.e. show the removed IP in IP dropdown in AddVMs dialog) 2014-05-05 23:20:12 +02:00
Brian Federle 542c2608e1 CLOUDSTACK-6342: Fix LB table listing for Firefox 2014-05-05 22:47:08 +02:00
Brian Federle c90c340d57 List view, dialog VM select: Widen name field to better fit IP subselect box 2014-05-05 22:46:38 +02:00
Dariusz Nejbauer e28948ccc3 CLOUDSTACK-3932: UI: Fix Truncation issue in secondary storage URL
Signed-off-by: Brian Federle <brian.federle@citrix.com>
2014-05-05 21:21:49 +02:00
Harikrishna Patnala a521c02c54 CLOUDSTACK-5976: Typo in "ssh_keypairs" table's foreign key constraints
on the Upgraded Setup
2014-05-05 20:34:20 +02:00
Tanner Danzey f8419b9303 CLOUDSTACK-5907, CLOUDSTACK-6396: KVM/RBD & KVM/CLVM volumes mistakenly shown as OVM, disables snapshotting
modified:   server/src/com/cloud/api/ApiDBUtils.java

Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-05 15:29:14 +02:00
Bharat Kumar aabde469d2 Cloudstack-5077: reserve cpu and memory only when vmware.reserve.cpu/mem are set to true. Insted of setting the ovecommit values to one on upgrade, we popultate them from the global values.
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
	engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2014-05-05 14:06:09 +02:00
Harikrishna Patnala 0c60ea2e01 CLOUDSTACK-6466: cpu and ram is not getting updated correctly in usage_vm_instance table for usage type 2 2014-05-05 14:03:22 +02:00
Harikrishna Patnala df0564f14d CLOUDSTACK-6463: password is not set for VMs created from password enabled template 2014-05-05 14:02:52 +02:00
Rajesh Battala 4104136062 Fixed testSetupGuestNetwork unit test as the SetupGuestnetwork prepare command got changed 2014-05-05 11:19:47 +02:00
Rajesh Battala 0d99fc38f5 CLOUDSTACK-6528 SetupGuestNetwork command is not deleting the guest network configured on the eth device 2014-05-05 11:17:48 +02:00
ynojima 37bd82aa1e CLOUDSTACK-6571 bugfix: 'service cloudstack-agent stop' fails to stop the process started on boot 2014-05-05 10:28:41 +02:00
Sachchidanand Vaidya b6b25b1ec6 - Created new devcloud advanced networking config file (devcloud-advanced_juniper-contrail.cfg). - Modification to deployDataCenter script, to enable "JuniperContrailRouter" & "JuniperContrailVpcRouter" providers.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-04 21:19:11 +02:00
Milamber bed54474d1 Update L10N strings from Transifex to repo (before 4.4 RC1) 2014-05-04 00:46:29 +01:00
Milamber 735b910832 Remove bad backslash near "label.nicira.nvp.details" key. 2014-05-03 23:39:36 +01:00
Mike Tutkowski dd3076987f CLOUDSTACK-6170 Corrected an issue related to the "Reinstall VM" command and managed storage with VMware 2014-05-03 14:04:49 +02:00
Min Chen 71e0cff46e CLOUDSTACK-6568:API:createVolume: Volume gets created with wrong domain
ID.
2014-05-03 14:02:16 +02:00
Min Chen 1085695b5c CLOUDSTACK-6569: IAM - Regular user is able to listNetworks of another
user in the same domain , by passing account and domainId.
2014-05-03 00:44:25 +02:00
Alena Prokharchyk d17c299fb4 LOUDSTACK-6475: cleanupVPC task - removed the transaction wrapping up multiple VPC destroy as the destroy operation has external calls, to prevent long-locked transaction.
Reviewed-by: Prachi Damle
2014-05-02 23:27:42 +02:00
Brian Federle 0ef9c9a1c0 CLOUDSTACK-6438: Filter out existing IPs in dropdown 2014-05-02 20:26:12 +02:00
Brian Federle 2ff3623054 CLOUDSTACK-6438: WIP: Add filtering to check against existing IPs 2014-05-02 20:25:38 +02:00
Brian Federle 0e002ffa84 CLOUDSTACK-6438: WIP: If VM has additional IPs, keep showing in add screen 2014-05-02 20:25:16 +02:00
Murali Reddy dd88720c9b CLOUDSTACK-6564: OVS distributed routing: use file based OF rule updates
use ovs-ofctl replace flows by file name option to update the OF rules
instead of sequenetially configuring the rules.
2014-05-02 19:03:55 +02:00
Sateesh Chodapuneedi 47f5d2862a CLOUDSTACK-6317 [VMware] Tagged VLAN support broken for Management/Control/Storage traffic
Check if switch name detected from traffic label for management, storage, control traffic is null before falling back to default value.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-05-02 19:02:45 +02:00
ynojima 16342f8a82 CLOUDSTACK-6351 bugfix: Java1.6 is installed instead of Java7
Since epoch spesicifation doesn't work on RHEL6.3,
"java7" is used in the rpm spec.

Conflicts:
	packaging/centos63/cloud.spec
2014-05-02 19:00:37 +02:00
Rajesh Battala 51d620f00e Removed Epoch tag/number from the cloud.spec to fix the rpm installation of Management Server, Agent and awsapi 2014-05-02 19:00:28 +02:00
Min Chen 96cd858d97 CLOUDSTACK-6556: Deploy VM failing with error "does
not have permission to access resource Ntwk".
2014-05-02 18:53:47 +02:00
Min Chen 9f798823ef CLOUDSTACK-6556: [Automation] Deploy VM failing with error "does not
have permission to access resource Ntwk".
2014-05-02 18:53:22 +02:00
Min Chen 4ebde83519 CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
rights.
2014-05-02 18:52:51 +02:00
Prachi Damle c4ab1d5772 CLOUDSTACK-6560: IAM - Admin user is denied permission to create Egress rule for a user's network
Changes:
- CS 4.3 handled Network entity in two ways:
a) Specified "UseNetwork" access and did a strict check w.r.t who can use this network. Regular users and Domain Admin went through the strict check. Root admin got access always.
b) Specified "null" access and that meant admins can access this network for the calling API that passes null access.

- Fixing CS 4.4 IAM to handle this behavior:
a) "UseNetwork" is mapped to "UseEntry" and IAM check will be done only for domain admin and regular users when this access is specified. Root Admin is grated access.
b) If "null" access is specified, root and domain admin both are granted access. Regular users still go through IAM.
2014-05-02 18:51:19 +02:00
Prachi Damle 33c3752d0e CLOUDSTACK-6558 IAM - Admin user is able to deploy VM in a regular user's Security Group.
Changes:
- Even for SecurityGroup, go through IAM to do permission checks for all type of accounts
2014-05-02 18:50:52 +02:00
Wido den Hollander 1aff3a5f08 CLOUDSTACK-4549: Do not force RBD snapshot backups to RAW format
Since we use qemu-img to copy from RBD to Secondary Storage we no
longer have to force to RAW images, but can stick with QCOW2

When the snapshot backups are QCOW2 format they can easily be deployed
again when restoring from a backup

Conflicts:

	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2014-05-02 18:49:28 +02:00
Min Chen 5132264309 CLOUDSTACK-6443: [Automation] Two Test Cases failed on "test_volumes.py"
- AttributeError: VirtualMachine instance has no attribute 'hostid'.
2014-05-02 18:47:20 +02:00
Min Chen a3a0f13bb8 CLOUDSTACK-6513: remove commented code. 2014-05-01 10:38:05 +02:00
Min Chen 554cab8ea1 CLOUDSTACK-6513: templateFilter=shared should not show self-owned
template.
2014-05-01 10:37:46 +02:00
Min Chen 62b210b583 CLOUDSTACK-6502:Remove trailing whitespaces. 2014-05-01 10:28:09 +02:00
Daan Hoogland ce56894d37 CLOUDSTACK-6549: ommission due to insufficient tests in CLOUDSTACK-6231 2014-05-01 09:43:43 +02:00
Prachi Damle c32b7ab7c8 CLOUDSTACK-6517: IAM - Admin is allowed to create PortFowarding rule for a regular user, when admin does not have " UseEntry" permission for IpAddress.
Changes:
- IAM was applying ordering on accessTypes. Thus if an account had Operate, he got USe access as well. So even if IAM schema did not have 'UseEntry" permission for IpAddress, some other 'OperateEntry' permission on IpAddress was letting this operation go through.
- Fixed IAM to NOT do ordering of access types anymore. IAm will perform strict accessType check only.
- This fix is needed so that admin does not get permission to USE resources from other account just becase he has OPERATE access on those resources due to some other APIs.

- However due to this fix, we break backwards compatibilty with CS 4.3.
- CS 4.3 allowed root admin to do the createPF operation for a user by passing in networkId of the user.
- Same was the case for domain admins within their domains
- Why this worked was due to CS 4.3 simply returning true for root admin/domain admin

- So to maintain backwards compatibilty, we are adding the logic to return "true" for root admin and domain admin just like CS 4.3.
- Exception is: For Network, AffinityGroup and Templates, we still call IAM even for root admin/domain admin, since thats what CS 4.3 did. Just for these 3 resource_types, it used to perform access checks even for root admin/domain admin.
2014-05-01 08:36:39 +02:00
Anthony Xu 376078e90f Revert "disble XS event, found there is an issue when event.from is called by multiple thread."
This reverts commit 8696f386dd.
2014-04-30 10:38:13 -07:00
Daan Hoogland 2239eb4b17 CLOUDSTACK-6231: network acl item cidrs loaded from a seperate table 2014-04-30 14:56:16 +02:00
Min Chen 683c242ed3 CLOUDSTACK-6513: Optimize code by removing deprecated utility to
QueryManagerImpl as private method just used for listTemplates and
listAffinityGroups to avoid misuse by new list APIs.
2014-04-30 10:40:39 +02:00
Min Chen 4f9b298817 CLOUDSTACK-6532:Affinity Groups - As admin user, not able to list all
affinity groups available for regular users by passing account and
domainId paramater. This is to revert IAM way of implementing
listAffinityGroupsCmd, will bring it back when we have implemented real
impersonation.
2014-04-30 10:39:43 +02:00
Min Chen 504bd0377d CLOUDSTACK-6533: IAM - Templates - Public templates do not have
permissions to be used by ROOT group.
2014-04-30 10:38:55 +02:00
Min Chen 4ca65496c2 CLOUDSTACK-6513: IAM - Templates - When templates are listed with
templatefilter="shared" is used , we see public templates also being
included in the list. This commit reverts listTemplates behavior to 4.3
old logic without using consistent interpretation of list parameters
adopted in new IAM model.
2014-04-30 10:38:02 +02:00