Commit Graph

19486 Commits

Author SHA1 Message Date
Hiroaki KAWAI f854f5df87 fix debian packaging
nfs-common is required for a basic NFS installation both in
management server and agent.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-05-27 14:54:07 +09:00
Prasanna Santhanam 16e9eaca80 unskipping skipped tests
and indentation fixes

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-27 10:10:01 +05:30
Prasanna Santhanam 61e150fd58 More non-ascii encoded characters in commented text
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-26 20:10:46 +05:30
Prasanna Santhanam a4a50a0b53 Remove unused setup script
- All the setup is now done by the tests and there is no need for a
  setup script to seed test data.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-26 15:32:17 +05:30
Wido den Hollander 2db7a4559e debian: Only package specified configuration files for management
Otherwise we will have duplicate / conflicting files with the AWSAPI package
2013-05-26 12:00:52 +02:00
Prasanna Santhanam f13a3c5d32 More tests using the dsl iso
Replace dsl iso with dummy iso to speed up test

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-26 15:29:45 +05:30
Prasanna Santhanam 1df3aad9ab Use a dummy ISO and skip SSH check
- Using the dummy.iso to speed up the test
- Removing ssh that is not required.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-26 15:26:33 +05:30
Wido den Hollander 322db71eed agent: Only probe running VMs for the current Hypervisor Type
Otherwise we try to probe for LXC VMs on a KVM hypervisor and vise versa.
2013-05-26 11:38:41 +02:00
Prasanna Santhanam 5b902c7005 CLOUDSTACK-2683: DevCloud systemVMs fail to launch
DevCloud is a XCP Kronos based xen. For this we use the XcpOssResource
whose memory limits were not set explicitly. Instead the base
CitrixResourceBase would set the limits. static_min was set to 128MB
failing the cpvm and ssvm start fails whose offerings have 100MB set to
the max limits.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-26 14:49:52 +05:30
Min Chen 27133fba7d Simplify clean up snapshots logic in secondary storage and consolidate
to use one agent command DeleteSnapshotBackupCommand for snapshot
deletion task by removing CleanupSnapshotBackupCommand.
2013-05-25 20:48:15 -07:00
Hiroaki KAWAI dc822a83d7 fix debian packaging
*.in files must be processed by ReplaceTokens fliter.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-05-26 00:45:37 +09:00
Rohit Yadav 51879dd958 INSTALL: Update INSTALL.md with newer links
- Fix Maven 3.0.5 link
- Remove references of incubating, we are TLP now :)
- Fix github mirror link and git clone url

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-05-25 20:44:59 +05:30
Rohit Yadav 056e8fb533 cli: Make cachemaker.py pep8 compliant
Fixes object comparision to use a "is" b instead of ==

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-05-25 20:32:10 +05:30
Prasanna Santhanam a4356b559c More fixes to regression tests:
- Remove extraneous non-ascii chars
- cloudconnection is auto GCed. No explicit cleanup required.
- Add environment tags for shared network tests
- Invalid account.account references
- Indentation errors
- Skip the storage motion test on unsuitable host environment
- remove copy template test. covered in the smoke tests
- invalid keys in service dictionary
- Unskipping tests skipped tests
-
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-25 15:40:42 +05:30
Edison Su 0ed441c690 CLOUDSTACK-2637: fix upload volume 2013-05-24 19:00:52 -07:00
Sheng Yang a21a4e5ac4 CLOUDSTACK-2682: Sleep 1 second before switch to BACKUP
To prevent backup.sh preempt master.sh when keepalived switch to MASTER then
back to BACKUP immediately.

Since it would take at least 3 seconds for BACKUP to switch to MASTER(vrrp
timeout), the fix won't cause chaos when keepalive try to switch to MASTER.
2013-05-24 17:10:55 -07:00
Sheng Yang e3a3286758 CLOUDSTACK-2681: Suppress failed to apply port forwarding rule error when rollback 2013-05-24 17:08:31 -07:00
Sheng Yang a1437ae82e CLOUDSTACK-2563: Network ACL: Allow protocol 1(icmp) paired with icmp type/code 2013-05-24 16:46:44 -07:00
Jessica Wang d99fae07c7 CLOUDSTACK-747: Infrastructure menu - service providers - change display name of internalLbVm to be Internal LB VM. 2013-05-24 16:36:45 -07:00
Jessica Wang 7cc1e82210 CLOUDSTACK-1974: Dedicate Guest VLAN Range - UI - Infrastructure menu - physical network - Guest - Release Dedicated VLAN Range action - change label and message. 2013-05-24 16:17:39 -07:00
Jessica Wang 11a7e46dfb CLOUDSTACK-1974: Dedicate Guest VLAN Range - UI - Infrastructure menu - physical network - Guest - Dedicated Guest VLAN Range tab - implement Release Dedicated VLAN Range action. 2013-05-24 15:45:10 -07:00
Jessica Wang b247ba6b4f CLOUDSTACK-1974: Dedicate Guest VLAN Range - UI - Infrastructure menu - physical network - Guest - devailView - (1) add new tab "Dedicated VLAN Ranges" that list dedicated Guest VLAN Ranges under the physical network. (2) implement "Dedicate Guest VLAN Range" action. 2013-05-24 15:24:00 -07:00
Alena Prokharchyk 2ecf9e3293 CLOUDSTACK-2680: Async job expunge thread - expunge only:
1) Unfinished jobs that are yet to be processed.
2) Completed jobs

The jobs that are in process, will be skipped by the expunge thread

Conflicts:
	server/src/com/cloud/async/dao/AsyncJobDao.java
	server/src/com/cloud/async/dao/AsyncJobDaoImpl.java
	server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-05-24 15:01:12 -07:00
Min Chen c609bc0541 Not reuse already destroyed entries in template_store_ref to make code
cleaner.
2013-05-24 14:34:56 -07:00
Min Chen 9e1a9bfd4b Fix a bug in attachIsoToVM for S3. 2013-05-24 14:24:23 -07:00
Min Chen 863b534066 Copy iso from S3 to Cache in attach iso to VM. 2013-05-24 13:56:08 -07:00
Brian Federle 2a966f35ff Another fix for before: {} block 2013-05-24 13:10:31 -07:00
Brian Federle 72fa89eb7a Fix for dashboard items without before: {} block 2013-05-24 13:07:42 -07:00
Brian Federle cd7287a4e1 Site-to-site VPN UI: Show confirm dialog if no gateways exist 2013-05-24 13:06:51 -07:00
Brian Federle 6f65a5bbe7 Update gitignore 2013-05-24 12:07:13 -07:00
Brian Federle 489396940e Update gitignore 2013-05-24 12:06:58 -07:00
Brian Federle 52a4962f4d If no tiers are present, show add tier dialog on load 2013-05-24 12:06:09 -07:00
Min Chen 89f351c2e5 Clean up template sync code, and update template state in template sync
phase instead of doing it in adding image store.
2013-05-24 11:56:36 -07:00
Min Chen c614c6a424 CLOUDSTACK-2674: Secondary Storage garbage collector failed with NPE in
case of S3 storage provider.
2013-05-24 11:10:45 -07:00
Brian Federle f3cc57f82e Merge branch 'master' into ui-vpc-redesign 2013-05-24 11:09:27 -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
Min Chen 3c7fb2f790 Use template_view.state column to indicate readiness of a template. 2013-05-24 09:50:40 -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