Commit Graph

16298 Commits

Author SHA1 Message Date
Sebastien Goasguen dd671814c5 CLOUDSTACK-1516: Added ko-KR po files from shibaboy@gmail.com 2013-03-20 18:00:40 -04:00
Sebastien Goasguen 6e7d4196a7 CLOUDSTACK-1516: Added ja-JP po files from arkray0701@gmail.com,go.chiba@gmail.com,k-tsunemoto@netone.co.jp and kkitase@gmail.com 2013-03-20 17:59:21 -04:00
Sebastien Goasguen 751dd42c5a CLOUDSTACK-1516: Added it-IT po files from miumiento@gmail.com and robedal@gmail.com 2013-03-20 17:55:59 -04:00
Sebastien Goasguen 95f395f320 CLOUDSTACK-1516: Added it_IT and ko_KR to translations 2013-03-20 17:51:21 -04:00
Sebastien Goasguen 5696b1fd7c CLOUDSTACK-1750: remove -b option in cp call during key injection for systemvm 2013-03-20 16:57:51 -04:00
Nitin Mehta cfff6708f3 CLOUDSTACK-1738 : Adding code for StatsCollector initialization using spring framework. This was not initialized and hence stats were not colleced on vm, host and storage in CS. 2013-03-20 15:44:22 +00:00
Kishan Kavala 65cc29734a CLOUDSTACK-198: Included VpnUsers in Add state while listing. Added state to Vpn user response. 2013-03-20 15:36:47 +00:00
Wido den Hollander df81898838 CLOUDSTACK-1469: Include JNA in the classpath when starting the Agent
This should have been already merged into 4.1, but didn't come through properly.

We use the JNA version shipped with CentOS 6.X since that works best with
libvirt 0.4.9
2013-03-20 15:52:14 +01:00
Sebastien Goasguen ccd746027f Revert "CLOUDSTACK-1516: Added .po files for translations"
This reverts commit e76398e6fe.
2013-03-20 05:53:51 -04:00
Sebastien Goasguen 380bb35838 Revert "CLOUDSTACK-1516: Added license headers to po files"
This reverts commit 3dddca6943.
2013-03-20 05:01:42 -04:00
radhikap 2612bf8fc1 CLOUDSTACK-1308 and CLOUDSTACK-807 2013-03-20 11:06:57 +05:30
radhikap 36d2ad22d8 CLOUDSTACK-807 2013-03-20 10:19:19 +05:30
Brian Federle 2d7c6aa582 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-20 00:49:08 +00:00
Min Chen 7734650bf9 CLOUDSTACK-1511 and CLOUDSTACK-1446 2013-03-20 00:40:29 +00:00
Wei Zhou 0ce1d4fde1 CLOUDSTACK-1668: Fix IP conflict in VPC tier
Currently, allPossibleIps return the Ip lists which include the gateway,
so we need to remove gateway ip from this list.

Now, for non-VPC network it works, because NetUtils.getAllIpsFromCidr
return the Ip lists which do not include the first IP of the network
(like 192.168.0.1).
We need too add the first IP into the returned Ip list, because it can
be used for VM if it is not the gateway IP (for example, VPC networks).

The corresponding patch for 4.0.1 has been posted on
https://reviews.apache.org/r/9923/

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-20 00:26:37 +00:00
Kishan Kavala 7802a62d5e CLOUDSTACK-1717, CLOUDSTACK-1718: Corrected RemoveRegion response. Removed /api in Local region end_point 2013-03-19 13:12:29 -04:00
Pradeep Soundararajan d20bcce7a2 CLOUDSTACK-1713: EC2 REST API: AWS API Installation Problems
Description: Added the pre run for awsapi where it will create the user 'cloud' during awsapi install and removed the unwanted entries from packaging awsapi.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-19 13:09:20 -04:00
Rohit Yadav fff8048a3a CLOUDSTACK-1720: Add upgrade path from 4.0.x to 4.1.0
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-19 13:03:37 -04:00
hongtu_zang c9c50e4efb 4.1 fix bug vmware create volume from snapshot will missing data 2013-03-19 12:50:05 -04:00
Sebastien Goasguen 3dddca6943 CLOUDSTACK-1516: Added license headers to po files 2013-03-19 10:44:00 -04:00
Sebastien Goasguen e76398e6fe CLOUDSTACK-1516: Added .po files for translations 2013-03-19 10:39:35 -04:00
Sebastien Goasguen 7efa5cbce7 CLOUDSTACK-1516: Added language map to .tx/config file 2013-03-19 10:23:41 -04:00
radhikap 85b69ba99c IPv6 support doc 2013-03-19 19:49:04 +05:30
Sebastien Goasguen 89c96d805f CLOUDSTACK-1516: Updating tx/config file with new pot files 2013-03-19 10:18:14 -04:00
Sebastien Goasguen 24fc2a7638 CLOUDSTACK:1516 Adding license header 2013-03-19 09:51:17 -04:00
Sebastien Goasguen 2b06d39793 CLOUDSTACK-1516: Commit updated and new pot files for documentation 2013-03-19 09:43:09 -04:00
Prachi Damle b66ee30566 CLOUDSTACK-1706 Failed to deploy VM with error "cannot find DeployPlannerSelector"
Changes:

- Regular plugin/adapter components should usually be loaded at run level RUNLEVEL_COMPONENT(5)
- HypervisorVmPlannerSelector was at level 0, while configurationServer at level 2  - causing config to be not loaded for the HypervisorVmPlannerSelector
2013-03-18 15:16:47 -04:00
Radhika PC 67d8798bce CLOUDSTACK-1681 2013-03-18 16:43:42 +05:30
David Grizzanti 5be6529cfa CLOUSTACK-997 improved documentation for assignVirtualMachine API; updated overall description and per parameter descriptions to per bug suggestions 2013-03-15 21:30:03 -04:00
Min Chen 6d01ce565d CLOUDSTACK-1690: Remove region_id from sql insert statement for inserting "system" and "admin" account and user in MS startup due to recent region feature change. 2013-03-15 21:19:55 -04:00
Marcus Sorensen 186fb9ff51 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-15 09:56:19 -04:00
Marcus Sorensen 6df107bcf6 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-15 09:56:04 -04:00
Wido den Hollander cefece7148 agent: Do not define domains persistent in libvirt
We used to define domains persistent in libvirt, which caused XML definitions
to stay there after a reboot of the hypervisor.

We however don't do anything with those already defined domains, actually, we wipe
all defined domains when starting the agent.

Some users however reported that libvirt started these domains after a reboot
before the CloudStack agent was started.

By starting domains from the XML description and not defining them we prevent
them from ever being stored in libvirt.
2013-03-15 09:55:51 -04:00
Sebastien Goasguen 9e1d5931ec CLOUDSTACK-825: Fix CloudMonkey docs 2013-03-15 05:51:29 -04:00
Kishan Kavala b41e6e929d 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 21:22:48 -04:00
Min Chen 93dfbd2672 CLOUDSTACK-1684: api.throttling.enabled configuration setting should be set to "false" in Config.java. 2013-03-14 21:16:40 -04:00
Wido den Hollander 8d333ec664 CLOUDSTACK-1415: Merge in the Debian/Ubuntu packaging work from master
This patch inclused the packaging work from master tailored for 4.1

Not everything has been tested yet, but it should generate DEB packages.

Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-14 21:02:30 -04:00
Sheng Yang 7aa16259fc CLOUDSTACK-1218: Use the first IP in the first vlan range for VR in shared network 2013-03-14 20:57:49 -04:00
David Grizzanti e30c90ba74 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 20:46:08 -04:00
Rohit Yadav 8071bb7fec Spring fails to inject the class itself which is a pluggable service. A
minor issue, but the listApis won't list the "listApis" API itself.
So, we manually addAll getCommands() from the class to the cmdClass (the
list of cmd classes)

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-14 16:17:14 -04:00
hongtu_zang ae9aef2bc8 fix bug 1649 vmware vm os type error 2013-03-14 15:56:00 -04:00
John Kinsella c1847cdc50 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 15:40:41 -04:00
John Kinsella 4a556d1280 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-14 15:40:35 -04:00
John Kinsella beb6170d2a 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-14 15:40:24 -04:00
Marcus Sorensen 6928679ba8 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-14 15:30:42 -04:00
Prachi Damle 48495f86f7 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 15:08:08 -04:00
radhikap 07ffc2a50b CLOUDSTACK-1357 2013-03-14 13:31:41 +05:30
Pradeep Soundararajan 81a5a1270e 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 17:31:05 -04:00
Murali Reddy 84fbc7e9a2 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 11:50:45 -04:00
Min Chen 48fdbd4ea8 CLOUDSTACK-1656: NicResponses in a UserVmResponse are not preseving the natural order. 2013-03-12 21:50:16 -04:00