16277 Commits

Author SHA1 Message Date
Edison Su
cc25e58dc2 move copy scripts after classes folder is created 2013-02-25 14:06:30 -08:00
Sebastien Goasguen
d4bada3a5e Docs: Fixing NFS shares setup 2013-02-25 16:51:02 -05:00
Hugo Trippaers
02192db9a3 Package awsapi into the cloudstack-bridge package 2013-02-25 22:26:27 +01:00
Sebastien Goasguen
b174165445 Docs: Fix for CS-1300 2013-02-25 14:44:04 -05:00
Sebastien Goasguen
1dc25f25c5 Docs: Fixing issues 2013-02-25 14:25:53 -05:00
Sebastien Goasguen
3424212638 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-02-25 14:06:55 -05:00
radhikap
bf9ff8c4f6 cloudstack-462
Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2013-02-25 13:57:21 -05:00
Edison Su
310e99087f CLOUDSTACK-1380: add db upgrade for vm_template, in 4.1 to 4.2 upgrade procedure 2013-02-25 10:45:04 -08:00
Brenn Oosterbaan
c30da35811 Commit review 9586
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-25 14:40:15 +01:00
Vijayendra Bhamidipati
6675d2c1a3 CLOUDSTACK-778: user provided hostname to be specified in vCenter instead of CloudStack generated name
Introducing flag to allow display name to be appended to internal instance name.
2013-02-25 18:57:18 +05:30
Kishan Kavala
15201d908f CLOUDSTACK-749: updated mockvpcdao mockvpcmanagerimpl with external device related changes 2013-02-25 18:54:30 +05:30
Kishan Kavala
836ce6c11a CLOUDSTACK-749: External device support for VPC. VPC offering can be created with providers other than VPCVirtualRouter 2013-02-25 18:32:23 +05:30
Deepti Dohare
4d573ddd1b CLOUDSTACK-357 ISOs can be deleted while still attached to a running VM, and they subsequently cannot be detached from a running VM
I made the changes to make sure that:
1. ISO will be deleted from the UI, but it is not deleted from the secondary storage as long as it is attached to a VM.
2. The storage cleanup thread will check whether the iso is attached to any vm, if not, it removes the ISO from the secondary storage.
3. Detach operation is now working which was failing before for the vms having attached iso(deleted).

Updated the patch for template sync during MS restart.

Manually tested the following:
setup: upload ISO1 and ISO 2
Attach ISO1 to VM1 and VM2
Attach ISO2 to VM3
set storage.cleanup.interval to 300

test cases:
1. delete ISO1 from UI, gets deleted
2. In VM Details of VM1 and VM2, can see detach ISO option
3. ISO1 exists in secondary storage
4. detach ISO1 from VM1, successful
5. ISO1 still exists in secondary storage.
6. Restart MS, template sync will not delete ISO1.
7. Detach ISO1 from VM2, successfull detached.
8. Wait for storage cleanup thread to execute, ISO1 gets deleted from Secondary storage.
9. Detach ISO2 from VM3
10.ISO2 exists in secondary storage, Delete ISO2 form UI, get deleted from secondary storage.
2013-02-25 16:02:25 +05:30
Noa Resare
fe9df2186b Have cloud-setup-* tools detect Debian
To minimize this change, treat Debian as Ubuntu for now.

Reviewed-by: Wido (https://reviews.apache.org/r/9310)
2013-02-25 12:32:25 +05:30
Sanjay Tripathi
a4398af353 CloudStack-1371 : In case of ResourceAllocationException, server is not returnig any response.
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2013-02-25 14:05:33 +08:00
Rohit Yadav
a32c6d5c9d db: Fix deploydb, make sure scripts are in path
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-25 11:00:56 +05:30
Rohit Yadav
357b4e63ac Revert "make the create database work"
This reverts commit 1c77ae62374f2d1a064726bb7bcf1814a0c0b1ff.
2013-02-25 11:00:56 +05:30
Prasanna Santhanam
f5ba9137cc Back to the old expunge logic
The expunge interval and delay are respected and no additional delays
are introduced.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-25 10:59:02 +05:30
Ricardo P. Katz
c1e47ad329 Changed the cloud.spec to use the right version on cloudstack-common requirement 2013-02-24 20:19:00 -05:00
Alex Huang
ac1b529f78 Revert "Revert "Fix fresh db install problem. (still pending one part of finding db""
This reverts commit ebcf6b1b7cd5175ee826bdfb1443d96fd0a2f9b8.
2013-02-23 19:16:13 -08:00
Alex Huang
1c77ae6237 make the create database work 2013-02-23 19:07:22 -08:00
Min Chen
ebcf6b1b7c Revert "Fix fresh db install problem. (still pending one part of finding db"
This reverts commit 5b760f903f1a3145f62d05c1d3c142b710248026.
2013-02-22 21:38:15 -08:00
Min Chen
5b760f903f Fix fresh db install problem. (still pending one part of finding db
script file correctly).
2013-02-22 18:01:55 -08:00
Sheng Yang
f87759dabe IPv6: Enable specifying ipv6 address in DeployVMCmd 2013-02-22 14:25:48 -08:00
Hugo Trippaers
8761a1d0db CLOUDSTACK-1373: Fix regression in db-schema due to recent branch merges
Missed a few lines, did someone mention something about testing
recently?
2013-02-22 22:30:28 +01:00
Brian Federle
df0039368b Fix missing 'add' action on instances page 2013-02-22 11:21:59 -08:00
Jessica Wang
ff4a54ce68 CLOUDSTACK-1319: cloudstack API - CreateVpnCustomerGateway API: correct parameter type on server-side. 2013-02-22 10:40:00 -08:00
Chiradeep Vittal
d784e7b5fe Fix broken build: apidocs had been commented out for some strange reason
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-02-22 10:13:30 -08:00
Chip Childers
4b161e5410 Correcting the license header problem that was introduced with commit
23e54bb0f4c64735bb34413ea26ea1804c846ff5

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-22 11:06:47 -05:00
Hugo Trippaers
1ad363e44a CLOUDSTACK-1373: Fix regression in db-schema due to recent branch merges
related to commit 5f8a2ee9be490f7ecf7ada2e0847e76ac5b81fed. The field image_data_store_id should not be used in templates.sql as  it does not exist yet. Should be filled during the upgrade from 4.1 to 4.2, but i'm leaving that to Edison.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-22 16:22:17 +01:00
radhikap
6250c85912 resize volume
Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
Signed-off-by: Joe Brockmeier <jzb@zonker.net>
2013-02-22 09:08:09 -06:00
Bharat Kumar
667aa17512 CLOUDSTACK 711: CPU and RAM overcommit update cluster part 2013-02-22 20:09:50 +05:30
Rohit Yadav
54f7933f11 CLOUDSTACK-1355: Don't check foreign key constraint during db upgrades
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-22 19:28:07 +05:30
Rohit Yadav
5f8a2ee9be CLOUDSTACK-1373: Fix regression in db-schema due to recent branch merges
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-22 19:15:01 +05:30
Hugo Trippaers
bc4abcf14d Capture stderr and stdout of the jsvc run services (agent and usage) 2013-02-22 14:13:57 +01:00
Pranav Saxena
55d67a0ff0 Merge branch 'Commit-Ratio' 2013-02-22 18:09:39 +05:30
Pranav Saxena
ab24e84191 Cpu and Memory overcommit ratio Ui integration 2013-02-22 18:06:59 +05:30
Bharat Kumar
23e54bb0f4 Cloudstack-711: Cpu and Ram Overcommit Ratio. 2013-02-22 17:31:06 +05:30
Saksham Srivastava
ea3db2f073 CLOUDSTACK-705 IP Address reservation for Isolated Guest Networks
CloudStack uses Guest CIDR for dhcp-range for the Guest VMs. The entire
CIDR is used by CloudStack for assigning IPs to Guest VMs. IP Address
Reservation will allow part of address space to be used fornon CloudStack
hosts/physical servers also, by restricting the address space of CloudStack
Guest VMs. Reservation can be configured using update Network API by specifying
guestvmCidr as an additional parameter. Reservation will be applicable for
Isolated Guest Networks including VPC. reservediprange in the response
will return the IP range that can be used for non Cloudstack hosts.

Tested manually the following scenarios:
Applying reservation when there are running VMs inside the
guest_vm_cidr.
Applying reservation when there are running VMs outside the
guest_vm_cidr.(not allowed)
Applying reservation when external device like Netscaler is configured
in the guest_cidr.
Applying reservation in VPC tiers.
Applying reservation outside the range of guest_cidr.(not allowed)
2013-02-22 15:50:33 +05:30
Mice Xia
79fee523bd CloudStack CLOUDSTACK-774 add baremetal related class declaration in nonossComponentContext.xml 2013-02-22 15:56:54 +08:00
Rohit Yadav
e0008844df client: Remove duplicate baremetal dependency, regression from 1f15c1e9
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-22 11:38:54 +05:30
Rohit Yadav
200f89d801 api: UUID entity type should be for Long fields, fix regression from a22403ed
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-22 11:37:49 +05:30
Mice Xia
dae57c1ab2 add missing license header reported by rat 2013-02-22 13:22:14 +08:00
Sheng Yang
a0762bc4a7 CLOUDSTACK-1303: Fix NPE when extend vlan with ipv4 only 2013-02-21 18:02:50 -08:00
Prachi Damle
6823adb3ac CLOUDSTACK-1367 NPE noticed in logs while AgentMonitor is monitoring the host ping interval
Added null check. If the host is not found, we dont ping anymore.
2013-02-21 17:40:08 -08:00
frank
1689062334 remove BareMetalVmManagerImpl.java thiat is unused 2013-02-21 17:05:19 -08:00
Edison Su
3bb713c5ce fix adding nfs primary storage and build and load 2013-02-21 16:24:39 -08:00
frank
8a523476ec CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

remove workaround for unable to deploydb
remove wrongly added region upgrade entries
2013-02-21 15:48:26 -08:00
frank
8855d793ee CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

pass host id to baremetal discover when mgmt loads existing hosts
2013-02-21 15:48:20 -08:00
frank
15ead099a1 CloudStack CLOUDSTACK-774
Supporting kickstart in CloudStack baremetal

able to start vm

Conflicts:

	client/tomcatconf/componentContext.xml.in
	server/src/com/cloud/baremetal/BareMetalTemplateAdapter.java
	server/src/com/cloud/baremetal/BareMetalVmManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2013-02-21 15:48:08 -08:00