22497 Commits

Author SHA1 Message Date
Jessica Wang
d5dc6aab61 CLOUDSTACK-6190: UI > VM Wizard > select network step > support specifying IP Address for every network. Change to use ipToNetworkList parameter instead of networkIds parameter of deployVM API. 2014-02-28 14:58:18 -08:00
Alena Prokharchyk
d9a4e038a0 Enhanced updateVirtualMachine API with optional parameter "name" - to allow update hostName for the virtual machine 2014-02-28 14:35:37 -08:00
Brian Federle
c93b2fa605 UI dialog: Add event trigger on form creation, to aid in plugin development 2014-02-28 14:21:59 -08:00
Brian Federle
d896aedccd LDAP Account Wizard: cleanup layout
-Fix table column sizing
-Add ellipses/alt tags to fields to help overflow
2014-02-28 08:36:25 -08:00
Jayapal
100a911229 CLOUDSTACK-6187: Fixed MigrateSystemVMCmd response for router 2014-02-28 16:46:57 +05:30
Jayapal
cb1c287433 CLOUDSTACK-6183: Unplug the nic when all the ips from the public subnet is released 2014-02-28 16:46:57 +05:30
Nitin Mehta
5360ab3d43 CLOUDSTACK-6186:
Unable to register private template across all Zones - crosszones flag no longer works.
This was because the code skipped the loop after the first download initiation. Introduced a set so that if it is already downloaded to the same zone then skip it for private template.
2014-02-27 18:29:58 -08:00
Brian Federle
56684a52bc UI: VM wizard: Fix specify IP field when new network is unchecked 2014-02-27 14:50:03 -08:00
Brian Federle
ecdd0e1027 UI: VM wizard: Add specify IP field to new network area 2014-02-27 14:16:32 -08:00
Brian Federle
4dad376f98 UI: Make sure notification box is removed on session expire 2014-02-27 13:26:32 -08:00
Brian Federle
9769ab329d UI support for specify IP in VM wizard 2014-02-27 13:15:21 -08:00
Jessica Wang
d5aed69c29 CLOUDSTACK-6162: UI > zone > physical network > service provider > OVS > match provider name "Ovs" in listNetworkServiceProviders API response. 2014-02-27 11:54:13 -08:00
Alena Prokharchyk
93d2c8c3ed CLOUDSTACK-6184: set display=true by default for all resource details 2014-02-27 10:55:47 -08:00
Daan Hoogland
9b26ca20fc build recent systemvm[64]templates 2014-02-27 17:48:18 +01:00
Daan Hoogland
c1aa3a3f1a strip leading spaces from path 2014-02-27 16:11:52 +01:00
Hugo Trippaers
3beb75cdf1 Fix typo 2014-02-27 12:59:34 +01:00
Hugo Trippaers
a0f932437c Move mysql ha strategy to a plugin. Activate this plugin using the mysqlha profile or the noredist flag 2014-02-27 09:51:02 +01:00
Alena Prokharchyk
bb6fddf434 listVirtualMachines API: ability to search by service offering the vm is created from
listVolumes API: ability to search by disk offering the volume is created from
2014-02-26 16:56:33 -08:00
Min Chen
a6f17675d4 CLOUDSTACK-6175:s3.singleupload.max.size option not applicable for
backup snapshot on KVM.
2014-02-26 15:13:49 -08:00
Jessica Wang
f52b98b063 CLOUDSTACK-6148: UI > IP Address > load balancing > Send multiple VMs + mutliple NIC Secondary IP to new parameter "vmidipmap" of assignToLoadBalancerRule API.
Comment this part out until API change is in.
2014-02-26 15:08:33 -08:00
John Kinsella
7d8d1e9597 Last commit broke developer/pom.xml. fixing that. 2014-02-26 09:33:58 -08:00
John Kinsella
c68834635c Fix the developer database simulator deploy procedure so it includes the mysql database driver 2014-02-26 09:04:56 -08:00
Daan Hoogland
e431538b0a findbugs possible nullpointer mitigated 2014-02-26 11:56:49 +01:00
Sanjay Tripathi
624139d8ef CLOUDSTACK-6172: Volume is not retaining same uuid when migrating from one storage to another. 2014-02-26 14:42:34 +05:30
Likitha Shetty
88b5761647 CLOUDSTACK-6146. [VMware] [ESXi 5.5] Live VM migration of an already migrated VM (with storage) across clusters fails
In vCenter 5.5, once a volume is migrated the VMDKs are renamed to match the name of the VM.
Update volume path for every volume belonging to the VM to the corresponding new disk filename.

Conflicts:

	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
	plugins/hypervisors/vmware/src/org/apache/cloudstack/storage/motion/VmwareStorageMotionStrategy.java
2014-02-26 13:45:44 +05:30
Likitha Shetty
0926bf57f4 CLOUDSTACK-6146. [VMware] [ESXi 5.5] Live storage migration of an already migrated volume fails
In vCenter 5.5, once a volume is migrated the VMDKs are renamed to match the name of the VM.
If a volume has been renamed upon migration update its volumePath to that of the new disk filename.

Conflicts:

	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
	vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
2014-02-26 13:45:43 +05:30
Min Chen
b484b48201 Provide separate option for Windows Server 2012 R2 as
an OS type when registering template.
2014-02-25 16:09:29 -08:00
Joris van Lieshout
986813d973 Prevent DHCPACK for DHCPINFORM in the DHCP server
The orignal "dhcp-range=xxx,static" would only prohibit DHCPREQUEST from unknown
hosts, but not DHCPINFORM which can request routing information. This caused
trouble for some bridged networks outside CloudStack.

This patch would fix the issue, prevent dnsmasq from acking any unknown request.

Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-02-25 14:55:24 -08:00
Mandar Barve
b0c6d47347 - Updated APICommand annotation to add new flags that indicate if API request or response carry sensitive info - Updated all API classes with the new annotation flag values as per the API's sensitivity - Updated server code to check response annotation before audit logging
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit df270d6387c362b960064ee5123c14782e767a19)
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-02-25 22:59:10 +01:00
Konstantina Chremmou
f05fb9fb61 Fixed some resource files issues, namely 1) invalid text and duplicate keys resulting from bad merge and 2) trailing spaces which can potentially cause UI issues.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
Reviewed-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-02-25 22:05:06 +01:00
Laszlo Hornyak
0e3fde5107 replace String != operation with .equals
replaced the != operation performed on two String objects with ObjectUtils.equals

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-02-25 21:54:32 +01:00
Jessica Wang
80738cce05 BUG-ID: CLOUDSTACK-6162: UI > zone > physical network > service provider > add OVS.
Reviewed-by: Brian
2014-02-25 12:13:31 -08:00
miguelaferreira
ef547108dd NetUtils testing
- Refactor tests:
  - Upgrade tests to use jUnit4
  - Add hamcrest dependency (contribution of by Laszio Hornyak)
  - Break big tests in small unit tests
  - Replace assertTrue/False with complex conditions by assertThat with
specific matchers
- Remove dead code:
  - Private static method never called locally
- Add test for method that validates cidrs

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-02-25 19:23:13 +01:00
Hugo Trippaers
169cd6f939 Prevent any attempt at using askpass during management server startup 2014-02-25 16:02:48 +01:00
Hugo Trippaers
afc188cb5c Forward port the fix by David from 0c2ad0338e34f6117cecc24ec00c7746dd481465 2014-02-25 15:18:16 +01:00
wrodrigues
3a7e4103fc FindBugs findings: fixing equals() methods in 2 classes; commenting out dead variable in 1 class; adding 5 tests to cover the changes in the equals() methods.
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-02-25 15:18:16 +01:00
Wido den Hollander
abf3c055c2 templates: Add FreeBSD 10 template
With VirtIO enabled on KVM. FreeBSD 10 supports VirtIO for both the
network and the disks. This frees us from IDE and E1000 which should
also improve performance.
2014-02-25 14:56:24 +01:00
Hugo Trippaers
bb23e3ac1f Update the XenServer library to version 6.2.0-1 in the poms. 2014-02-25 12:30:46 +01:00
Hugo Trippaers
7aa70fe82a Fix jetty:run startup to include the mysql driver as a dependency for developers 2014-02-25 12:30:46 +01:00
Niels de Vos
14689d7810 Gluster should store volumes in qcow2 format
By default all network disks are in RAW format. Gluster works fine with
QCOW2 which has some advantages.

Disks are by default in QCOW2 format. It is possible to run into
a mismatch, where the disk is in QCOW2 format, but QEMU gets started
with format=raw. This causes the virtual machines to lockup on boot.

Failures to start a virtual machine can be verified by checking the log
of the virtual machine, and compare the output of 'qemu-img info'.

In /var/log/libvirt/qemu/<VM>.log find the URL for the drive:

    -drive file=gluster+tcp://...,format=raw,..

Compare this with the 'qemu-img info' output of the same file, mounted
under /mnt/<pool-uuid>/<img-uuid>:

    # qemu-img info /mnt/<pool-uuid>/<img-uuid>
    ...
    file format: qcow2
    ...

This change makes passes the format when creating a disk located on RBD
(RAW only) and Gluster (QCOW2).

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2014-02-25 12:08:46 +01:00
Niels de Vos
c02197ae86 Add Gluster to the list of protocols in the Management Server
Gluster can now be used for Primary Storage just like NFS. This change adds the
Gluster protocol to the Management Server:

    Infrastructure -> Primary Storage -> Add Primary Storage

And also add the option to create Primary Storage on Gluster when
following the 'Add Zone' wizard from:

    Infrastructure -> Zones -> Add Zone

Some screenshots and verification:
- http://blog.nixpanic.net/2013/12/using-gluster-as-primary-storage-in.html
2014-02-25 12:08:46 +01:00
Hugo Trippaers
e883877c7a Fix the developer database deploy procedure so it includes the mysql database driver 2014-02-25 11:58:02 +01:00
Sanjay Tripathi
505da760e0 CLOUDSTACK-6058: XenServer 6.2sp1 xenapi customization as per CloudStack resource code.
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-02-25 08:56:58 +01:00
Sanjay Tripathi
2ff9abadf6 CLOUDSTACK-6058: New XenServer 6.2sp1 SDKs
This commit replaces old XenServer SDKs with lastet XenServer release
i.e. 6.2sp1 SDKs. This SDK also includes new class "VGPU" to support
vGPU functionality in XenServer.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-02-25 08:55:53 +01:00
Hugo Trippaers
d1efdca506 Findbugs: Fix Upgrade430to440.java:119, ES_COMPARING_STRINGS_WITH_EQ,
Priority: High
2014-02-24 17:01:04 +01:00
Hugo Trippaers
52c4f00b26 Findbugs: Fix potential NPE 2014-02-24 14:07:33 +01:00
Hugo Trippaers
6b61fd7d09 Fix CID 1186644: ES: Checking String equality using == or != 2014-02-24 14:06:40 +01:00
Rajesh Battala
f960ada36e CLOUDSTACK-6159 Fixed creating volumes(Root, DataDisk) with uuid in primary store 2014-02-23 09:21:30 +05:30
Alena Prokharchyk
e42e8762ea Fixed allocatePublicIp call done from CiscoVnmcElement 2014-02-21 21:03:04 -08:00
Sheng Yang
c0ed0b7819 CLOUDSTACK-6047: Make VR LB script accept a file name
Rather than default filename everytime since in aggregated commands the file
would be overrided if the filename is same.
2014-02-21 18:26:42 -08:00