16690 Commits

Author SHA1 Message Date
Rajesh Battala
183b989d30 CLOUDSTACK-664:AWS-Health Check feature: Patch applied cleanly , RAT build is successful 2013-03-18 14:01:15 +05:30
Rohit Yadav
99ed891804 appliance: Fix readme and zerodisk /home
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-18 11:00:39 +05:30
Chip Childers
eee720ceaa CLOUDSTACK-1702: Changed getId to getUuid in an exception message
string.

This doesn't resolve the bug in question, but does fix the specific
message that was reported as the origin of the bug.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-16 15:22:51 -04:00
David Nalley
f0a77d67cc CLOUDSTACK-337 - first iteration of an agent SELinux policy 2013-03-16 13:26:24 -04:00
David Grizzanti
b130e8b3f0 CLOUSTACK-997 improved documentation for assignVirtualMachine API; updated overall description and per parameter descriptions to per bug suggestions 2013-03-15 21:30:55 -04:00
Brian Federle
42d33fc3ff CLOUDSTACK-1044: Fix duplicate listCapacity call on dashboard 2013-03-15 10:48:49 -07:00
Sebastien Goasguen
e74dd13f7f CLOUDSTACK-825: Fix CloudMonkey docs 2013-03-15 05:52:46 -04:00
Jayapal Uradi
edaa72d0fc CLOUDSTACK-24: mipn feature for basiczone kvmhost
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-03-15 10:22:56 +05:30
Min Chen
1dc1bf00c6 CLOUDSTACK-1684: api.throttling.enabled configuration setting should be set to "false" in Config.java. 2013-03-14 21:17:35 -04:00
Deepti Dohare
d5cb32f159 Multiple Secondary Storage Issue 2013-03-14 21:08:27 -04:00
Brian Federle
345114d0ca Dashboard UI: Fix line breaks
Move line break tags from API calls to widget code; otherwise they
were not rendering correctly due to sanitization process.
2013-03-14 15:54:37 -07:00
Brian Federle
effb4ed85f Datepicker UI: Fix disabled cell hover appearance 2013-03-14 15:24:36 -07:00
Brian Federle
809ab3e9e1 Datepicker UI: Fix visible drop shadow artifact when hidden 2013-03-14 15:23:13 -07:00
David Grizzanti
4d5dfb1139 CLOUDSTACK-1157 updated API documentation for listTemplates command; fixed description of templateFilter parameter to all 7 options (in line with listIsos API cmd) 2013-03-14 14:58:58 -07:00
Brian Federle
3226b95e77 UI Dialog: Add datepicker styling, add datepicker to events UI
-Style datepicker calendar widget

-Add datepicker to delete/archive events/alerts
2013-03-14 14:56:01 -07:00
Sanjay Tripathi
105618896b CLOUDSTACK-1645 : Resources limit is not validated with update compute offering [ Instances are updated to higher CPU/Memory resources though there are no resources available @ account/domain] 2013-03-14 13:44:34 -07:00
Sheng Yang
98291d043d CLOUDSTACK-1218: Use the first IP in the first vlan range for VR in shared network 2013-03-14 13:13:31 -07:00
Hongtu Zang
0bf5f5edec CLOUDSTACK-1649: VMware VM OS type errors for RHEL
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-14 16:02:39 -04:00
Brian Federle
d6ce2af209 CLOUDSTACK-748: Support deployment of VM on Tier + network 2013-03-14 12:53:39 -07:00
John Kinsella
d579c937bb Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-03-14 12:12:53 -07:00
John Kinsella
08a0788b38 Summary: security_group.py: catch exception when flushing chain
Detail: Added exception handling around iptables chain flushing, along
with a call to default_network_rules() to re-initialize.

Testing:
On agent, ls /var/run/cloud and pick one of the VMs to test with. Make a
backup of it's logfile (eg cp /var/run/cloud/i-2-1722.log /tmp )
Destroy the firewall ruleset for that VM with
/usr/lib64/cloud/common/scripts/vm/network/security_group.py destroy_network_rules_for_vm --vmname i-2-1722-VM --vif vnet10
Now copy the log file back, edit the file and decrement the last field by 1
ACS should notice the out-of-date sequence ID and push a new ruleset for
the VM within 60 seconds.

BUG-ID: CLOUDSTACK-1685
Bugfix-for: John Kinsella
Reviewed-by:
Reported-by:
Signed-off-by: John Kinsella <jlk@stratosec.co> 1363286927 -0700
2013-03-14 11:48:47 -07:00
Prachi Damle
a7231015e8 CLOUDSTACK-1604: deploy VM failed when global setting "vm.allocation.algorithm" is set to "userdispersing"
Changes:
- DeployPlannerSelector was newly introduced for BareMetal feature. It had the planner name hardcoded.
- Change it to decide the planner by referring to the global config vm.allocation.algorithm value
2013-03-14 11:24:35 -07:00
Brian Federle
e6d46d7ec5 Merge branch 'ui-multiple-nics' 2013-03-14 10:45:46 -07:00
Brian Federle
4b26e9d89b Merge branch 'master' into ui-multiple-nics 2013-03-14 10:45:27 -07:00
Wido den Hollander
7d0db5d158 Delete ApiConstants.java.orig
This file should have never been committed in the first place?
2013-03-14 16:08:15 +01:00
Wido den Hollander
41e3db39c3 debian: Package ulimits and sudo rules
The old packages used to write this data to the configuration
in a postinst file.

That was horrible to track since system administrators had no
idea what was going on.
2013-03-14 15:55:32 +01:00
Rohit Yadav
a6ea691d64 usage: Revert 7a79451 due to duplicate declaration of plugin definition
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-14 16:43:48 +05:30
Wido den Hollander
8e8decfe2a license: Remove trailing spaces in license header 2013-03-14 10:51:33 +01:00
Pranav Saxena
2a337d5b01 CLOUDSTACK-1661: UI for Delete/Archive Events/Alerts 2013-03-14 13:59:52 +05:30
radhikap
845e332dbf CLOUDSTACK-1357 2013-03-14 13:22:27 +05:30
Kishan Kavala
2dd31f331d CLOUDSTACK-1636: Removed the concept of owner region.
Removed region_id from user/account and domain tables.
Removed forwarding of api calls to owner region.
Removed api_key and secret_key from region table.
Included related DB upgrade changes.
2013-03-14 11:53:40 +05:30
Rohit Yadav
c9082c9126 CLOUDSTACK-1643: Don't force load aesni_intel module, fix as per Chiradeep
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-14 11:52:06 +05:30
Alex Huang
4ee387e9ad fixed rat 2013-03-13 20:40:43 -07:00
Alex Huang
164d3a1a39 Added a shell script to set the maven profiles in eclipse 2013-03-13 20:21:58 -07:00
Alex Huang
01151331f5 Separate out the target directories for eclipse and the one for regular builds 2013-03-13 20:21:57 -07:00
John Kinsella
1079d63b6f Summary: Prevent deletion of wrong iptables rules
Detail: A grep in security_group.py wasn't defined well enough, could
potentially delete rules for VMs other than intended

BUG-ID: CLOUDSTACK-309
Bugfix-for: master
Reviewed-by:
Reported-by: Francois Scala
Signed-off-by: John Kinsella <jlk@stratosec.co> 1363222521 -0700
2013-03-13 17:55:21 -07:00
John Kinsella
381f737e64 Summary: Fix exception handling in security_group.py
Detail: Code was attempting to concatinate an exception to a string.
Updated to convert to text and concatinate that.

BUG-ID: CLOUDSTACK-1052
Bugfix-for: master
Reported-by: Noa Resare
Signed-off-by: John Kinsella <jlk@stratosec.co> 1363218769 -0700
2013-03-13 16:52:49 -07:00
Marcus Sorensen
a94ff361dd CLOUDSTACK-1648 - KVM - make storage pools non-persistent in libvirt. Persisting
cloud-defined resources on the host has caused various problems. As a backward
compatible fix, if an existing pool with a different name collides with a pool
being created (by path), the pool will be redefined with the name cloudstack
knows about. This is actually what brought up the bug, a persisted storage pool
cloudstack wasn't managing.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1363210149 -0600
2013-03-13 15:29:09 -06:00
Pradeep Soundararajan
7bb8ed4d05 BUG-ID: CLOUDSTACK-1557
Summary: EC2 REST API : cloudbridge database is missing on the CloudStack Installation

After this change, cloudstack-setup-databases is launching cloud-bridge related databases properly.
2013-03-13 14:20:41 -07:00
Wido den Hollander
cd65d26a93 debian: Further improve the usage server package
We no longer symlink db.properties to the management server, but
we create a own db.properties for the usage server.

During a upgrade we copy the file to make the upgrade easier.
2013-03-13 21:25:18 +01:00
Marcus Sorensen
97d2e3fe77 Summary: KVM - remove harmless message about domain not found on VM stop
Detail: When we stop a VM, it's definition is no longer valid. Therefore, we
need to catch the exception thrown from libvirt in trying to lookup a
non-existent domain by UUID while trying to check if it's shut down.

BUG-ID:CLOUDSTACK-600
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1363201066 -0600
2013-03-13 12:57:46 -06:00
Wido den Hollander
22d9277ad9 debian: Bump the version to 4.2.0
This is needed since we have to be in sync with the Maven version
2013-03-13 19:20:33 +01:00
Brian Federle
66a6520e4d Multiple IPs per NIC: Fixes
-Remove redundant columns from NIC IPs list view

-Fix remove, add action to use correct data from API response
2013-03-13 11:06:48 -07:00
Brian Federle
7566424a0b List view: Subselect UI: Fixes
-Split subselect options into 2 subcategories, 'label' and 'dataProvider'

-Localize subselect label
2013-03-13 11:05:50 -07:00
Min Chen
05f73d0950 CLOUDSTACK-1656: NicResponses in a UserVmResponse are not preseving the natural order. 2013-03-13 10:30:13 -07:00
Marcus Sorensen
8d7d1cd562 Summary: KVM - undefine persistent VMs on stop
Detail: A previous patch fixed an issue where we are defining VMs to persist
locally on KVM hosts, which can cause issues if the agent isn't running and
libvirt decides to start the VM unbeknownst to cloudstack. The previous patch
stopped defining VMs as persistent. This patch adds compatibility for existing
cloudstack environments, removing the persistent definition on stop if needed.

BUG-ID: CLOUDSTACK-600
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1363194656 -0600
2013-03-13 11:10:56 -06:00
Brian Federle
70164aa3bb Merge branch 'master' into ui-multiple-nics
Conflicts:
	ui/scripts/network.js
2013-03-13 09:36:06 -07:00
Murali Reddy
2feda05ecd CLOUDSTACK-1427: Failed to delete Guestnetwork which has LB with
Netscaler

There is no need for getIpDeployer to depend on the fact a NetScaler
device is allocated (network is implemented state) or not-allocated
(network is in shutdown state)
2013-03-13 17:30:15 +05:30
Jayapal Uradi
b4bab5a152 CLOUDSTACK-1595 removeIpFromNic using uuid and response changes
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-03-13 14:46:31 +05:30
Rohit Yadav
0f8c4d0ac0 baremetal: Remove old templateadapter in cloud-server, fix spring xmls
The BareMetalTemplateAdapter in cloud-server is old and was introduced by recent
branch merges, Frank had separated and moved code to the baremetal plugin so
we will use that.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-13 11:50:54 +05:30