16547 Commits

Author SHA1 Message Date
Brian Federle
a48bf0969e Fix VM select IP drop-down for PF/LB UI 2013-03-07 15:06:54 -08:00
Brian Federle
e046364cce LB/PF/NAT UI: Support secondary IP selection
During selection of a VM for LB/PF/Static NAT, show dropdown to select
which secondary IP will apply for the rule being created.
2013-03-06 14:37:26 -08:00
Brian Federle
ed7ebf57cc List view: Add event hook on add row
Adds new event 'cloudStack.listView.addRow' which is triggered after new
data row is appended. It passes the table row ($tr) in the data.
2013-03-06 13:48:49 -08:00
Brian Federle
f24ee207c4 Multiple NICs UI: Refactor list view/detail view
Puts secondary IP list view and detail view in dedicated section,
instead of as part of the public IP address section.

Removes conditional API calls from public IP address list/detail view
for secondary NICS.
2013-03-06 12:13:00 -08:00
Brian Federle
4469e6b859 Multiple NICs UI: Fix list view data 2013-03-06 11:26:38 -08:00
Brian Federle
2f03e55bbb Merge branch 'master' into ui-multiple-nics 2013-03-06 09:59:36 -08:00
Wido den Hollander
a4521551a3 agent: Log4j should not be initialized in the main method
Since we use JSVC we don't execute the main method, but it is still
there for manually running the Agent.

Initializing log4j in the start method makes sure it also works with JSVC
2013-03-06 16:42:38 +01:00
Rohit Yadav
a1ca7e09ca rat: Fix license header on DataCenterLinkLocalIpAddressDao.java
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-06 18:46:33 +05:30
Rohit Yadav
15b5b7e7a3 CLOUDSTACK-1417: cosmetics, print param name, value for uuid->id translate error
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-06 17:55:40 +05:30
Rohit Yadav
cc9b7d4c20 cloudmonkey: print sync stats, asks users to use sync
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-06 17:21:32 +05:30
Milamber
38aec6fc4d CLOUDSTACK-465 - French language file quotes are dropping javascript syntax errors 2013-03-06 06:09:16 -05:00
Rohit Yadav
bb2c7dc728 CLOUDSTACK-1340: Fix grub2 cfg to boot without waiting, fix locale
Thanks to Marcus for testing and helping on KVM template, adding locale fix as
per Marcus's suggestion. Tested with latest build on my local vbox.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-06 14:21:06 +05:30
Talluri
9342f561f7 CLOUDSTACK-1530: Fix integration test scripts in the components folder for imports and ostypeid Fix the integration scripts for nose import and ostypeid corrections
from nose.plugins.attrib import attr

"ostype": 'CentOS 5.3 (64-bit)',

        template = get_template(
                            cls.api_client,
                            cls.zone.id,
                            cls.services["ostype"]
                            )

Signed-off-by: Talluri <Srikanteswararao.Talluri@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-06 13:45:07 +05:30
Hugo Trippaers
713dff537b Fix rpm build after commit 4d7dced2f892f6bd42df097e6d556ca1f26e8ec6 2013-03-06 08:30:12 +01:00
Hiroaki Kawai
0fd30af5f8 Remove invalid use of internal library class in VmwareContext. 2013-03-05 22:12:31 -08:00
Min Chen
9aa624a039 Revert "Temporarily disable the code to retrieve session cookie from WS call for"
This reverts commit dad20a27537f424abc528a723fe1d308b88ab5ad.
2013-03-05 22:02:27 -08:00
Min Chen
dad20a2753 Temporarily disable the code to retrieve session cookie from WS call for
volume snapshot functionality to make vmware code compilable from JDK7.
2013-03-05 21:54:21 -08:00
Radhika PC
00cd9d5d6f cloudstack-890 and cloudstack 815 2013-03-06 10:48:19 +05:30
Venkata Swamybabu Budumuru
cdae53a289 CLOUDSTACK-1514 : Unable to remove secondary ips though there are no PF rules associated with it
Fixed the search filter in PortForwardingRulesDaoImpl.java. Earlier we were
passing a wrong filter parameter "address" in listByDestIpAddr which doesn't
exist. Changed this to the right search criteria that uses dstIp as filter
parameter.

Signed-off-by: Venkata Swamybabu Budumuru <venkataswamybabu.budumuru@citrix.com>
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-03-06 10:28:37 +05:30
Kelven Yang
0b84958a66 Fix an out-dated unit test assertion 2013-03-05 19:47:37 -05:00
Kelven Yang
f077fd9b29 Make RecreatableFencer's constructor public so that it can instantiated through reflection 2013-03-05 19:03:31 -05:00
Kelven Yang
cc91d826df Fix conflicts in storage subsystem with Spring 2013-03-05 19:03:31 -05:00
Kelven Yang
3f2b771e07 CLOUDSTACK-1173: fix the regression caused by life-cycle management changes 2013-03-05 19:03:30 -05:00
Kelven Yang
333dd810d2 CLOUDSTACK-1339: Using Sping interface injection pattern to avoid using CGLIB proxying mode. Spring with CGLIB proxying will concflict with CGLIB usage in CloudStack DB code, CloudStack CGLIB usage can cause Spring to lose tack of its proxied object and therefore creates a massive amount of objects in memory 2013-03-05 19:03:30 -05:00
Kelven Yang
72e6fd6e8d CLOUDSTACK-1362: Put a workaround fix to set excutable attribute of injectkys.sh at runtime 2013-03-05 19:03:30 -05:00
Sheng Yang
7602997b90 CLOUDSTACK-1521: Stop services after switch to BACKUP 2013-03-05 15:58:57 -08:00
Sheng Yang
dd721a832a CLOUDSTACK-1522: Add timestamp to lock
Use higher precision timestamp rather than file timestamp to find out the order
of lock requester
2013-03-05 15:58:57 -08:00
Marcus Sorensen
d81f7156dc Summary: KVM - Add virtio-serial device to libvirt xml for system vms
Detail: This device can be used for remotely controlling the system vms through
a local socket on the host. We will attempt to replace the KVM patchdisk with
it. Tested, successfully deploys VM, and if system vm has proper driver it
will create a /dev/vport0p1 device within the VM. We will be updating the
system VM in 4.2/5.0 and will support this.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1362527352 -0700
2013-03-05 16:49:12 -07:00
Min Chen
33757377c0 CLOUDSTACK-1465: We should pass array instead of a List for SearchCriteria.Op.IN as value. 2013-03-05 14:20:55 -08:00
Marcus Sorensen
7dbea68b87 Summary: Wait for VPC router nics to hotplug before assigning IPs
Detail: CLOUDSTACK-1452, CLOUDSTACK-1523 - When rebooting VPC routers, ip addr
assignment was inconsistent, sometimes the assignment would be attempted while
router was still setting up nic device. This adds a watch for the nic to show
up before attempting to add an ip to a nic.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1362521453 -0700
2013-03-05 15:10:53 -07:00
Sebastien Goasguen
9f180e485a Docs: CLOUDSTACk-825 cloudmonkey docs 2013-03-05 16:33:23 -05:00
Jessica Wang
f9e94873d8 CLOUDSTACK-452: cloudstack UI - IPv6 - quick installer - rename fields in quick installer to be consistent with fields in zone wizard. 2013-03-05 12:07:55 -08:00
Brian Federle
fb8f33d2c7 Merge branch 'master' into ui-multiple-nics 2013-03-05 10:37:17 -08:00
Min Chen
9c5c4753e9 CLOUDSTACK-1484: provide api.throttling.enabled gloabl configuration settings to enable/disable api throttling feature. 2013-03-05 09:44:09 -08:00
Min Chen
5750fd9631 CLOUDSTACK-1190: make APIChecker throw one sensible exception. 2013-03-05 09:44:08 -08:00
Wido den Hollander
579b02756f debian: Change the homedir of the user 'cloud' 2013-03-05 16:10:38 +01:00
Wido den Hollander
c56de5e345 debian: Copy Agent configuration from old to new location
We copy some files automatically so the admin doesn't have to
worry about the upgrade.
2013-03-05 16:10:38 +01:00
Wido den Hollander
4d7dced2f8 rpm: Place the KVM Agent JAR in the lib directory
All JAR files should go into the lib directory, that also
makes building the classpath easier.
2013-03-05 16:10:38 +01:00
Wido den Hollander
72c4d6a873 packaging: Sync RPM and DEB init scripts Agent
The RPM init script was lacking some things, it is synced
now with the DEB init script.

Both prefer Java 7 over Java 6 and add the correct JAR files to the
classpath.
2013-03-05 16:10:38 +01:00
Wido den Hollander
e14e057f3d packaging: Use the JNA version from the distribution
Libvirt-java 0.4.9 works just fine with JNA 3.2.4 which is in
all distributions.

Future libvirt version require at least JNA 3.5.1 due to new methods
and memory management, but that is not our concern now.

By depending on the JNA in the distribution and adding it to the classpath
we can work just fine.
2013-03-05 16:10:38 +01:00
Brenn Oosterbaan
e8b6f66582 Review 9647: In some storage failure scenario’s the NFS timeout can
cause writing the heartbeat to take longer than expected. By comparing
the last successful heartbeat epoch with the current epoch we check if
the timeout value has been met.
2013-03-05 15:38:54 +01:00
Sebastien Goasguen
9a1c778cc0 Docs: Marvin build typo 2013-03-05 09:36:27 -05:00
Rohit Yadav
34b37ef8ed CLOUDSTACK-1340: Compress QCOW2 for KVM
As suggested by Marcus, by compression qcow2, we end up having smaller disk image.
I'm still archiving the qcow2 as bz2 because our installation manual still ask
users to cloud-install-sys-tmplt which expects a *.qcow2.bz2

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-05 18:35:09 +05:30
Venkata Swamybabu Budumuru
5b8f0791ec Accounts can hold multiple vnets. Same vnets can exist across multiple pnets. It is sufficient to constrain a single vnet in a given pnet within a datacenter. i_op_dc_vnet_alloc__vnet__data_center_id covers all use cases for the table.
Having `i_op_dc_vnet_alloc__vnet__data_center_id__account_id` will restrict
same account holding the same vnet across different physical networks.

Signed-off-by: Kishan Kavala <kishan@cloud.com>
2013-03-05 13:59:02 +05:30
Prasanna Santhanam
b683c34d3f Fix the typo in componentContext.xml.in
HypervisorTemplateAdapter was mispelt causing server to not startup.

Reported-by: Dave Cahill <dcahill@midokura.net.jp>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-05 13:51:06 +05:30
Min Chen
88355b9457 Merge branch 'vim51_win8' 2013-03-04 18:03:49 -08:00
Min Chen
613a061977 Merge branch 'master' into vim51_win8
Conflicts:
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
2013-03-04 17:32:52 -08:00
Edison Su
69678c82ac suddenly, maven can't build this java file 2013-03-04 17:23:27 -08:00
Alena Prokharchyk
7a54458e17 CLOUDSTACK-1502 Fixed the api-doc build component caused by new API commands:
addIpToNic
removeIpFromNic
listNics

1) Removed trailing whitespaces from commands.properties file for the commands above
2) Created a new category "Nic" in gen_toc.py for the new commands
2013-03-04 16:19:08 -08:00
Min Chen
48aa035a71 CLOUDSTACK-1449: listAccounts and listProjectAccounts API lists all the users not account-specific users for each account returned. 2013-03-04 14:42:32 -08:00