Cloudstack Source code
Go to file
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
agent CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms 2013-02-20 16:42:56 +05:30
agent-simulator/tomcatconf Simulator: moving hypervisor simulator into plugin 2012-12-22 13:02:57 -08:00
api CloudStack-1371 : In case of ResourceAllocationException, server is not returnig any response. 2013-02-25 14:05:33 +08:00
awsapi CLOUDSTACK-1362: EC2 dns-name filter support for EC2 describeInstances API is broken 2013-02-21 14:01:52 -08:00
awsapi-setup Moved Awsapi (EC2/S3) from Hibernate framework to CloudStack Generic Dao Framework 2012-08-31 11:44:58 -07:00
build Remove the last remnants of the old build system 2013-02-02 13:55:38 +01:00
client CloudStack CLOUDSTACK-774 add baremetal related class declaration in nonossComponentContext.xml 2013-02-22 15:56:54 +08:00
cloud-cli small fix to make this work with spaces in names 2012-09-22 13:43:57 +02:00
core rebase to master 2013-02-21 11:22:49 -08:00
debian Have cloud-setup-* tools detect Debian 2013-02-25 12:32:25 +05:30
deps CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms 2013-02-20 16:42:56 +05:30
developer db: Fix deploydb, make sure scripts are in path 2013-02-25 11:00:56 +05:30
docs resize volume 2013-02-22 09:08:09 -06:00
engine fix adding nfs primary storage and build and load 2013-02-21 16:24:39 -08:00
framework rebase to master 2013-02-21 11:22:50 -08:00
packaging Changed the cloud.spec to use the right version on cloudstack-common requirement 2013-02-24 20:19:00 -05:00
patches CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms 2013-02-20 16:42:56 +05:30
plugins CLOUDSTACK 711: CPU and RAM overcommit update cluster part 2013-02-22 20:09:50 +05:30
python Have cloud-setup-* tools detect Debian 2013-02-25 12:32:25 +05:30
scripts add missing license header reported by rat 2013-02-22 13:22:14 +08:00
server CLOUDSTACK-357 ISOs can be deleted while still attached to a running VM, and they subsequently cannot be detached from a running VM 2013-02-25 16:02:25 +05:30
services CLOUDSTACK-1273: Fixed the problem with the paths on the systemvm 2013-02-20 12:37:34 -08:00
setup CLOUDSTACK-1373: Fix regression in db-schema due to recent branch merges 2013-02-22 22:30:28 +01:00
test Back to the old expunge logic 2013-02-25 10:59:02 +05:30
tools Fix broken build: apidocs had been commented out for some strange reason 2013-02-22 10:13:30 -08:00
ui Fix missing 'add' action on instances page 2013-02-22 11:21:59 -08:00
usage CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms 2013-02-20 16:42:56 +05:30
utils db: Fix deploydb, make sure scripts are in path 2013-02-25 11:00:56 +05:30
vmware-base Cloudstack-711: Cpu and Ram Overcommit Ratio. 2013-02-22 17:31:06 +05:30
.gitignore Added back in the .project ignore setting 2013-01-08 14:11:28 -08:00
CHANGES Changed link to docs from docs.cs.o to i.a.o/cs/docs 2012-10-09 17:03:34 -04:00
DISCLAIMER Adding DISCLAIMER, LICENSE and NOTICE files (incomplete) 2012-08-07 14:52:03 -04:00
INSTALL.md INSTALL.md: Update port info with better summary and fix building section 2013-02-08 13:53:24 +05:30
LICENSE CLOUDSTACK-625: Correcting legal documentation for the require.js file 2013-02-15 10:24:16 -05:00
NOTICE CLOUDSTACK-1233: Fixed veewee config file legal documentation 2013-02-11 21:40:06 -05:00
README.md Removed build instructions from README, because they are referenced in INSTALL 2012-10-10 00:15:58 -04:00
README.tools.md Summary: Recording the dependencies for Marvin in the README.tools.md 2012-10-21 18:57:58 +05:30
configure-info.in License header updates for misc files 2012-08-03 14:51:41 -04:00
m2-settings.xml Add license 2012-08-23 14:26:27 -07:00
pom.xml IPv6: Update java-ipv6 dependency to 0.10 2013-02-20 18:41:58 -08:00
version-info.in No more ant_args 2012-09-03 14:13:50 +02:00

README.md

Apache CloudStack (Incubating) Version 4.0.0

About Apache CloudStack (Incubating)

Apache CloudStack (Incubating) is software designed to deploy and manage large networks of virtual machines, as a highly available, highly scalable Infrastructure as a Service (IaaS) cloud computing platform. CloudStack is used by a number of service providers to offer public cloud services, and by many companies to provide an on-premises (private) cloud offering.

Apache CloudStack currently supports the most popular hypervisors: VMware, Oracle VM, KVM, XenServer and Xen Cloud Platform. CloudStack also offers bare metal management of servers, using PXE to provision OS images and IPMI to manage the server. Apache CloudStack offers three methods for managing cloud computing environments: an easy to use Web interface, command line tools, and a full-featured RESTful API.

Visit us at cloudstack.org.

Mailing lists

Development Mailing List Users Mailing list Commits mailing list

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Building CloudStack

See the INSTALL file.

Notice of Cryptographic Software

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

The following provides more details on the included cryptographic software:

CloudStack makes use of JaSypt cryptographic libraries

CloudStack has a system requirement of MySQL, and uses native database encryption functionality.

CloudStack makes use of the Bouncy Castle general-purpose encryption library.

CloudStack can optionally interacts with and controls OpenSwan-based VPNs.

CloudStack has a dependency on Apache WSS4J as part of the AWSAPI implementation.

CloudStack has a dependency on and makes use of JSch - a java SSH2 implementation.