16545 Commits

Author SHA1 Message Date
Prasanna Santhanam
b899789665 rat-check: couple more in awsapi need exclusion
awsapi/ .info files aren't needed either.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-07 14:52:10 +05:30
Prasanna Santhanam
81a42b9591 rat check: exclude the WEB-INF directories in check
WEB-INF directories will carry generated code so exclude them.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-07 14:35:53 +05:30
Joe Brockmeier
7fde298887 CLOUDSTACK-987: Added missing sections for working with snapshots. 2013-03-07 00:58:38 -06:00
Joe Brockmeier
0c7f5f2796 CLOUDSTACK-397: Fixed guest traffic diagram. 2013-03-07 00:00:06 -06:00
Sheng Yang
27ba0208f0 CLOUDSTACK-1315: Fix NPE when try to upgrade network from VR to SRX-F5
Still return a valid object when reverting non-existed rules.
2013-03-06 16:49:44 -08:00
Min Chen
e31cd2b3d2 CLOUDSTACK-1402: listRouters API response doesn't return linklocal IP and public IP details. 2013-03-06 11:31:52 -08:00
Pranav Saxena
aa40c7ee98 CLOUDSTACK-1407:add primary storage screen throught UI doesn't have scope field 2013-03-07 00:03:30 +05:30
Wido den Hollander
5b6a4a68c4 debian: Use some more variables in the rules file
Makes changes easier and it less hard coded.
2013-03-06 19:26:18 +01:00
Wido den Hollander
9e02ed139f packaging: Include the Agent plugins dir in the classpath
For both the RPM and DEB packages are new directory for plugins
for the agent is created.

All JAR files in that directory will be added to the classpath
on boot of the agent.
2013-03-06 19:26:18 +01:00
Wido den Hollander
03bc74bd50 debian: Only include JAR files into the classpath 2013-03-06 19:26:18 +01:00
Hiroaki Kawai
19c6d8054b CLOUDSTACK-1535: kvm agent will silently ignore many exceptions
Current kvm agent will silently ignore many exception, and there's no
way to see what really happened. This patch will log in trace level log
that was silently ignored. And also, it will fix huge bare Exception
catch, which is very harmful because it also catches RuntimeException.
2013-03-06 10:22:44 -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
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