17897 Commits

Author SHA1 Message Date
Brian Federle
6f65a5bbe7 Update gitignore 2013-05-24 12:07:13 -07:00
Jessica Wang
3d16e82547 CLOUDSTACK-2678: portable IP ranges - regions detailView - add viewAll path to Portable IP Ranges listView. 2013-05-24 10:33:28 -07:00
Jessica Wang
6975f6bac6 CLOUDSTACK-2377: UI - network menu - add guest network dialog only allows to add Isolated network, but not shared network. Change label to make it clear. 2013-05-24 10:09:44 -07:00
Prasanna Santhanam
90a40b0806 Move changeOffering test to service offerings
This will reduce the time (>30m) on the vm lifecycle.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 21:42:25 +05:30
Chip Childers
09d2fe6a7d CLOUDSTACK-528: Adding a corrective update to remove the extra space characters that exist after running older versions of schema-302to40.sql
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-24 17:07:01 +01:00
Wido den Hollander
bef3a2edb7 CLOUDSTACK-1191: rbd: Use cloning for deploying templates instead of a copy
RBD format 2 supports cloning (aka layering) where one base image can serve
as a parent image for multiple child images.

This enables fast deployment of a large amount of virtual machines, but it also
saves spaces on the Ceph cluster and improves performance due to better caching.

Qemu-img doesn't support RBD format 2 (yet), so to enable these functions the
RADOS/RBD Java bindings are required.

This patch also enables deployment of System VMs on RBD storage pools. Since we
no longer require a patchdisk for passing the boot arguments we are able to deploy
these VMs on RBD.
2013-05-24 16:00:08 +02:00
Prasanna Santhanam
ed2ce27371 CLOUDSTACK-2652: requests module differs on Python 2.6
On 2.6 response.json returns the JSOn in the response while on 2.7
response.json() is a method. Since Marvin installs on both platforms
fixing the error appropriately

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 19:22:49 +05:30
Jayapal
d8f5f2ea10 CLOUDSTACK-2671 Updated vpc private gateway scipt args 2013-05-24 18:54:04 +05:30
Murali Reddy
b000781bfc fixing disassociateIpAddress API to call 'releasePortableIpAddress'
network service method for portable ip address. Also fix ensures events
coresponding to the portabl ip are generated correctly.
2013-05-24 18:54:04 +05:30
Pranav Saxena
8b9d6d81a2 Implicit dedication mode 2013-05-24 17:28:11 +05:30
Harikrishna Patnala
a34e577d1b CLOUDSTACK-1453: support restore for VM created from ISO
This is to support restore a vm to a new/currently_attached ISO.
In the restorevm API we have an optional parameter templateId to restore the vm to the new template/ISO ID.
2013-05-24 16:41:03 +05:30
Nitin Mehta
23baacba62 CLOUDSTACK-2669 - Adding resource limit and count logic for scale vm 2013-05-24 16:06:26 +05:30
Kishan Kavala
ba67e5d56e CLOUDSTACK-2452: Fixed account upgrade for usage. Added cloumn default. Updated usage response for PF , LB and VPN to return UUID instead of Id 2013-05-24 16:00:49 +05:30
Prasanna Santhanam
6e1103e924 Removing tests that were written in the old design
The APIs addVolumeDetail and addNicDetail do not exist. These were part
of the old resource tagging design.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 14:44:55 +05:30
Kishan Kavala
a23f151df5 KVM snapshots backUp path in 22 had entire path, instead of relative path. Fix modifies the path to make it relative during upgrade 2013-05-24 14:41:28 +05:30
Bharat Kumar
47a562a2c0 Cloudstack-2548: Failed to delete public IP range
Public IP range deletion after it is dedicated fails with IP range being
used for DHCP offers.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 14:28:46 +05:30
Prasanna Santhanam
09c6030ae9 Correct the resize volume tests
Resize would fail on XenServer if the VM isn't stopped before resizing.
Ensuring VM stop based on the hypervisor host detected that the VM is
resident on.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 14:24:06 +05:30
Prasanna Santhanam
a6d13cb799 Unwrap the test docstring for the testrunner
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 14:24:06 +05:30
Prasanna Santhanam
b2be0dbf6b Fixing incorrect ipaddress references
test_network: references to ipaddress are ipaddress.ipaddress
Added more logging to volume tests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-24 14:24:06 +05:30
Kishan Kavala
3b48299a03 CLOUDSTACK-2664: Fixed delete query. Added log message when CloudRuntimeException is thrown during upgrade 2013-05-24 12:37:18 +05:30
Kishan Kavala
3e02a76f00 CLOUDSTACK-528: Config value has to be encrypted for Hidden category configs 2013-05-24 12:37:18 +05:30
Prachi Damle
51cf797d5e CLOUDSTACK-2659 Advanced Zone - during VM deployment need to check network permissions for shared account-specific guest networks too
Changes:
- Check network permissions for account specific shared networks as well
- Changes to error to include network uuid instead of id
2013-05-23 22:57:49 -07:00
Jayapal
704471e6de CLOUDSTACK-2386 Fixed srx firewall icmp rule
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-05-24 10:30:12 +05:30
Mice Xia
2276760b3b fix CLOUDSTACK-2649 createLoadBalancerRule API:both ports getting same value(public port value assigned to private port) 2013-05-24 11:27:16 +08:00
Sheng Yang
07715b91af CLOUDSTACK-2639: Add flag for booting complete
Don't execute any command before VR complete booting up process.
2013-05-23 18:46:43 -07:00
Prachi Damle
780b45e245 CLOUDSTACK-2657: listTemplatePermissions API should also include the owner of the template to the list of users having permission to launch
Changes:
- Add template owner to the list of users
2013-05-23 16:33:07 -07:00
Alena Prokharchyk
7e6f3f94ba CLOUDSTACK-2628: added networkId parameter to the list of request parameters in listLoadBalancerRules API 2013-05-23 16:06:57 -07:00
Brian Federle
f92db64c78 Install wizard UI: Add preinstall hook
For fresh install, adds hook to install wizard UI to show a custom
'step' before the initial welcome screen.

Pre-install specified by providing 'cloudStack.preInstall,' which
returns a jQuery object to be displayed. It passes args.complete,
which when called will proceed to the first step of the install
wizard.
2013-05-23 15:59:03 -07:00
Min Chen
cf8ff0cc65 Populate UUID column for new data introduced in 4.2.0. 2013-05-23 15:43:14 -07:00
Min Chen
a46b4d8273 CLOUDSTACK-2656: UUID column for all 4.0 schema entities should be
populated when they are upgraded to 4.1
2013-05-23 15:15:13 -07:00
Wido den Hollander
b1f4c8e89a Fix a small typo in a log line 2013-05-23 23:46:55 +02:00
Jessica Wang
026c2cec6d CLOUDSTACK-2504: UI - create network offering dialog - pass specifyIpRanges=false for Isolated Network. 2013-05-23 14:35:40 -07:00
Anthony Xu
e8fbee0e18 firewall service is not supported in shared SG enabled network offering , remove it 2013-05-23 14:19:43 -07:00
Wido den Hollander
2336d478be debian: When building packages run a Maven clean first 2013-05-23 23:19:03 +02:00
Hugo Trippaers
1201d623a7 CLOUDSTACK-862 Updated documentation with the new features available in
the Nicira NVP plugin.
2013-05-23 22:48:40 +02:00
Murali Reddy
623a26e469 CLOUDSTACK-2587: netscaler_pod_ref DB upgrade is missing from 3.0.2 to
4.x

added missing schema as part of 4.0 to 4.1 upgrade
2013-05-23 22:28:17 +05:30
Chip Childers
cc492305ce CLOUDSTACK-2612: Correcting missing db qualifiers in schema-302to40.sql
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-23 17:50:47 +01:00
Devdeep Singh
80a3c0535e CLOUDSTACK-2643: Implicit dedication planner isn't listed in non oss builds. The entry for implicit planner was missing in nonoss component context xml. Added it there. 2013-05-23 16:50:33 +05:30
Koushik Das
4e7f87681c CLOUDSTACK-1396: uuid field is NULL in hypervisore_capability table for Vmware ESXI 5.1
Adding uuid at the time of inserting new entry in hypervisor_capabilities table
2013-05-23 16:07:26 +05:30
Pranav Saxena
4fdd0261fe port forwarding issues with the listNics API response parameter 2013-05-23 14:56:32 +05:30
Marcus Sorensen
fce59b8fc4 Summary: Code cleanup for KVM - look up domains by name rather than coversion
Detail: We do two strange things, #1, when a vm is created, we create the uuid
for the domain by converting the name into a uuid, then subsequently, any time
we look for a domain, we convert its name to a uuid and domainLookupByUUID. This
is an unnecessary obfuscation, so instead we just do a domainLookupByName. As
a bonus, we are now setting the domain's uuid to be the cloudstack uuid. It is
no longer used anywhere, but will be less confusing to admins. This shouldn't
affect upgrades, since we can always lookup existing VMs by name.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1369287049 -0600
2013-05-22 23:30:49 -06:00
Marcus Sorensen
795fd803da Summary: KVM - double migration can fail
Detail: Undefine VM after migration. Lingering domain definitions cause
migrations back to the original host to fail, since domain already exists.

BUG-ID: CLOUDSTACK-2640
Bugfix-for: 4.1.0,4.2.0
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1369285950 -0600
2013-05-22 23:12:30 -06:00
Mice Xia
4786420986 [Automation] fix CLOUDSTACK-2546 Failed to add second NIC to vm in KVM environment 2013-05-23 09:55:30 +08:00
Prachi Damle
a69101dceb - To check if a host is in avoid set, DPM should check the zones/pods/cluster/hosts in teh avoid list - not just the hosts in avoid list. 2013-05-22 17:06:49 -07:00
Alena Prokharchyk
c52879b88c CLOUDSTACK-2627: disassociate ip address - assign return value of releaseIpAddress backend call to the result returned to the API caller 2013-05-22 16:14:47 -07:00
Alena Prokharchyk
f41d398cf7 Remote access vpn: method name change 2013-05-22 16:05:03 -07:00
Min Chen
19321d4eeb CLOUDSTACK-2629: ListRouters with networkid throws exception. 2013-05-22 15:27:04 -07:00
Jessica Wang
c7976b6685 CLOUDSTACK-747: internal LB in VPC - remove module internalLbProvider since internalLbVm section has been added in system.js 2013-05-22 11:03:56 -07:00
Jessica Wang
c7b902024c CLOUDSTACK-747: internalLb in VPC - Infrastructure menu - network service provider - add InternalLbVm. Clicking it will lead to a screen that can enable/disable provider and have instances tab that can start/stop LB Instance. 2013-05-22 10:49:26 -07:00
Jessica Wang
29574267c9 CLOUDSTACK-747: UI - create network offering - default sourceNat type as per account instead of per zone. 2013-05-22 10:48:44 -07:00