Cloudstack Source code
Go to file
Will Stevens e4ba640a28 Merge pull request #1547 from PCextreme/vrouter-fixes
Fixes for VirtualRouters in Basic Networking, especially with mutliple ranges in VLANsDuring the last few modifications on the SystemVM scripts, it turns out quite a lot of stuff broke in our setups.

This PR fixes a number of things:
* Multiple IP's per VLAN interface are now supported & working again, including DNS, DHCP ranges, password and metadata services
* `useextdns` fixed (I had a small merge conflict with an attempt to fix this at 4.7, but these fixes are more comprehensive)
*  CLOUDSTACK-8303
* Apache configs better in line with best-practices and distro-expected locations
* Added a few more helper functions & getters & setters for utility
* some minor cleanup & fixes

* pr/1547:
  Remove /etc/apache2/sites-enabled/000-default in cloud-early-config
  SysVM various fixes to previous refactorings * make CORS include a regular glob-matched one * fix NameVirtualHost in CsApp.py as well * even moar cleanups
  SysVM: Cleanup and removal of old (and dangerous) config files * ports.conf * default & default-ssl sites * SSL config in httpd.conf * deprecated & dead setup_redundant_router in cloud-early-config
  SysVM cloud-early-config: Intermediate fix for SecStore & CORS * Take setup from vhost.template rather than default(-ssl)   * should move into Python CS code as well * Move CORS setup to separate conf * Modify vhost template to Optionally include the cors file * Add NameVirtualHost to vhost template for feature parity with ports.conf * Take setup from vhost.template rather than default(-ssl)
  VR cloud-early-config: Commonize Apache2 common setup
  VR cloud-early-config: Fix Apache2 alias cleanup
  VR: consistent SSL setup, vhost is not an example, but a template
  VR CsConfig: reintroduce old get_dns() behaviour for redundant non-VPC's
  VR CsAddress fixes: * cleanup imports, * fix to_str(), * improve & fix service post_config logic * don't arpPing when there's no gateway
  VR CsApp: Expose config to classes, move vhost confs to proper location, allow for multiple IP's per intf, sanitize servername, don't open port 53 if no DNS is foreseen
  VR CsConfig: Add is_router(), is_dns(), has_dns(), has_metadata(), use_extdns(), fix get_dns() with use_extdns()
  VR CsDhcp: allow multiple ranges & finite lease time (fixes CLOUDSTACK-8303)
  VR CsGuestNetwork obey useextdns
  VR merge.py ipalias fix & dhcpconfig stub notification

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-06-28 11:28:07 -04:00
agent Forward merged 4.8 to master and fixed conflicts in #1331 2016-05-19 12:08:08 -04:00
agent-simulator/tomcatconf CLOUDSTACK-6445: Simulator enhancements 2014-04-18 16:44:21 +05:30
api Merge pull request #1567 from exoscale/CLOUDSTACK-9238 2016-05-27 15:20:22 -04:00
build Dynamic loading of DB driver + support for other DB providers 2016-05-23 15:50:28 +02:00
client Dynamic loading of DB driver + support for other DB providers 2016-05-23 15:50:28 +02:00
cloud-cli Revert "Merge pull request #1228 from borisroman/CLOUDSTACK-9149" 2016-01-17 22:06:50 +01:00
core Merge release branch 4.8 to master 2016-06-28 11:21:04 -04:00
debian merging 4.8 -> master 2016-05-27 15:19:33 -04:00
deps fix noredist build because of missing maven dependency of vmware 6.0 lib 2016-05-28 11:03:11 -04:00
developer travis: Use patched version of ipmitool for tests 2016-05-12 11:05:40 +05:30
engine CLOUDSTACK-9409: Add role_id to cloud_usage.account 2016-06-08 11:20:46 +09:00
framework Make sure that the DB drivers are loaded before initiating connections 2016-05-31 14:39:43 +02:00
maven-standard Updating pom.xml version numbers for release 4.9.0-SNAPSHOT 2016-01-26 15:12:20 +01:00
packaging Dynamic loading of DB driver + support for other DB providers 2016-05-23 15:50:28 +02:00
plugins Merge release branch 4.8 to master 2016-06-28 11:21:04 -04:00
python Remove extraneous log directory and add catalina.out log rotation 2016-05-12 08:41:39 +01:00
quickcloud Updating pom.xml version numbers for release 4.9.0-SNAPSHOT 2016-01-26 15:12:20 +01:00
scripts patchviasocket improve error handling 2016-05-20 15:42:34 +00:00
server CLOUDSTACK-9399 : NPE during deletion of host when clusterId is null 2016-06-08 08:18:14 +02:00
services Merge pull request #1518 from nvazquez/testnfs 2016-05-25 23:05:07 -04:00
setup Merge pull request #1567 from exoscale/CLOUDSTACK-9238 2016-05-27 15:20:22 -04:00
systemvm Remove /etc/apache2/sites-enabled/000-default in cloud-early-config 2016-06-07 13:03:18 +02:00
test Nuage VSP : Enhancing Marvin test coverage 2016-06-10 14:33:09 +02:00
tools SysVM: Cleanup and removal of old (and dangerous) config files 2016-06-07 13:03:10 +02:00
ui CLOUDSTACK-9399 : NPE during deletion of host when clusterId is null 2016-06-08 08:18:14 +02:00
usage Dynamic loading of DB driver + support for other DB providers 2016-05-23 15:50:28 +02:00
utils Dynamic loading of DB driver + support for other DB providers 2016-05-23 15:50:28 +02:00
vmware-base Merge branch '4.8' 2016-05-03 08:22:37 +05:30
.gitignore remove autogenerated pydev files 2015-12-26 09:02:27 +01:00
.java-version CLOUDSTACK-9334: Support jenv and pyenv to manage Java and Python versions 2016-04-14 14:26:29 -04:00
.python-version CLOUDSTACK-9334: Support jenv and pyenv to manage Java and Python versions 2016-04-14 14:26:29 -04:00
.travis.yml travis: add one more smoke test 2016-05-29 16:25:53 +05:30
CHANGES.md dummy commit to for PR close #95 2015-03-08 11:47:29 -04:00
CONTRIBUTING.md dummy commit to close PR: close #620, close #606, close #334, close #586 2015-07-26 10:40:50 -04:00
INSTALL.md CLOUDSTACK-9334: Support jenv and pyenv to manage Java and Python versions 2016-04-14 14:26:29 -04:00
LICENSE SysVM: Cleanup and removal of old (and dangerous) config files 2016-06-07 13:03:10 +02:00
LICENSE.header Add license check plugin to root pom. Disabled for the entire project, except for poms that override it (opendaylight, nvp) 2014-01-22 11:22:42 +01:00
NOTICE Update NOTICE to account for updated jQuery version 2014-08-26 13:13:29 -07:00
README.md README: revert back to the normal cloudstack logo 2016-01-06 17:21:05 +05:30
configure-info.in License header updates for misc files 2012-08-03 14:51:41 -04:00
pom.xml SysVM: Cleanup and removal of old (and dangerous) config files 2016-06-07 13:03:10 +02:00
requirements.txt CLOUDSTACK-9334: Support jenv and pyenv to manage Java and Python versions 2016-04-14 14:26:29 -04:00
version-info.in No more ant_args 2012-09-03 14:13:50 +02:00

README.md

Apache CloudStack Build Status Coverity Scan Build Status

Apache CloudStack

Apache CloudStack is open source 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, or as part of a hybrid cloud solution.

CloudStack is a turnkey solution that includes the entire "stack" of features most organizations want with an IaaS cloud: compute orchestration, Network-as-a-Service, user and account management, a full and open native API, resource accounting, and a first-class User Interface (UI).

CloudStack currently supports the most popular hypervisors: VMware vSphere, KVM, XenServer, XenProject and Hyper-V as well as OVM and LXC containers.

Users can manage their cloud with an easy to use Web interface, command line tools, and/or a full-featured query based API.

For more information on Apache CloudStack, please visit the website

Who Uses CloudStack?

  • There are more than 150 known organizations using Apache CloudStack (or a commercial distribution of CloudStack). Our users include many major service providers running CloudStack to offer public cloud services, product vendors who incorporate or integrate with CloudStack in their own products, organizations who have used CloudStack to build their own private clouds, and systems integrators that offer CloudStack related services.

  • See our case studies highlighting successful deployments of Apache CloudStack.

  • See the up-to-date list of current users.

  • If you are using CloudStack in your organization and your company is not listed above, please complete our brief adoption survey. We're happy to keep your company name anonymous if you require.

Getting Started

  • Download a released version
  • Build from source with the instructions in the INSTALL.md file.

Getting Source Repository

Apache CloudStack project uses Git. The official Git repository is at:

https://git-wip-us.apache.org/repos/asf/cloudstack.git

And a mirror is hosted on Github:

https://github.com/apache/cloudstack

The Github mirror is strictly read only and provides convenience to users and developers to explore the code and for the community to accept contributions via Github pull requests.

Getting Involved and Contributing

Interested in helping out with Apache CloudStack? Great! We welcome participation from anybody willing to work The Apache Way and make a contribution. Note that you do not have to be a developer in order to contribute to Apache CloudStack. We need folks to help with documentation, translation, promotion etc.See our contribution page.

If you're interested in learning more or participating in the Apache CloudStack project, the mailing lists are the best way to do that. While the project has several communications channels, the mailing lists are the most active and the official channels for making decisions about the project itself.

Mailing lists:

IRC, join us on irc.freenode.net on:

  • #cloudstack: General Apache CloudStack conversation and end user support
  • #cloudstack-dev: Development discussions

Report and/or check bugs on JIRA and check our developer page for contributing code.

News and Events

Reporting Security Vulnerabilities

If you've found an issue that you believe is a security vulnerability in a released version of CloudStack, please report it to security@cloudstack.apache.org with details about the vulnerability, how it might be exploited, and any additional information that might be useful.

For more details, please visit our security page

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.

Please see the LICENSE file included in the root directory of the source tree for extended license details.

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 and makes use of JSch - a java SSH2 implementation.