警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This document contains information specific to this release of CloudStack, including upgrade instructions from prior releases, new features added to CloudStack, API changes, and issues fixed in the release. For installation instructions, please see the CloudStack Installation Guide. For usage and administration instructions, please see the CloudStack Administrator's Guide.
コンテンツ:
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
The new 4.11.1.0 version is a 4.12 maintainance release containing over 140 fixes and improvements on the 4.11.0.0 release.
These include the speeding up of virtual router deployments and fixes for corner cases effecting the new config drive and L2 features and some hypervisor specific fixes to improve compatibility with current hypervisor versions including the XCP-ng fork of XenServer.
Version 4.11.0.0 included more than 400 commits, 220 pull requests that fixes more than 250 issues since the last release. Version 4.11.0.0 was a large release that was worked on for 8 months.
A LOT changed in this release, so this is not a complete list, but here is a quick summary of some of the changes:
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
Apache CloudStack uses Jira to track its issues and Github for pull requests. All new features and bugs for 4.12.0.0 have been merged through Github pull requests. A subset of these changes are tracked in Jira, which have a standard naming convention of "CLOUDSTACK-NNNN" where "NNNN" is the issue number.
Branches | Github | Jira | Type | Priority | Description |
---|---|---|---|---|---|
4.11 | #2712 | reuse ip for non redundant VPC | |||
4.11 | #2714 | send unsupported answer only when applicable | |||
4.11 | #2715 | smoketest: Fix test_vm_life_cycle secure migration tests | |||
4.11 | #2493 | CLOUDSTACK-10326 | Bug | Major | Prevent hosts fall into Maintenance when there are running VMs on it |
4.11 | #2716 | configdrive: make fewer mountpoints on hosts | |||
4.11 | #2681 | Source NAT option on Private Gateway | |||
4.11 | #2670 | Removing an old, unused NetApp plug-in | |||
4.11 | #2710 | comply with api key constraint | |||
4.11 | #2699 | remove old config artifacts from update path | |||
4.11 | #2705 | CLOUDSTACK-10381 | Bug | Blocker | [ConfigDrive] Password is missing after reset password sequence |
4.11 | #2704 | ui: fix create VPC dialog box failure when zone is SG enabled | |||
4.11 | #2693 | Fix to enable Advanced zones with Security groups and VXLAN isolation type | |||
4.11 | #2697 | agent: Avoid sudo, renew certificates assuming root | |||
4.11 | #2686 | Fixes #2685: broken SXM support | |||
4.11 | #2696 | Fix LibvirtStorageAdaptor.java | |||
4.11 | #2683 | Add default L2 network offerings | |||
4.11 | #2694 | Do not send conserve mode param on L2 network offering creation from the UI | |||
4.11 | #2688 | CLOUDSTACK-10382 | Bug | Major | [ConfigDrive] cloud-get-vm-data-configdrive.in is incorrect |
4.11 | #2672 | CLOUDSTACK-10377 | Bug | Major | Nuage VSP regression fails in NetworksWithCleanup test since introduction of fix for CLOUDSTACK-9114 in ACS 4.11&master |
4.11 | #2674 | Create unit test cases for 'ConfigDriveBuilder' class | |||
4.11 | #2673 | Fix test_configdrive.py and test_nuage_configdrive | |||
4.11 | #2676 | Fix two typos (from uanble to unable). | |||
4.11 | #2669 | conditional template filter | |||
4.11 | #2664 | revert dedicate vlan code removal | |||
4.11 | #2663 | server: Calculate fresh capacity per VM | |||
4.11 | #2667 | CLOUDSTACK-10375 | Bug | Minor | Do not create DefaultNuageVspSharedNetworkOfferingWithSGService |
4.11 | #2661 | Make uploadSslCert a POST request instead of a GET | |||
4.11 | #2639 | CLOUDSTACK-10276 | Bug | Major | View volumes from primary storage not working when storage UUID is not a UUID |
4.11 | #2653 | Generate MAC address if the MAC in command addNicToVirtualMachine is invalid | |||
4.11 | #2656 | Only perform certain actions here with managed storage if the VM is s? | |||
4.11 | #2651 | CLOUDSTACK-10290 | Bug | Major | Config drive - only supported for secondary storage |
4.11 | #2473 | CLOUDSTACK-10309 | Improvement | Minor | VMs with HA enabled, power back on if shutdown from guest OS |
4.11 | #2655 | Handle Ceph. | |||
4.11 | #2630 | Host Affinity plugin | |||
4.11 | #2652 | Fix register iso in all zones | |||
4.11 | #2629 | Fix primary storage count when deleting volumes | |||
4.11 | #2638 | agent: Fixes #2633 don't wait for pending tasks on reconnection | |||
4.11 | #2645 | config-drive: use hostname of VM instance of internal VM id | |||
4.11 | #2646 | Don't skip tests while packaging Centos7 | |||
4.11 | #2635 | router: Fixes #2544 run passwd server on dhcpserver IP on rVR | |||
4.11 | #2634 | CLOUDSTACK-9184 | Bug | Major | [VMware] vmware.ports.per.dvportgroup global setting is not useful from vCenter 5.0 onwards |
4.11 | #2508 | CLOUDSTACK-9114 | Improvement | Major | restartnetwork with cleanup should not update/restart both routers at once |
4.11 | #2584 | Enhance and cleanup DatabaseUpgradeChecker | |||
4.11 | #2600 | CLOUDSTACK-10362 | Improvement | Major | Inconsistent method names |
4.11 | #2627 | Catch error in packagin script and fail the build | |||
4.11 | #2615 | config-drive: support user data on L2 networks | |||
4.11 | #2632 | listostypes: Fixes #2529 return boolean than string in response | |||
4.11 | #2621 | Backports for 4.11 branch | |||
4.11 | #2619 | Remove "self-injection" of AccountManagerImpl | |||
4.11 | #2607 | Allow changing disk offering of VMs' root volume during volume migration | |||
4.11 | #2626 | bionic: allow Ubuntu 18.04 to be added as KVM host | |||
4.11 | #2623 | fixes #2611 | |||
4.11 | #2628 | Create upgrade path from 4.9.3.1 to 4.11.1.0 | |||
4.11 | #2612 | [migrateVolume API method] Filter disk offerings based on target storage pool selected | |||
4.11 | #1940 | CLOUDSTACK-9781 | Bug | Major | ACS records ID in events tables instead of UUID. |
4.11 | #2608 | API: move ostypeid from DB id to DB uuid | |||
4.9* | #2471 | CLOUDSTACK-10311 | Improvement | Major | Agent Log Rotate variable replace bug |
4.11 | #2606 | When creating a new account (via domain admin) it is possible to select ?root admin? as the role for the new user | |||
4.11 | #2601 | CLOUDSTACK-10364 | Improvement | Major | Inconsiste "setXXX" method names. |
4.11 | #2599 | CLOUDSTACK-10363 | Improvement | Major | Inconsistent "getXXX" and "listXXX" method names. |
4.11 | #2598 | CLOUDSTACK-10360 | Improvement | Major | Inconsistent method name |
4.11 | #2605 | xenserver: Add support for XS 7.3, 7.4 and XCP-ng 7.4 | |||
4.11 | #2428 | CLOUDSTACK-10253 | Bug | Minor | JSON response returns boolean as string |
4.11 | #2536 | fix typo c&p bug in externalId feature UI | |||
4.11 | #2486 | CLOUDSTACK-10323 | Improvement | Major | Change disk offering when volume is migrated to different type of storage pool. |
4.11 | #2422 | CLOUDSTACK-10254 | Improvement | Major | Require checkstyle to verify package names against directory structure |
4.11 | #2566 | CLOUDSTACK-10288 | Bug | Major | Config drive - Usedata corruption when gzipped |
4.11 | #2573 | CLOUDSTACK-10356 | Bug | Major | Fix Some Potential NPE |
4.11 | #2412 | CLOUDSTACK-9677 | Improvement | Major | Swift Storage Policy support for Secondary Storage |
4.11 | #2594 | Remove 'NetworkManagerTestComponentLibrary' empty class and related configurations | |||
4.11 | #2597 | UpdateUserCmd: apiSecretKey refers to itself | |||
4.11 | #2498 | CLOUDSTACK-10327 | Bug | Critical | SSO fails with error "Session Expired", except for root admin |
4.11 | #2591 | CLOUDSTACK-10359 | Improvement | Major | Inconsistent method names |
4.11 | #2590 | network: Fix security groups for CentOS | |||
4.11 | #2582 | cs-45to411-ugrade-fix: database errors during upgrade to 4.11 | |||
4.11 | #2577 | Prevent NPE if guest OS mapping is missing while prioritizing hosts | |||
4.11 | #2579 | router: fix routing table for marked packets | |||
4.11 | #2589 | Remove packaging job from pull request template | |||
4.11 | #2588 | capacity: remove unused threadpool | |||
4.11 | #2505 | CLOUDSTACK-10333 | Improvement | Major | Secure VM Live migration for KVM |
4.11 | #2580 | CLOUDSTACK-10357 | Improvement | Minor | Log messages that do not match with their method function |
4.11 | #2587 | Remove empty VPN test class | |||
4.11 | #2586 | Use double quotes with 'RROUTER' variable in "common.sh" script | |||
4.11 | #2576 | Fix Python code checkstyle execute by "systemvmtestruntests.sh" | |||
4.11 | #2562 | consoleproxy: use consoleproxy.domain for non-ssl enable env | |||
4.11 | #2554 | agent: Add logging to libvirt qemu hook and cleanup | |||
4.11 | #2511 | CLOUDSTACK-10344 | Bug | Major | Sometimes a bug happens when moving ACL rules (changing their order with drag and drop) |
4.11 | #2572 | Remove 'todb' in favor of 'encodeURIComponent'. | |||
4.11 | #2553 | Update inconsistent debugging info in catch block | |||
4.11 | #2499 | Updates to capacity management | |||
4.11 | #2570 | Improve README | |||
4.11 | #2568 | Log command output in CsHelper.execute command | |||
4.11 | #2559 | Upgrade path 4.11 through 4.11.1 to 4.12 | |||
4.11 | #2567 | [Vmware] Fix for OVF parsing error | |||
4.11 | #2563 | CLOUDSTACK-10304 | Bug | Major | SystemVM - Apache Web Server Version Number Information Disclosure |
4.11 | #2555 | Remove 'md5Hashed' variable from Javascript. | |||
4.11 | #2390 | CLOUDSTACK-10214 | Bug | Major | Unable to remove local primary storage |
4.11 | #2564 | [Docs] Fix URL error from installation instructions | |||
4.11 | #2557 | Add "Fixes: number" to PR template for auto-closing issues | |||
4.11 | #2404 | CLOUDSTACK-10230 | Bug | Critical | User is able to change to ?Guest OS type? that has been removed |
4.11 | #2550 | debian: Use only -l for libvirtd default file on debian | |||
4.11 | #2560 | ui: Make zonal dashboard larger | |||
4.11 | #2401 | CLOUDSTACK-10226 | Bug | Major | CloudStack is not importing Local storage properly |
4.11 | #2462 | CLOUDSTACK-10301 | Bug | Major | Allow updating the network ACL list name and Description |
4.11 | #2490 | Create database upgrade from 4.11.0.0 to 4.11.1.0 & VMWare version to OS mappings | |||
4.11 | #2538 | Remove deprecated tomcat configuration file instead of moving it | |||
4.11 | #2517 | manual mapped ldap fix | |||
4.11 | #2552 | debian: remove old usage jars during upgrade | |||
4.11 | #2535 | Create an easy way to enable Java remote Debug for ACS | |||
4.11 | #2526 | add issue template for github issues | |||
4.11 | #2522 | indicate scope of tests in checklist | |||
4.11 | #2519 | CLOUDSTACK-10287 | Bug | Major | Make el7 rpms to depend on OpenJDK8 |
4.11 | #2520 | make Broadcast- and IsolationURI visible to admin | |||
4.11 | #2515 | Fix Successfully typo | |||
4.11 | #2414 | CLOUDSTACK-10241 | Bug | Major | Duplicated file SRs being created in XenServer pools |
4.11 | #2512 | Only use the host if its Resource State is Enabled. | |||
4.11 | #2492 | Fix the name of the column used to hold IPv4 range in 'vlan' table. | |||
4.11 | #2496 | CLOUDSTACK-10332 | Enhancement | Major | Users are not able to change/edit the protocol of an ACL rule |
4.11 | #2449 | CLOUDSTACK-10278 | Bug | Major | Adding a SQL table column is not Idempotent |
4.11 | #2510 | CLOUDSTACK-10334 | Improvement | Major | Inadequate information for handling catch clauses |
4.11 | #2506 | CLOUDSTACK-10341 | Task | Major | Systemvmtemplate 4.11 changes |
4.11 | #2513 | CLOUDSTACK-10227 | Bug | Blocker | Stabilization fixes for master/4.11 |
4.11 | #2465 | CLOUDSTACK-10232 | Enhancement | Major | SystemVMs and VR to run as HVM on XenServer |
4.11 | #2438 | CLOUDSTACK-10307 | Improvement | Minor | Remove unused things from HostDaoImpl |
4.11 | #2507 | CLOUDSTACK-10319 | Bug | Major | Prefer TLSv1.2 and deprecate TLS 1.0/1.1 |
4.11 | #2397 | CLOUDSTACK-10221 | Improvement | Major | Allow specification of IPv6 details when creating Basic Network |
4.11 | #2481 | CLOUDSTACK-10320 | Bug | Major | Invalid pair for response object breaking response parsing |
4.11 | #2468 | CLOUDSTACK-10341 | Task | Major | Systemvmtemplate 4.11 changes |
4.11 | #2504 | CLOUDSTACK-10340 | Task | Major | Add setter in vminstancevo |
4.11 | #2497 | CLOUDSTACK-10331 | Bug | Minor | Error 404 for /client/scripts/vm_snapshots.js |
4.11 | #2408 | CLOUDSTACK-10231 | Bug | Major | Asserted fixes for Direct Download on KVM |
4.11 | #2494 | CLOUDSTACK-10329 | Enhancement | Major | Button in ACL rules page to export all rules as a CSV file |
4.11 | #2495 | Fix typo in Packaging script | |||
4.11 | #2489 | CLOUDSTACK-10330 | Improvement | Major | Introduce a standard PULL REQUEST template |
4.11 | #2491 | Fix "agent-lb" project | |||
4.11 | #2469 | CLOUDSTACK-10132 | Improvement | Major | Extend Multiple Management Servers Support for agents to allow sorting algorithms |
4.11 | #2458 | CLOUDSTACK-10296 | Bug | Major | Fix timestamp difference in heartbeat script for rVRs |
4.11 | #2433 | CLOUDSTACK-10268 | Improvement | Minor | Fix and enhance package script |
4.11 | #2387 | CLOUDSTACK-8855 | Bug | Major | Improve Error Message for Host Alert State |
4.11 | #2482 | CLOUDSTACK-10321 | Bug | Major | CPU Cap for KVM |
4.11 | #2483 | CLOUDSTACK-10303 | Improvement | Major | refactor plugins/nuagevsp tests to run from its own test_data.py file |
4.11 | #2442 | CLOUDSTACK-10147 | Bug | Major | Disabled Xenserver cluster can still deploy VMs |
4.11 | #2484 | createNetworkACL: number has the wrong doc | |||
4.11 | #2475 | CLOUDSTACK-10314 | Improvement | Minor | Add Text-Field to each ACL Rule |
4.11 | #2485 | Bump the version of Debian net-installer to 9.4.0 | |||
4.11 | #2480 | CLOUDSTACK-10319 | Bug | Major | Prefer TLSv1.2 and deprecate TLS 1.0/1.1 |
4.11 | #2470 | CLOUDSTACK-10197 | Bug | Major | XenServer 7.1: Cannot mount xentool iso from cloudstack on VMs |
4.11 | #2476 | CLOUDSTACK-10317 | Bug | Minor | In case of multiple-public ips, snat fails to work for addtional public nics/network for guest traffic |
4.11 | #2425 | CLOUDSTACK-10240 | Improvement | Major | ACS cannot migrate a volume from local to shared storage (for XenServer) |
4.11 | #2448 | CLOUDSTACK-10274 | Bug | Major | L2 network refused to be designed on VXLAN physical network |
4.11 | #2478 | CLOUDSTACK-10318 | Bug | Major | Bug on sorting ACL rules list in chrome |
4.11 | #2437 | CLOUDSTACK-10257 | Improvement | Minor | Create template/volume does not allow to specify HVM requirement |
4.11 | #2439 | CLOUDSTACK-10259 | Bug | Minor | Missing float part of secondary storage data when calculating secondary storage usage in listAccounts |
4.11 | #2392 | dateutil: constistency of tzdate input and output | |||
4.11 | #2463 | CLOUDSTACK-10302 | Task | Major | Create database path upgrade from 4.11.0.0 to 4.12.0.0 |
4.11 | #2464 | CLOUDSTACK-10299 | Bug | Minor | Network listing return error in project mode |
4.11 | #2244 | CLOUDSTACK-10054 | Bug | Major | Volume download times out in 3600 seconds |
4.11 | #2467 | CLOUDSTACK-10306 | Bug | Minor | Update vmware dependency vim jar to 6.5 version |
4.11 | #2460 | CLOUDSTACK-10298 | Bug | Major | Recreation of an earlier deleted Nuage managed isolated or vpc tier network fails |
4.11 | #2466 | CLOUDSTACK-10305 | Bug | Major | Rare race condition in KVM migration |
4.11 | #2443 | CLOUDSTACK-9338 | Bug | Major | updateResourceCount not accounting resources of VMs with custom service offering |
4.11 | #2451 | CLOUDSTACK-10284 | Bug | Major | Creating a snapshot from VM Snapshot generates error if hypervisor is not KVM. |
4.11 | #2454 | CLOUDSTACK-10283 | Bug | Major | Use sudo to execute keystore setup/import for kvm agents, and fail on keystore setup failures |
4.11 | #2457 | CLOUDSTACK-10295 | Improvement | Major | Marvin: add support for password-enabled templates |
4.11 | #2456 | CLOUDSTACK-10293 | Bug | Major | Single view network ACL rules listing |
4.11 | #2402 | CLOUDSTACK-10128 | Bug | Critical | Template from snapshot not merging vhd files |
4.11 | #2432 | CLOUDSTACK-10294 | Improvement | Major | Updated code-styling and improvements to security_group.py |
4.11 | #2450 | CLOUDSTACK-10282 | Bug | Major | SystemVM - filrewall rules incorrect |
4.11 | #2452 | CLOUDSTACK-10285 | Bug | Critical | 4.10.0.0 users face upgrade issues when upgrading to 4.11.0.0 |
4.11 | #2441 | CLOUDSTACK-10261 | Bug | Critical | Nuage: Multinic: Libvirt nuage-extenstion metadata contains only one interface. |
4.11 | #2420 | CLOUDSTACK-10247 | Bug | Major | L2 network not shared on projects |
4.11 | #2424 | CLOUDSTACK-10251 | Bug | Major | HTTPS downloader for Direct Download templates failure |
4.11 | #2421 | CLOUDSTACK-10243 | Bug | Major | Updating metadata might hang on VR on "ip rule show" |
4.11 | #2406 | CLOUDSTACK-9663 | Improvement | Trivial | updateRole should return updated role as json |
4.11 | #2445 | CLOUDSTACK-10218 | Bug | Major | forced network update to a nuage network offering with vr fails with IllegalArgumentException |
4.11 | #2444 | CLOUDSTACK-10269 | Bug | Major | Allow deletion of roles without causing concurrent exception |
4.11 | #2405 | CLOUDSTACK-10146 | Bug | Major | Bypass Secondary Storage for KVM templates |
4.11 | #2398 | CLOUDSTACK-10222 | Bug | Major | Clean previous snaphosts from primary storage when taking new one |
4.11 | #2431 | CLOUDSTACK-10225 | Improvement | Major | Deprecate com.cloud.utils.StringUtils |
Branches | Github | Jira | Type | Priority | Description |
---|---|---|---|---|---|
4.11 | #2097 | CLOUDSTACK-9813 | New Feature | Major | Use configdrive for userdata, metadata & password |
4.11 | #2146 | CLOUDSTACK-4757 | New Feature | Minor | Support OVA files with multiple disks for templates |
4.11 | #2394 | CLOUDSTACK-10109 | New Feature | Major | Enable dedication of public IPs to SSVM and CPVM |
4.11 | #2295 | CLOUDSTACK-10109 | New Feature | Major | Enable dedication of public IPs to SSVM and CPVM |
4.11 | #2381 | CLOUDSTACK-10117 | New Feature | Major | LDAP mapping on domain level |
4.11 | #2368 | CLOUDSTACK-10126 | New Feature | Major | Separate Subnet for CPVM and SSVM |
4.11 | #2046 | CLOUDSTACK-7958 | New Feature | Minor | Limit user login to specific subnets |
4.11 | #2374 | CLOUDSTACK-10024 | New Feature | Major | Physical Networking Migration |
4.11 | #2301 | CLOUDSTACK-10121 | New Feature | Major | move user API |
4.11 | #2360 | CLOUDSTACK-10189 | New Feature | Major | Support for "VSD managed" networks with Nuage Networks |
4.11 | #2281 | CLOUDSTACK-10102 | New Feature | Major | New Network Type (L2) |
4.11 | #2048 | CLOUDSTACK-9880 | New Feature | Major | Expansion of Management IP Range. |
4.11 | #2294 | CLOUDSTACK-10039 | New Feature | Major | Adding IOPS/GB offering |
4.11 | #2356 | CLOUDSTACK-8313 | New Feature | Major | Local Storage overprovisioning should be possible |
4.11 | #2028 | CLOUDSTACK-9853 | New Feature | Major | IPv6 Prefix Delegation support in Basic Networking |
4.11 | #1981 | CLOUDSTACK-9806 | New Feature | Major | Nuage domain template selection per VPC |
4.11 | #2325 | CLOUDSTACK-9998 | New Feature | Major | CloudStack exporter for Prometheus |
4.11 | #2284 | CLOUDSTACK-10103 | New Feature | Major | Cloudian Connector for CloudStack |
4.11 | #2297 | CLOUDSTACK-9957 | New Feature | Major | Annotations on entities |
4.11 | #2181 | CLOUDSTACK-9957 | New Feature | Major | Annotations on entities |
4.11 | #2286 | CLOUDSTACK-9993 | New Feature | Major | Secure Agent Communications |
4.11 | #2287 | CLOUDSTACK-9998 | New Feature | Major | CloudStack exporter for Prometheus |
4.11 | #2278 | CLOUDSTACK-9993 | New Feature | Major | Secure Agent Communications |
4.11 | #1707 | CLOUDSTACK-9397 | New Feature | Major | Add Watchdog timer to KVM Instances |
4.11 | #2143 | CLOUDSTACK-9949 | New Feature | Minor | add ability to specify mac address when deployVirtualMachine or addNicToVirtualMachine is called |
4.11 | #2256 | CLOUDSTACK-9782 | New Feature | Major | Host HA |
4.11 | #2239 | CLOUDSTACK-9993 | New Feature | Major | Secure Agent Communications |
4.11 | #2222 | CLOUDSTACK-10022 | New Feature | Minor | Allow domain admin to create and delete subdomains |
4.11 | #2026 | CLOUDSTACK-9861 | New Feature | Major | Expire VM snapshots after configured duration |
4.11 | #2218 | CLOUDSTACK-9782 | New Feature | Major | Host HA |
4.11* | #2407 | CLOUDSTACK-10227 | Bug | Blocker | Stabilization fixes for master/4.11 |
4.11 | #2403 | CLOUDSTACK-10227 | Bug | Blocker | Stabilization fixes for master/4.11 |
4.11 | #2396 | CLOUDSTACK-10220 | Bug | Major | IPv4 NIC alias is not added on Virtual Router in Basic Networking when NIC has IPv6 address |
4.11 | #2362 | CLOUDSTACK-10188 | Bug | Major | Resource Accounting for primary storage is Broken |
4.11 | #2393 | CLOUDSTACK-10217 | Bug | Major | When IPv4 address of Instance is updated DHCP data is not cleared on VR |
4.11 | #2388 | CLOUDSTACK-10212 | Bug | Major | Changing IPv4 Address of NIC in Basic Networking does not update the gateway |
4.11 | #2379 | CLOUDSTACK-10146 | Bug | Major | Bypass Secondary Storage for KVM templates |
4.11 | #2391 | CLOUDSTACK-10215 | Bug | Major | Excessive log4j debug level in CPVM, SSVM could lead to FS overflow |
4.11 | #2139 | CLOUDSTACK-9921 | Bug | Major | NPE when garbage collector is running |
4.11 | #2088 | CLOUDSTACK-9892 | Bug | Critical | Primary storage resource check is broken when using root disk size override to deploy VM |
4.11 | #2365 | CLOUDSTACK-10197 | Bug | Major | XenServer 7.1: Cannot mount xentool iso from cloudstack on VMs |
4.11 | #2073 | CLOUDSTACK-9896 | Bug | Minor | ListDedicatedXXX doesn't respect pagination |
4.11 | #2386 | CLOUDSTACK-9632 | Bug | Major | Upgrade bountycastle to 1.55+ |
4.11 | #2315 | CLOUDSTACK-9025 | Bug | Critical | Unable to deploy VM instance from template if template spin from linked clone snapshot |
4.11 | #2274 | CLOUDSTACK-10096 | Bug | Major | Can't reset api.integration.port and usage.sanity.check.interval back to null |
4.11 | #2282 | CLOUDSTACK-10104 | Bug | Major | Optimize database transactions in ListDomain API to improve performance |
4.11 | #2385 | CLOUDSTACK-10211 | Bug | Major | test_nuage_public_sharednetwork_userdata fails due to errortext changed |
4.11 | #2260 | CLOUDSTACK-10065 | Bug | Major | Optimize SQL queries in listTemplate API to improve performance. |
4.11 | #1740 | CLOUDSTACK-9572 | Bug | Major | Snapshot on primary storage not cleaned up after Storage migration |
4.11 | #2104 | CLOUDSTACK-9908 | Bug | Major | Primary Storage allocated capacity goes very high after VM snapshot |
4.11 | #2378 | CLOUDSTACK-10205 | Bug | Major | LinkDomainToLdap returns internal id |
4.11 | #1773 | CLOUDSTACK-9607 | Bug | Major | Preventing template deletion when template is in use. |
4.11 | #2149 | CLOUDSTACK-9932 | Bug | Major | Snapshot is getting deleted while volume creation from the snapshot is in progress |
4.11 | #2156 | CLOUDSTACK-9971 | Bug | Minor | Bugfix/listaccounts parameter consistency |
4.11 | #2373 | CLOUDSTACK-10202 | Bug | Major | createSnapshotPolicy API create multiple entries in DB for same volume. |
4.11 | #2344 | CLOUDSTACK-10163 | Bug | Major | Component tests health check |
4.11 | #1760 | CLOUDSTACK-9593 | Bug | Major | User data check is inconsistent with python |
4.11 | #2352 | CLOUDSTACK-10175 | Bug | Major | Listing VPCs with a domain account and project id -1 returns all the VPCs in the syste |
4.11 | #2347 | CLOUDSTACK-10166 | Bug | Minor | Cannot add a tag to a NetworkACL (rule not list) in CS with a user in a project or in an account |
4.11 | #2375 | CLOUDSTACK-9456 | Bug | Major | Migrate master to use Java8 and Spring4 |
4.11 | #2211 | CLOUDSTACK-10013 | Bug | Major | Migrate to Debian9 systemvmtemplate |
4.9* | #2304 | CLOUDSTACK-10127 | Bug | Critical | 4.9 / 4.10 KVM + openvswitch + vpc + static nat / secondary ip on eth2 |
4.11 | #2208 | CLOUDSTACK-9542 | Bug | Major | listNics API does not return data as per API documentation |
4.11 | #2351 | CLOUDSTACK-10173 | Bug | Major | Guest/Public nics on VR should pick network rate from network offering |
4.11 | #2370 | CLOUDSTACK-9595 | Bug | Major | Transactions are not getting retried in case of database deadlock errors |
4.11 | #2366 | CLOUDSTACK-10168 | Bug | Major | VR duplicate entries in /etc/hosts when reusing VM name |
4.11 | #2042 | CLOUDSTACK-9875 | Bug | Major | Unable to re-apply Explicit dedication to VM |
4.11 | #2364 | CLOUDSTACK-10195 | Bug | Minor | CloudStack MySQL HA problem -- No database selected |
4.11 | #2361 | CLOUDSTACK-10190 | Bug | Major | Duplicate public VLAN for two different admin accounts. |
4.11 | #2247 | CLOUDSTACK-10012 | Bug | Major | Migrate to Embedded Jetty based mgmt server |
4.11 | #1964 | CLOUDSTACK-9800 | Bug | Major | Enable inline mode for NetScaler device |
4.11 | #1762 | CLOUDSTACK-9595 | Bug | Major | Transactions are not getting retried in case of database deadlock errors |
4.11 | #2308 | CLOUDSTACK-8908 | Bug | Major | After copying the template charging for that template is stopped |
4.11 | #2354 | CLOUDSTACK-10176 | Bug | Major | VM Start Api Job returns success for failed Job |
4.11 | #2353 | CLOUDSTACK-9986 | Bug | Major | Consider overcommit ratios with total/threshold values in Metrics View |
4.11 | #2358 | CLOUDSTACK-9736 | Bug | Minor | Incoherent validation and error message when you change the vm.password.length configuration parameter |
4.11 | #2326 | CLOUDSTACK-10184 | Bug | Major | Re-work method QuotaResponseBuilderImpl.startOfNextDay and its test cases |
4.11 | #2267 | CLOUDSTACK-10077 | Bug | Major | Allow account to use the same site-2-site VPN gateway with different configs for several VPCs |
4.11 | #2337 | CLOUDSTACK-10157 | Bug | Major | Wrong notification while migration |
4.11 | #2355 | CLOUDSTACK-10177 | Bug | Major | NPE when programming Security Groups with KVM |
4.11 | #2349 | CLOUDSTACK-10070 | Bug | Major | Extend travis run to include more component tests |
4.11 | #2312 | CLOUDSTACK-7793 | Bug | Critical | [Snapshots]Create Snaphot with "quiesce" option set to true fails with "InvalidParameterValueException: can't handle quiescevm equal true for volume snapshot" |
4.11 | #2345 | CLOUDSTACK-10164 | Bug | Blocker | UI - not able to create a VPC |
4.11 | #2263 | CLOUDSTACK-10070 | Bug | Major | Extend travis run to include more component tests |
4.11 | #2342 | CLOUDSTACK-9586 | Bug | Critical | When using local storage with Xenserver prepareTemplate does not work with multiple primary store |
4.11 | #2124 | CLOUDSTACK-9432 | Bug | Critical | Dedicate Cluster to Domain always creates an affinity group owned by the root domain |
4.11 | #2322 | CLOUDSTACK-10140 | Bug | Critical | When template is created from snapshot template.properties are corrupted |
4.11 | #2335 | CLOUDSTACK-10154 | Bug | Major | test failures in smoketest |
4.11 | #2341 | CLOUDSTACK-10160 | Bug | Major | KVM VirtIO-SCSI not defined properly in Libvirt XML |
4.11 | #2321 | CLOUDSTACK-10138 | Bug | Major | Load br_netfilter in security_group management script |
4.11 | #2334 | CLOUDSTACK-10152 | Bug | Major | egress destination cidr with 0.0.0.0/0 is failing |
4.11 | #2310 | CLOUDSTACK-10133 | Bug | Major | Local storage overprovisioning for ext file system |
4.11 | #2303 | CLOUDSTACK-10123 | Bug | Major | VmWork job gets deleted before the parent job had time to fetch its result |
4.11 | #2329 | CLOUDSTACK-10012 | Bug | Major | Migrate to Embedded Jetty based mgmt server |
4.11 | #2327 | CLOUDSTACK-10129 | Bug | Trivial | Show instances attached to a network/VR via navigation from VRs->instances |
4.11 | #2313 | CLOUDSTACK-10135 | Bug | Major | ACL rules order is not maintained for ACL_OUTBOUND in VPC VR |
4.11 | #2316 | CLOUDSTACK-10137 | Bug | Major | Re-installation fails for cloudstack-management |
4.11 | #2157 | CLOUDSTACK-9961 | Bug | Major | Accept domain name for gateway while creating Vpncustomergateway |
4.11 | #2306 | CLOUDSTACK-10129 | Bug | Trivial | Show instances attached to a network/VR via navigation from VRs->instances |
4.11 | #2273 | CLOUDSTACK-10090 | Bug | Major | createPortForwardingRule api call accepts 'halt' as Protocol which Stops VR |
4.11 | #2240 | CLOUDSTACK-10051 | Bug | Major | Mouse Scrolling is not working in instance VM console |
4.11 | #2291 | CLOUDSTACK-10111 | Bug | Minor | Fix validation for parameter "vm.password.length" |
4.11 | #2302 | CLOUDSTACK-10122 | Bug | Major | Unrelated error message |
4.11 | #2250 | CLOUDSTACK-10057 | Bug | Major | ListNetworkOfferingsCmd does not return the correct count |
4.11 | #2268 | CLOUDSTACK-10081 | Bug | Major | CloudUtils getDevInfo function only checks for KVM bridgePort and not OVS |
4.11 | #2293 | CLOUDSTACK-10047 | Bug | Major | DVSwitch improvements |
4.11 | #2288 | CLOUDSTACK-10107 | Bug | Major | VMware VM fails to start if it has more than 7 nics |
4.11 | #2257 | CLOUDSTACK-10060 | Bug | Minor | ListUsage API always displays the Virtual size as '0' for Usage type=9 (snapshot) |
4.11 | #2246 | CLOUDSTACK-10046 | Bug | Major | checksum is not verified during registerTemplate |
4.11 | #2074 | CLOUDSTACK-9899 | Bug | Major | allow download without checking first for MS behind firewall |
4.11 | #2279 | CLOUDSTACK-9584 | Bug | Major | Increase component tests coverage in Travis run |
4.11 | #2277 | CLOUDSTACK-10099 | Bug | Major | GUI invokes migrateVirtualMachine instead of migrateVirtualMachineWithVolume |
4.11 | #2269 | CLOUDSTACK-10083 | Bug | Minor | SSH keys are not created when starting from maintenance mode |
4.11 | #876 | CLOUDSTACK-8865 | Bug | Major | Adding SR doesn't create Storage_pool_host_ref entry for disabled host |
4.11 | #1252 | CLOUDSTACK-9182 | Bug | Major | Some running VMs turned off on manual migration when auto migration failed while host preparing for maintenance |
4.11 | #2153 | CLOUDSTACK-9956 | Bug | Major | File search on the vmware datastore may select wrong file if there are multiple files with same name |
4.11 | #2078 | CLOUDSTACK-9902 | Bug | Minor | consoleproxy.sslEnabled global config variable is not present in default install |
4.11 | #2252 | CLOUDSTACK-10067 | Bug | Major | Fix a case where a user 'ro' or 'roo' exists on the system |
4.11 | #2248 | CLOUDSTACK-10056 | Bug | Minor | Cannot specify root disk controller when creating VM |
4.11 | #2243 | CLOUDSTACK-10019 | Bug | Major | template.properties has hardcoded id |
4.11 | #2261 | CLOUDSTACK-10068 | Bug | Major | smoketest/test_iso.py reports assertion failure |
4.11 | #2054 | CLOUDSTACK-9886 | Bug | Major | After restarting cloudstack-management , It takes time to connect hosts |
4.11 | #955 | CLOUDSTACK-8969 | Bug | Major | VPN customer gateway can't be registered with hostname |
4.9* | #2262 | CLOUDSTACK-10069 | Bug | Major | During release add sha512 suffix to sha 512 checksum/file |
4.11 | #2253 | CLOUDSTACK-10061 | Bug | Major | When starting a VM, make sure it has the correct volume access group |
4.11 | #2254 | CLOUDSTACK-10058 | Bug | Major | Error while opening the Settings tab in Secondary storage |
4.11 | #1733 | CLOUDSTACK-9563 | Bug | Major | ExtractTemplate returns malformed URL after migrating NFS to s3 |
4.11 | #2188 | CLOUDSTACK-10004 | Bug | Major | On deletion, Vmware volume snapshots are left behind with message 'the snapshot has child, can't delete it on the storage' |
4.11 | #914 | CLOUDSTACK-8939 | Bug | Major | VM Snapshot size with memory is not correctly calculated in cloud.usage_event (XenServer) |
4.11 | #1985 | CLOUDSTACK-9812 | Bug | Major | Update "updatePortForwardingRule" pi to include additional parameter to update the end port in case of port range |
4.11 | #2224 | CLOUDSTACK-10032 | Bug | Major | Database entries for templates created from snapshots disappear after management-server service restart |
4.11 | #2109 | CLOUDSTACK-9922 | Bug | Major | Unable to use 8081 port for Load balancing |
4.11 | #2216 | CLOUDSTACK-10027 | Bug | Minor | Repeating the same list for Internal LB in VPC |
4.11 | #2174 | CLOUDSTACK-9996 | Bug | Major | bug in network resource that juniper srx firewall |
4.11 | #2186 | CLOUDSTACK-10002 | Bug | Major | Restart network with cleanup spawns Redundant Routers(In Default Network Offering) |
4.11 | #1246 | CLOUDSTACK-9165 | Bug | Major | unable to use reserved IP range in a network for external VMs |
4.9* | #2241 | CLOUDSTACK-10052 | Bug | Major | Upgrading to 4.9.2 causes confusion/issues around dynamic roles usage |
4.11 | #2221 | CLOUDSTACK-10030 | Bug | Minor | Public IPs assgined to the VPC are not reacheable from inside VPC |
4.11 | #2154 | CLOUDSTACK-9967 | Bug | Major | [VPC] static nat on additional public subnet ip is not working. |
4.11 | #1878 | CLOUDSTACK-9717 | Bug | Major | [VMware] RVRs have mismatching MAC addresses for extra public NICs |
4.11 | #2013 | CLOUDSTACK-9734 | Bug | Major | Destroy VM Fails sometimes |
4.11 | #2159 | CLOUDSTACK-9964 | Bug | Critical | Snapahots are getting deleted if VM is assigned to another user |
4.11 | #2163 | CLOUDSTACK-9939 | Bug | Major | Volumes stuck in Creating state while restarting the Management Server when the volume creation is in progress |
4.11 | #1919 | CLOUDSTACK-9763 | Bug | Major | vpc: can not ssh to instance after vpc restart |
4.11 | #2215 | CLOUDSTACK-10026 | Bug | Major | Page for Internal LB VM stucking while loading |
4.11 | #2180 | CLOUDSTACK-9999 | Bug | Major | vpc tiers do not work if vpc has more than 8 tiers |
4.11 | #2223 | CLOUDSTACK-10031 | Bug | Major | change default configuration for router.aggregation.command.each.timeout from 3 to 600 seconds. |
4.11 | #2182 | CLOUDSTACK-10000 | Bug | Major | Remote access vpn user does not work if user password contains '#' |
4.9* | #2233 | CLOUDSTACK-10042 | Bug | Major | UI doesn't show ICMP Type and Code for Security Group rules |
4.11 | #2228 | CLOUDSTACK-10036 | Bug | Major | Decrease timeout of failing unit test HypervisorUtilsTest.java |
4.11 | #1774 | CLOUDSTACK-9608 | Bug | Major | Errored State and Abandoned state Templates are not displayed on UI |
4.11 | #2144 | CLOUDSTACK-9955 | Bug | Minor | Featured Templates/Iso's created by Root/admin user are not visible to Domain Admin users |
4.9* | #1966 | CLOUDSTACK-9801 | Bug | Critical | IPSec VPN does not work after vRouter reboot or recreate |
4.9* | #2220 | CLOUDSTACK-9708 | Bug | Major | Router deployment failed due to two threads start VR simultaneosuly |
4.11 | #1912 | CLOUDSTACK-9749 | Bug | Critical | cloudstack master vpc_internal_lb feature is broken as port 8080 is in use by password server on lb VM |
4.11 | #2138 | CLOUDSTACK-9944 | Bug | Major | In clustered Management Server, Sometimes hosts stays in disconnected state. |
4.11 | #883 | CLOUDSTACK-8906 | Bug | Major | /var/log/cloud/ doesn't get logrotated on xenserver |
4.11 | #2119 | CLOUDSTACK-9925 | Bug | Minor | Quota: fix tariff description for memory. Tariff value is for 1MB of RAM used per month (not hour). |
4.11 | #2145 | CLOUDSTACK-9697 | Bug | Major | Better error message on UI user if tries to shrink the VM ROOT volume size |
4.11 | #2137 | CLOUDSTACK-9950 | Bug | Major | listUsageRecords doesnt return required fields |
4.11 | #2008 | CLOUDSTACK-9840 | Bug | Major | Datetime format of snapshot events is inconsistent with other events |
4.11 | #2142 | CLOUDSTACK-9954 | Bug | Major | Unable to create service offering with networkrate=0 |
4.11 | #2171 | CLOUDSTACK-9990 | Bug | Minor | Account name is giving null in event tab after successful creation of account |
4.9* | #1925 | CLOUDSTACK-9751 | Bug | Major | if a public IP is assigned to a VM when VR is in starting state, it does not get applied to the vport in Nuage VSD |
4.9* | #1798 | CLOUDSTACK-9631 | Bug | Major | updateVMAffinityGroup must require one of the list parameter |
4.9* | #2201 | CLOUDSTACK-10016 | Bug | Major | VPC VR doesn't respond to DNS requests from remote access vpn clients |
4.11 | #1959 | CLOUDSTACK-9786 | Bug | Major | API reference guide entry for associateIpAddress needs a fix |
4.9* | #1933 | CLOUDSTACK-9569 | Bug | Critical | VR on shared network not starting on KVM |
4.11 | #2298 | CLOUDSTACK-9620 | Improvement | Major | Improvements for Managed Storage |
4.11 | #2152 | CLOUDSTACK-10229 | Improvement | Trivial | SSVM logging improvement when using Swift as secondary-storage |
4.11 | #2389 | CLOUDSTACK-10213 | Improvement | Major | Allow specify SSH key lengh |
4.11 | #2292 | CLOUDSTACK-10108 | Improvement | Minor | ConfigKey based approach for reading 'ping' configuaration for Management Server |
4.11 | #2384 | CLOUDSTACK-10210 | Improvement | Trivial | remove test file |
4.11 | #1554 | CLOUDSTACK-9602 | Improvement | Major | Add resource type name in response |
4.11 | #2035 | CLOUDSTACK-9867 | Improvement | Major | VM snapshots - not charged for the primary storage they use up |
4.11 | #1934 | CLOUDSTACK-9772 | Improvement | Major | Perform HEAD request to retrieve header information |
4.11 | #2348 | CLOUDSTACK-10196 | Improvement | Minor | Remove ejb-api 3.0 dependency |
4.11 | #2184 | CLOUDSTACK-10003 | Improvement | Major | automatic configure juniper srx/vsrx nat loopback |
4.11 | #2332 | CLOUDSTACK-10156 | Improvement | Minor | Fix Coverity new problems CID(1349987, 1349986, 1347248) |
4.11 | #2219 | CLOUDSTACK-9989 | Improvement | Major | Extend smoketests suite |
4.11 | #2005 | CLOUDSTACK-9450 | Improvement | Major | Network Offering for VPC based on DB flag |
4.11 | #2242 | CLOUDSTACK-9958 | Improvement | Major | Include tags of resources in listUsageRecords API |
4.11 | #2158 | CLOUDSTACK-9972 | Improvement | Major | Enhance listVolume API to include physical size and utilization. |
4.11 | #2004 | CLOUDSTACK-9832 | Improvement | Major | Do not assign public IP NIC to the VPC VR when the VPC offering does not contain VpcVirtualRouter as a SourceNat provider |
4.11 | #2238 | CLOUDSTACK-10053 | Improvement | Major | Performance improvement: Caching of external id's |
4.11 | #2296 | CLOUDSTACK-10007 | Improvement | Major | Isolation methods are hard coded enum, replace by registry |
4.11 | #2280 | CLOUDSTACK-10101 | Improvement | Major | Present the full domain name when listing user's domains |
4.11 | #2285 | CLOUDSTACK-9859 | Improvement | Major | Retirement of midonet plugin (final removal ticket) |
4.11 | #2266 | CLOUDSTACK-10073 | Improvement | Trivial | KVM host RAM overprovisioning |
4.11 | #2249 | CLOUDSTACK-10007 | Improvement | Major | Isolation methods are hard coded enum, replace by registry |
4.11 | #1443 | CLOUDSTACK-9314 | Improvement | Trivial | Remove unused code from XenServerStorageProcessor and change methods access level |
4.11 | #2044 | CLOUDSTACK-9877 | Improvement | Major | remove fully cloned deleted templates from primary storage |
4.11 | #2101 | CLOUDSTACK-9915 | Improvement | Major | ListSnapshots API does not provide virtual size information of the snapshots |
4.11 | #2123 | CLOUDSTACK-9914 | Improvement | Trivial | Alter quota_tariff to support currency values up to 5 decimal places |
4.11 | #1936 | CLOUDSTACK-9773 | Improvement | Major | Don't break API output with non-printable characters |
4.11 | #2236 | CLOUDSTACK-10044 | Improvement | Major | Update rule permission of a role permission |
4.11 | #2193 | CLOUDSTACK-10007 | Improvement | Major | Isolation methods are hard coded enum, replace by registry |
4.11 | #2130 | CLOUDSTACK-8961 | Improvement | Major | Making the VPN user management more intutive |
4.11 | #2200 | CLOUDSTACK-10015 | Improvement | Minor | Return storage provider with call to list storage pools |
4.11 | #2350 | Cloudstack 10170 - fixes resource tags security bugs and adds account tags support | |||
4.11 | #2383 | "isdynamicallyscalable" Field to UpdateTemplate Response | |||
4.11 | #2045 | Fix snmptrap alert bug | |||
4.11 | #2258 | Cloudstack 10064: Secondary storage Usage for uploadedVolume is not collected | |||
4.11 | #1637 | Command route not available on CentOS 7 | |||
4.11 | #2367 | Fix ACL_INBOUND/OUTBOUND rules for PrivateGateway | |||
4.11 | #2371 | README: Happy Holidays, may the cloud be with you in 2018! | |||
4.11 | #1437 | removed unused HypervDummyResourceBase class | |||
4.11 | #2346 | Add XenServer 7.1 and 7.2 interoperablility | |||
4.11 | #2359 | doc: replace virutal by virtual (typo) | |||
4.11 | #2324 | Remove annotation and "depends-on" declaration not needed at cloud-engine-storage-image | |||
4.11 | #1723 | Fix GroupBy (+ having) condition and tests | |||
4.11 | #2307 | packging: Raise compat mode to 9 | |||
4.11 | #2245 | increased jetty timeout | |||
4.11 | #2235 | repo has moved | |||
4.11 | #2039 | rbd: Use libvirt to create new volumes and not rados-java | |||
4.9* | #2094 | Agent logrotation | |||
4.9* | #2212 | appliance: fix progress version in Gemfile | |||
4.11 | #2205 | Add NULL checks for various objects in SolidFire integration test API | |||
4.11 | #1784 | CS-505: Marvin test to check VR internal DNS Service | |||
4.11 | #1655 | Fix ajaxviewer.js to solve console on Firefox | |||
4.11 | #2175 | 4.10 to 4.11 upgrade path | |||
4.10* | #2176 | Travis: use oraclejdk8 for 4.10+ |
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section lists the operating systems that are supported for running CloudStack Management Server. Note that specific versions of the operating systems are tested, so compatibility with CentOS 6.3 may not indicate compatibility with CentOS 6.2, 6.1 and so on.
CloudStack supports three hypervisor families, XenServer with XAPI, KVM, and VMware with vSphere.
CentOS 6.2+, 7.0+ with KVM
Ubuntu 14.04LTS, 16.04LTS, 18.04LTS with KVM
Red Hat Enterprise Linux 6.2 with KVM
XenServer versions 6.1, 6.2 SP1, 6.5, 7.0, 7.1, 7.2 with latest hotfixes, XCP-ng 7.4
注釈
It is now required to enable HA on the XenServer pool in order to recover from a pool-master failure. Please refer to the XenServer documentation.
VMware versions 5.0 Update 3, 5.1 Update 3, 5.5 Update 3b, 6.0 Update 2, and 6.5 GA
LXC Host Containers on RHEL 7
Windows Server 2012 R2 (with Hyper-V Role enabled)
Hyper-V 2012 R2
Oracle VM 3.0+
Bare metal hosts are supported, which have no hypervisor. These hosts can run the following operating systems:
RHEL or CentOS, v6.2 or 6.3
注釈
Use libvirt version 0.9.10 for CentOS 6.3
Fedora 17
Ubuntu 12.04
For more information, see the Hypervisor Compatibility Matrix in the `CloudStack Installation Guide`_.
The CloudStack Web-based UI should be compatible with any modern browser, but it's possible that some browsers will not render portions of the UI reliably, depending on their support of Web standards. For best results, one of the following browsers recommended:
The following hypervisors will no longer be tested from the first release AFTER 1st June 2018. And will be removed from the CloudStack codebase from the first release after 1st November 2018.
The following hypervisors will no longer be tested from the first release AFTER 1st February 2019. And will be removed from the CloudStack codebase from the first release after 1st July 2019.
Please see CloudStack Wiki for details.
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
For the complete list of API commands and params consult the `CloudStack Apidocs`_.
Name | Description |
---|---|
provisionCertificate |
Issues and propagates client certificate on a connected host/agent using configured CA plugin |
listElastistorPool |
Lists the pools of elastistor |
deleteServicePackageOffering |
Delete Service Package |
listAnnotations |
Lists annotations. |
enableHAForZone |
Enables HA for a zone |
enableHAForCluster |
Enables HA cluster-wide |
listNuageVspDomainTemplates |
Lists Nuage VSP domain templates |
listElastistorInterface |
Lists the network Interfaces of elastistor |
stopNetScalerVpx |
Stops a NetScalervm. |
disableHAForZone |
Disables HA for a zone |
revokeCertificate |
Revokes certificate using configured CA plugin |
updateSiocInfo |
Update SIOC info |
cloudianSsoLogin |
Generates single-sign-on login url for logged-in CloudStack user to access the Cloudian Management Console |
issueCertificate |
Issues a client certificate using configured or provided CA plugin |
listNetscalerControlCenter |
list control center |
listCAProviders |
Lists available certificate authority providers in CloudStack |
acquirePodIpAddress |
Allocates IP addresses in respective Pod of a Zone |
deleteManagementNetworkIpRange |
Deletes a management network IP range. This action is only allowed when no IPs in this range are allocated. |
addAnnotation |
add an annotation. |
deployNetscalerVpx |
Creates new NS Vpx |
listElastistorVolume |
Lists the volumes of elastistor |
cloudianIsEnabled |
Checks if the Cloudian Connector is enabled |
listNuageVspGlobalDomainTemplate |
Lists Nuage VSP domain templates |
listHostHAResources |
Lists host HA resources |
enableHAForHost |
Enables HA for a host |
registerNetscalerServicePackage |
Registers NCC Service Package |
listHostHAProviders |
Lists HA providers |
listCaCertificate |
Lists the CA public certificate(s) as support by the configured/provided CA plugin |
migrateVPC |
moves a vpc to another physical network |
configureHAForHost |
Configures HA for a host |
listRegisteredServicePackages |
lists registered service packages |
disableHAForCluster |
Disables HA cluster-wide |
linkAccountToLdap |
link a cloudstack account to a group or OU in ldap |
associateNuageVspDomainTemplate |
associate a vpc with a domain template |
moveUser |
Moves a user to another account |
disableHAForHost |
Disables HA for a host |
deleteNetscalerControlCenter |
Delete Netscaler Control Center |
migrateNetwork |
moves a network to another physical network |
uploadTemplateDirectDownloadCertificate |
Upload a certificate for HTTPS direct template download on KVM hosts |
registerNetscalerControlCenter |
Adds a netscaler control center device |
createManagementNetworkIpRange |
Creates a Management network IP range. |
removeAnnotation |
remove an annotation. |
releasePodIpAddress |
Releases a Pod IP back to the Pod |
Name | Description |
---|---|
createPod |
Response: New Parameters:
|
copyIso |
Response: New Parameters:
|
listHosts |
Response: New Parameters:
|
updateStoragePool |
Response: New Parameters:
|
rebootSystemVm |
Response: New Parameters:
|
listNetworks |
Response: New Parameters:
|
updateResourceLimit |
Response: New Parameters:
|
updateHost |
Request: New Parameters:
Response: New Parameters:
|
uploadVolume |
Response: New Parameters:
|
destroySystemVm |
Response: New Parameters:
|
scaleSystemVm |
Response: New Parameters:
|
listLdapConfigurations |
Request: New Parameters:
Response: New Parameters:
|
listTemplates |
Request: New Parameters:
Response: New Parameters:
|
createLoadBalancerRule |
Response: New Parameters:
|
updateNetworkOffering |
Request: New Parameters:
|
stopSystemVm |
Response: New Parameters:
|
createNetworkOffering |
Request: New Parameters:
|
listVolumesMetrics |
Request: New Parameters:
|
listSslCerts |
Response: New Parameters:
|
listPods |
Response: New Parameters:
|
listSnapshots |
Response: New Parameters:
|
listConfigurations |
Request: New Parameters:
|
listSystemVms |
Response: New Parameters:
|
detachVolume |
Response: New Parameters:
|
changeServiceForSystemVm |
Response: New Parameters:
|
createSnapshot |
Request: New Parameters:
Response: New Parameters:
|
listNics |
Response: New Parameters:
|
createSnapshotFromVMSnapshot |
Response: New Parameters:
|
listStoragePools |
Response: New Parameters:
|
addNicToVirtualMachine |
Request: New Parameters:
|
listExternalLoadBalancers |
Response: New Parameters:
|
updateIso |
Response: New Parameters:
|
prepareTemplate |
Response: New Parameters:
|
copyTemplate |
Response: New Parameters:
|
listNiciraNvpDeviceNetworks |
Response: New Parameters:
|
resizeVolume |
Response: New Parameters:
|
updateTemplate |
Response: New Parameters:
|
createVlanIpRange |
Request: New Parameters:
Response: New Parameters:
|
listPaloAltoFirewallNetworks |
Response: New Parameters:
|
deleteLdapConfiguration |
Request: New Parameters:
Response: New Parameters:
|
updateVolume |
Response: New Parameters:
|
updateVirtualMachine |
Request: New Parameters:
|
listDomains |
Request: New Parameters:
|
updateNetwork |
Response: New Parameters:
|
deleteTemplate |
Request: New Parameters:
|
createTemplate |
Response: New Parameters:
|
updatePortForwardingRule |
Request: New Parameters:
|
linkDomainToLdap |
Request: New Parameters:
Response: New Parameters:
|
listSrxFirewallNetworks |
Response: New Parameters:
|
prepareHostForMaintenance |
Response: New Parameters:
|
registerIso |
Request: New Parameters:
Response: New Parameters:
|
deployVirtualMachine |
Request: New Parameters:
|
listVlanIpRanges |
Response: New Parameters:
|
cancelHostMaintenance |
Response: New Parameters:
|
listVolumes |
Request: New Parameters:
Response: New Parameters:
|
lockUser |
Response: New Parameters:
|
createNetwork |
Request: New Parameters:
Response: New Parameters:
|
updateUser |
Response: New Parameters:
|
addHost |
Response: New Parameters:
|
attachVolume |
Response: New Parameters:
|
listUsers |
Response: New Parameters:
|
listResourceLimits |
Request: New Parameters:
Response: New Parameters:
|
disableUser |
Response: New Parameters:
|
listIsos |
Response: New Parameters:
|
listNetscalerLoadBalancerNetworks |
Response: New Parameters:
|
startSystemVm |
Response: New Parameters:
|
migrateVolume |
Response: New Parameters:
|
listEvents |
Request: New Parameters:
|
addLdapConfiguration |
Request: New Parameters:
Response: New Parameters:
|
updateConfiguration |
Request: New Parameters:
|
dedicatePublicIpRange |
Response: New Parameters:
|
revertSnapshot |
Response: New Parameters:
|
migrateSystemVm |
Response: New Parameters:
|
updateResourceCount |
Response: New Parameters:
|
listBrocadeVcsDeviceNetworks |
Response: New Parameters:
|
listUsageRecords |
Request: New Parameters:
|
enableUser |
Response: New Parameters:
|
registerTemplate |
Request: New Parameters:
Response: New Parameters:
|
createStoragePool |
Response: New Parameters:
|
findStoragePoolsForMigration |
Response: New Parameters:
|
createVolume |
Response: New Parameters:
|
listF5LoadBalancerNetworks |
Response: New Parameters:
|
updatePod |
Response: New Parameters:
|
enableStorageMaintenance |
Response: New Parameters:
|
createUser |
Response: New Parameters:
|
updateRolePermission |
Request: New Parameters:
Changed Parameters:
|
cancelStorageMaintenance |
Response: New Parameters:
|
updateLoadBalancerRule |
Request: New Parameters:
Response: New Parameters:
|
reconnectHost |
Response: New Parameters:
|
getUser |
Response: New Parameters:
|
listLoadBalancerRules |
Response: New Parameters:
|
uploadSslCert |
Request: New Parameters:
Response: New Parameters:
|
addBaremetalHost |
Response: New Parameters:
|
listCapacity |
Response: New Parameters:
|
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
As of Apache CloudStack 4.10, Java version required is 1.8 for the management-server, cloudstack-usage, KVM agent and system-VMs.
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
As of Apache CloudStack 4.9, dynamic roles feature can be enabled after an upgrade. Dyanamic roles feature is enabled by default on new installations.
Please read more about using dynamic roles feature and process of migrating to using this after an upgrade.
Starting 4.11, a new CA framework has been introduced that is used to secure agent and management server connections. Starting 4.11.1, KVM hosts in UP state that are not secured (i.e. the KVM host agent and libvirtd don't have CA framework provisioned X509 certificates) will show up as 'Unsecure'. A new button in the UI is available as well as an API to secure and onboard such hosts.
Please read more about host security and process of migrating existing KVM hosts and agents to use the new security feature.
OVS plug-in functionality is disrupted if ovsdaemon crashes
A critical functionality issue came out with CLOUDSTACK-6779. On XenServer it is observed that on VIF unplug Ovs-Vswitchd is crashing resulting in loosing all the openflow rules added to the bridge. Ovs daemon gets started and creates a bridge but configure openflow rules are lost resulting in the disruption of connectivity for the VM's on the host.
If using Active-Directory (LDAP/LDAPs) as user authentication; Upgrading to 4.3 and later require changes in Global Settings. After upgrading CloudStack to 4.3 or latest, following Global Settings must be change:
Global Settings | Default | New |
---|---|---|
ldap.user.object | inetOrgPerson | user |
ldap.username.attribute | uid | sAMAccountName |
32bit versions of systemvm templates are in the process of behing deprecated. Upgrade instructions from this Release Notes use 64bit templates.
While upgrading, on some environments the following may be required to be added in CloudStack's db.properties file:
# Add these to your db.properties file
db.cloud.driver=jdbc:mysql
db.usage.driver=jdbc:mysql
If you are experiencing CloudStack UI issues, please consider upgrading your tomcat instance to version 6.0.43 (tested version, but earlier versions prior to 6.0.37 might work as well), to address the tomcat response issues caused by latency between the browser/client and CloudStack Management server.
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.11.0.0 to latest CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
While running the existing 4.11.0.0 system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening /etc/apt/sources.list.d/cloudstack.list
on
any systems that have CloudStack packages installed.
This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.10
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.11
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
Now that you have the repository configured, it's time to upgrade
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then upg-sysvm48.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/centos/6/4.10/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.11/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now that you have the repository configured, it's time to upgrade the
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_'
where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_'
where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo48 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
/etc/cloudstack/agent/environment.properties
has aline that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.10.x to CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
Apache CloudStack 4.10.0.0 users who are upgrading to 4.11.0.0 should read the following discussion and workaround for a db-upgrade issue: http://markmail.org/message/f42kqr3mx4r4hgih
While running the existing 4.10.x system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening /etc/apt/sources.list.d/cloudstack.list
on
any systems that have CloudStack packages installed.
This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.10
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.11
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
Now that you have the repository configured, it's time to upgrade
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then upg-sysvm48.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/centos/6/4.10/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.11/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now that you have the repository configured, it's time to upgrade the
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_'
where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_'
where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo48 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
/etc/cloudstack/agent/environment.properties
has aline that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.9.x to CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
While running the existing 4.9.x system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening /etc/apt/sources.list.d/cloudstack.list
on
any systems that have CloudStack packages installed.
This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.8
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.9
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
Now that you have the repository configured, it's time to upgrade
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then upg-sysvm48.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/centos/6/4.8/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.9/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now that you have the repository configured, it's time to upgrade the
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_'
where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_'
where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo48 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
/etc/cloudstack/agent/environment.properties
has aline that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.8.x to CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
While running the existing 4.8.x system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening /etc/apt/sources.list.d/cloudstack.list
on
any systems that have CloudStack packages installed.
This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.8
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.9
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
Now that you have the repository configured, it's time to upgrade
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then upg-sysvm48.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/centos/6/4.8/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.9/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now that you have the repository configured, it's time to upgrade the
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_'
where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_'
where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo48 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
/etc/cloudstack/agent/environment.properties
has aline that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.7.x to CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
While running the existing 4.7.x system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening /etc/apt/sources.list.d/cloudstack.list
on
any systems that have CloudStack packages installed.
This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.7
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.9
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
Now that you have the repository configured, it's time to upgrade
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then upg-sysvm47.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/rhel/4.7/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.9/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now that you have the repository configured, it's time to upgrade the
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_'
where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_'
where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo47 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
/etc/cloudstack/agent/environment.properties
has aline that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.6.x to CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
While running the existing 4.6.x system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening /etc/apt/sources.list.d/cloudstack.list
on
any systems that have CloudStack packages installed.
This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.6
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.9
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
Now that you have the repository configured, it's time to upgrade
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then upg-sysvm46.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/rhel/4.6/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.9/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Remove the deprecated dependency for awsapi.
$ sudo rpm -e --nodeps cloudstack-awsapi
Now that you have the repository configured, it's time to upgrade the
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_'
where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_'
where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo46 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
/etc/cloudstack/agent/environment.properties
has aline that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.5.x to CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
While running the existing 4.5.x system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening /etc/apt/sources.list.d/cloudstack.list
on
any systems that have CloudStack packages installed.
This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.5
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.9
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
Now that you have the repository configured, it's time to upgrade
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then System-VMs and Virtual-Routers.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/rhel/4.5/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.9/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Remove the deprecated dependency for awsapi.
$ sudo rpm -e --nodeps cloudstack-awsapi
Now that you have the repository configured, it's time to upgrade the
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_'
where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_'
where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo45 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
/etc/cloudstack/agent/environment.properties
has aline that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
Once you've upgraded the packages on your management servers, you'll need to restart the system VMs. Ensure that the admin port is set to 8096 by using the "integration.api.port" global parameter. This port is used by the cloud-sysvmadm script at the end of the upgrade procedure. For information about how to set this parameter, see Setting Global Configuration Parameters in the Installation Guide. Changing this parameter will require management server restart. Also make sure port 8096 is open in your local host firewall to do this.
There is a script that will do this for you, all you need to do is run the script and supply the IP address for your MySQL instance and your MySQL credentials:
# nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a > sysvm.log 2>&1 &
You can monitor the log for progress. The process of restarting the system VMs can take an hour or more.
# tail -f sysvm.log
The output to sysvm.log
will look something like this:
Stopping and starting 1 secondary storage vm(s)...
Done stopping and starting secondary storage vm(s)
Stopping and starting 1 console proxy vm(s)...
Done stopping and starting console proxy vm(s).
Stopping and starting 4 running routing vm(s)...
Done restarting router(s).
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.4.x to CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
While running the existing 4.4.x system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening
/etc/apt/sources.list.d/cloudstack.list
on any systems that have CloudStack packages installed.This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.4
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.9
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then System-VMs and Virtual-Routers.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/rhel/4.4/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.9/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Remove the deprecated dependency for awsapi.
$ sudo rpm -e --nodeps cloudstack-awsapi
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
As of Apache CloudStack 4.4, CloudStack is not responsible to promote a new pool master on a Citrix XenServer pool. In case of failure of the pool master host, the responsability of electing a new pool master as been delegated back to the HA feature of XenServer. CloudStack remain responsible to honored HA capability for Compute Offerings of instances. The XenServer HA feature must be enabled only for the pool master, not for virtual-machines.
Make sure XenServer has enabled HA on the pool.
To test if poolHA is currently turned on:
xe pool-list params=all | grep -E "ha-enabled|ha-config"
Output when poolHA is ON:
ha-enabled ( RO): true
ha-configuration ( RO): timeout: 180
Output when poolHA is OFF:
ha-enabled ( RO): false
ha-configuration ( RO):
To enable poolHA, use something like this:
xe pool-enable-ha heartbeat-sr-uuids={SR-UUID} ha-config:timeout=180
Please refer to the XenServer documentation, as there are multiple ways of configuring it either on NFS, iSCSI or Fibre Channel. Be aware though, that the timeout setting is not documented. The default is 30 seconds so you may want to bump that towards 120-180 seconds.
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_' where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_'
where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo44 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
/etc/cloudstack/agent/environment.properties
has aline that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
If upgrading fresh installation of 4.4.0
If you are upgrading fresh installation of CloudStack 4.4.0, the following MySQL command must be executed before restarting the management server. If the system was running pre 4.4 and then upgraded to 4.4.0, the MySQL command is not required. Refer to: CLOUDSTACK-7813
use cloud;
ALTER TABLE `snapshot_policy` ADD `display` TINYINT( 1 ) NOT NULL DEFAULT '1';
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
Once you've upgraded the packages on your management servers, you'll need to restart the system VMs. Ensure that the admin port is set to 8096 by using the "integration.api.port" global parameter. This port is used by the cloud-sysvmadm script at the end of the upgrade procedure. For information about how to set this parameter, see Setting Global Configuration Parameters in the Installation Guide. Changing this parameter will require management server restart. Also make sure port 8096 is open in your local host firewall to do this.
There is a script that will do this for you, all you need to do is run the script and supply the IP address for your MySQL instance and your MySQL credentials:
# nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a > sysvm.log 2>&1 &
You can monitor the log for progress. The process of restarting the system VMs can take an hour or more.
# tail -f sysvm.log
The output to sysvm.log
will look something like this:
Stopping and starting 1 secondary storage vm(s)...
Done stopping and starting secondary storage vm(s)
Stopping and starting 1 console proxy vm(s)...
Done stopping and starting console proxy vm(s).
Stopping and starting 4 running routing vm(s)...
Done restarting router(s).
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
This section will guide you from CloudStack 4.3.x to CloudStack 4.12.
Any steps that are hypervisor-specific will be called out with a note.
We recommend reading through this section once or twice before beginning your upgrade procedure, and working through it on a test system before working on a production system.
注釈
The following upgrade instructions should be performed regardless of hypervisor type.
Upgrade Steps:
Most users of CloudStack manage the installation and upgrades of CloudStack with one of Linux's predominant package systems, RPM or APT. This guide assumes you'll be using RPM and Yum (for Red Hat Enterprise Linux or CentOS), or APT and Debian packages (for Ubuntu).
Create RPM or Debian packages (as appropriate) and a repository from the 4.12 source, or check the Apache CloudStack downloads page at http://cloudstack.apache.org/downloads.html for package repositories supplied by community members. You will need them for Management Server on Ubuntu or Management Server on CentOS/RHEL and Hypervisor: KVM hosts upgrade.
Instructions for creating packages from the CloudStack source are in the CloudStack Installation Guide.
While running the existing 4.3.x system, log in to the UI as root administrator.
In the left navigation bar, click Templates.
In Select view, click Templates.
Click Register template.
The Register template dialog box is displayed.
In the Register template dialog box, specify the following values (do not change these):
Hypervisor | Description |
---|---|
XenServer | Name: systemvm-xenserver-4.11.1 Description: systemvm-xenserver-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-xen.vhd.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: XenServer Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
KVM | Name: systemvm-kvm-4.11.1 Description: systemvm-kvm-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2 Zone: Choose the zone where this hypervisor is used Hypervisor: KVM Format: QCOW2 OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
VMware | Name: systemvm-vmware-4.11.1 Description: systemvm-vmware-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-vmware.ova Zone: Choose the zone where this hypervisor is used Hypervisor: VMware Format: OVA OS Type: Other Linux 64-bit (or Debian 8.0 or 9.0 64-bit) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
HyperV | Name: systemvm-hyperv-4.11.1 Description: systemvm-hyperv-4.11.1 URL: http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-hyperv.vhd.zip Zone: Choose the zone where this hypervisor is used Hypervisor: Hyper-V Format: VHD OS Type: Debian GNU/Linux 7.0 (64-bit) (or the highest Debian release number available in the dropdown) Extractable: no Password Enabled: no Public: no Featured: no Routing: no |
Watch the screen to be sure that the template downloads successfully and enters the READY state. Do not proceed until this is successful.
Backup current database
Stop your management server or servers. Run this on all management server hosts:
$ sudo service cloudstack-management stop
If you are running a usage server or usage servers, stop those as well:
$ sudo service cloudstack-usage stop
Make a backup of your MySQL database. If you run into any issues or need to roll back the upgrade, this will assist in debugging or restoring your existing environment. You'll be prompted for your password.
$ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
$ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
(KVM Only) If primary storage of type local storage is in use, the path for this storage needs to be verified to ensure it passes new validation. Check local storage by querying the cloud.storage_pool table:
$ mysql -u cloud -p -e "select id,name,path from cloud.storage_pool where pool_type='Filesystem'"
If local storage paths are found to have a trailing forward slash, remove it:
$ mysql -u cloud -p -e 'update cloud.storage_pool set path="/var/lib/libvirt/images" where path="/var/lib/libvirt/images/"';
If you are using Ubuntu, follow this procedure to upgrade your packages. If not, skip to step Management Server on CentOS/RHEL.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and APT repository, substitute your own URL for the ones used in these examples.
The first order of business will be to change the sources list for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent. (No changes should be necessary for hosts that are running VMware or Xen.)
CloudStack 4.12.0.0 requires installation of Java 8 JRE from an external PPA such as openjdk-r for Ubuntu distributions where the openjdk-8 packages are not available from the main repositories such as on Ubuntu 14.04. The PPA can be added before installation/upgrade:
$ sudo add-apt-repository ppa:openjdk-r/ppa $ sudo apt-get update
Users can also choose to install Java 8 distribution from Oracle, or Xulu-8 OpenJDK distribution from Azul.
Start by opening /etc/apt/sources.list.d/cloudstack.list
on
any systems that have CloudStack packages installed.
This file should have one line, which contains:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.3
We'll change it to point to the new package repository:
deb http://cloudstack.apt-get.eu/ubuntu precise 4.9
Setup the public key for the above repository:
wget -qO - http://cloudstack.apt-get.eu/release.asc | sudo apt-key add -
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Now update your apt package list:
$ sudo apt-get update
Now that you have the repository configured, it's time to upgrade
the cloudstack-management
package.
$ sudo apt-get upgrade cloudstack-management
If you use CloudStack usage server
$ sudo apt-get upgrade cloudstack-usage
If you are using CentOS or RHEL, follow this procedure to upgrade your packages. If not, skip to hypervisors section, then System-VMs and Virtual-Routers.
注釈
Community Packages: This section assumes you're using the community supplied packages for CloudStack. If you've created your own packages and yum repository, substitute your own URL for the ones used in these examples.
Apache CloudStack 4.12 require an upgrade of the MySQL connector on CentOS.
Starting with 4.9.0, cloudstack-management RPM's now depend on
mysql-connector-python
package.
Add a new yum repo /etc/yum.repos.d/mysql.repo
:
[mysql-community]
name=MySQL Community connectors
baseurl=http://repo.mysql.com/yum/mysql-connectors-community/el/$releasever/$basearch/
enabled=1
gpgcheck=1
Import GPG public key from MySQL:
rpm --import http://repo.mysql.com/RPM-GPG-KEY-mysql
Install mysql-connector
yum install mysql-connector-python
The first order of business will be to change the yum repository for each system with CloudStack packages. This means all management servers, and any hosts that have the KVM agent.
(No changes should be necessary for hosts that are running VMware or Xen.)
Start by opening /etc/yum.repos.d/cloudstack.repo
on any
systems that have CloudStack packages installed.
This file should have content similar to the following:
[apache-cloudstack]
name=Apache CloudStack
baseurl=http://cloudstack.apt-get.eu/rhel/4.3/
enabled=1
gpgcheck=0
If you are using the community provided package repository, change
the base url to http://cloudstack.apt-get.eu/centos/$releasever/4.9/
.
Setup the GPG public key if you wish to enable gpgcheck=1
:
rpm --import http://cloudstack.apt-get.eu/RPM-GPG-KEY
If you're using your own package repository, change this line to read as appropriate for your 4.12 repository.
Remove the deprecated dependency for awsapi.
$ sudo rpm -e --nodeps cloudstack-awsapi
Now that you have the repository configured, it's time to upgrade the
cloudstack-management
.
$ sudo yum upgrade cloudstack-management
If you use CloudStack usage server
$ sudo yum upgrade cloudstack-usage
(XenServer only) Copy vhd-utils file on CloudStack management servers.
Copy the file vhd-utils
to /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver
.
wget -P /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver \
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
As of Apache CloudStack 4.4, CloudStack is not responsible to promote a new pool master on a Citrix XenServer pool. In case of failure of the pool master host, the responsability of electing a new pool master as been delegated back to the HA feature of XenServer. CloudStack remain responsible to honored HA capability for Compute Offerings of instances. The XenServer HA feature must be enabled only for the pool master, not for virtual-machines.
Make sure XenServer has enabled HA on the pool.
To test if poolHA is currently turned on:
xe pool-list params=all | grep -E "ha-enabled|ha-config"
Output when poolHA is ON:
ha-enabled ( RO): true
ha-configuration ( RO): timeout: 180
Output when poolHA is OFF:
ha-enabled ( RO): false
ha-configuration ( RO):
To enable poolHA, use something like this:
xe pool-enable-ha heartbeat-sr-uuids={SR-UUID} ha-config:timeout=180
Please refer to the XenServer documentation, as there are multiple ways of configuring it either on NFS, iSCSI or Fibre Channel. Be aware though, that the timeout setting is not documented. The default is 30 seconds so you may want to bump that towards 120-180 seconds.
警告
For VMware hypervisor CloudStack management server packages must be build using "noredist". Refer to Building from Source.
(VMware only) Additional steps are required for each VMware cluster. These steps will not affect running guests in the cloud. These steps are required only for clouds using VMware clusters:
Stop the Management Server:
$ sudo service cloudstack-management stop
Generate the encrypted equivalent of your vCenter password:
$ java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh input="_your_vCenter_password_" password="`cat /etc/cloudstack/management/key`" verbose=false
Store the output from this step, we need to add this in cluster_details table and vmware_data_center tables in place of the plain text password
Find the ID of the row of cluster_details table that you have to update:
$ mysql -u <username> -p<password>
select * from cloud.cluster_details;
Update the plain text password with the encrypted one
update cloud.cluster_details set value = '_ciphertext_from_step_1_' where id = _id_from_step_2_;
Confirm that the table is updated:
select * from cloud.cluster_details;
Find the ID of the correct row of vmware_data_center that you want to update
select * from cloud.vmware_data_center;
update the plain text password with the encrypted one:
update cloud.vmware_data_center set password = '_ciphertext_from_step_1_' where id = _id_from_step_5_;
Confirm that the table is updated:
select * from cloud.vmware_data_center;
(KVM only) Additional steps are required for each KVM host. These steps will not affect running guests in the cloud. These steps are required only for clouds using KVM as hosts and only on the KVM hosts.
Configure the apt-repo43 as detailed above.
Stop the running agent.
$ sudo service cloudstack-agent stop
Update the agent software.
$ sudo apt-get upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Start the agent.
$ sudo service cloudstack-agent start
For KVM hosts, upgrade the cloudstack-agent
package
Configure the CloudStack RPM repository as detailed above.
$ sudo yum upgrade cloudstack-agent
Verify that the file /etc/cloudstack/agent/environment.properties
has a
line that reads:
paths.script=/usr/share/cloudstack-common
If not, add the line.
Restart the agent:
$ sudo service cloudstack-agent stop
$ sudo killall jsvc
$ sudo service cloudstack-agent start
Now it's time to start the management server
$ sudo service cloudstack-management start
If you use it, start the usage server
$ sudo service cloudstack-usage start
Once you've upgraded the packages on your management servers, you'll need to restart the system VMs. Ensure that the admin port is set to 8096 by using the "integration.api.port" global parameter. This port is used by the cloud-sysvmadm script at the end of the upgrade procedure. For information about how to set this parameter, see Setting Global Configuration Parameters in the Installation Guide. Changing this parameter will require management server restart. Also make sure port 8096 is open in your local host firewall to do this.
There is a script that will do this for you, all you need to do is run the script and supply the IP address for your MySQL instance and your MySQL credentials:
# nohup cloudstack-sysvmadm -d IPaddress -u cloud -p password -a > sysvm.log 2>&1 &
You can monitor the log for progress. The process of restarting the system VMs can take an hour or more.
# tail -f sysvm.log
The output to sysvm.log
will look something like this:
Stopping and starting 1 secondary storage vm(s)...
Done stopping and starting secondary storage vm(s)
Stopping and starting 1 console proxy vm(s)...
Done stopping and starting console proxy vm(s).
Stopping and starting 4 running routing vm(s)...
Done restarting router(s).
警告
NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED.
For the current documentation site goto: http://docs.cloudstack.apache.org
Apache CloudStack uses Jira to track its issues. All new features and bugs for 4.12.0.0 have been tracked in Jira, and have a standard naming convention of "CLOUDSTACK-NNNN" where "NNNN" is the issue number.
For the list of known issues, see Known Issues in 4.12.0.0.
Bug ID | Description |
---|---|
CLOUDSTACK-8862 | Issuing multiple attach-volume commands simultaneously can be problematic... |
CLOUDSTACK-9734 | VM Expunge Fails sometimes... |
CLOUDSTACK-9712 | Establishing Remote access VPN is failing due to mismatch of preshared secrets ... |
CLOUDSTACK-9363 | Can't start a Xen HVM vm when more than 2 volumes attached... |
CLOUDSTACK-9692 | Reset password service is not running on Redundant virtual routers.... |
CLOUDSTACK-9653 | listCapacity API shows incorrect output when sortBy=usage option is added... |
CLOUDSTACK-9675 | Cloudstack Metrics: Miscellaneous bug fixes... |
CLOUDSTACK-9727 | Password reset discrepancy in RVR when one of the Router is not in Running state... |
CLOUDSTACK-9726 | state of the rvr dose not change to update failed when updating rvrs in sequence... |
CLOUDSTACK-9668 | disksizeallocated of PrimaryStorage is different from the total size of a volume... |
CLOUDSTACK-9694 | Unable to limit the Public IPs in VPC... |
CLOUDSTACK-9716 | baremetal:rvr:vm deployment gets stuck in starting state (waiting for notificati... |
CLOUDSTACK-9701 | When host is disabled/removed, capacity_state for local storage in op_host_capac... |
CLOUDSTACK-9569 | VR on shared network not starting on KVM... |
CLOUDSTACK-8284 | Primary_storage vlaue is not updating in resource_count table after VM deletion... |
CLOUDSTACK-9697 | Better error message user if tries to shrink the VM ROOT volume size... |
CLOUDSTACK-9693 | Cluster status of an unmanaged cluster still shows enabled... |
CLOUDSTACK-9687 | disksizeallocated of PrimaryStorage is different from the total size of a volume... |
CLOUDSTACK-9560 | Root volume of deleted VM left unremoved... |
CLOUDSTACK-9559 | Deleting zone without deleting the secondary storage under the zone should not b... |
CLOUDSTACK-8896 | Allocated percentage of storage can go beyond 100%... |
CLOUDSTACK-9664 | updateRole: type can not be changed... |
CLOUDSTACK-9672 | MySQL HA doesn't work... |
CLOUDSTACK-9667 | Enable resourcecount.check.interval by default... |
CLOUDSTACK-9666 | Add configuration validation for the config drive global settings... |
CLOUDSTACK-9665 | List hosts api dose not report correct cpu and memory usage... |
CLOUDSTACK-9628 | Fix Template Size in Swift as Secondary Storage... |
CLOUDSTACK-9626 | Instance fails to start after unsuccesful compute offering upgrade.... |
CLOUDSTACK-9647 | NIC adapter type becomes e1000 , even after changing the global parameter "vmwar... |
CLOUDSTACK-9500 | VR configuration not clean properly after Public IP release... |
CLOUDSTACK-9175 | [VMware DRS] Adding new host to DRS cluster does not participate in load balanci... |
CLOUDSTACK-9651 | Fix Docker image build of simulator, marvin and management-server.... |
CLOUDSTACK-9589 | vmName entries from host_details table for the VM's whose state is Expunging sho... |
CLOUDSTACK-8849 | Usage job should stop usage generation in case of any exception... |
CLOUDSTACK-9558 | Cleanup the snapshots on the primary storage of Xenserver after VM/Volume is exp... |
CLOUDSTACK-9637 | Template create from snapshot does not populate vm_template_details... |
CLOUDSTACK-9627 | Template Doens't get sync when using Swift as Secondary Storage... |
CLOUDSTACK-9546 | X-Forwarded-For Headers Not Applied for HTTP Traffic in haproxy... |
CLOUDSTACK-9586 | When using local storage with Xenserver prepareTemplate does not work with multi... |
CLOUDSTACK-9635 | fix test_privategw_acl.py... |
CLOUDSTACK-8939 | VM Snapshot size with memory is not correctly calculated in cloud.usage_event (X... |
CLOUDSTACK-9182 | Some running VMs turned off on manual migration when auto migration failed while... |
CLOUDSTACK-9638 | Problems caused when inputting double-byte numbers for custom compute offerings... |
CLOUDSTACK-9640 | In KVM SSVM and CPVM may use the old cmdline data, if we fail to fetch the new c... |
CLOUDSTACK-9641 | In KVM SSVM and CPVM may use the old cmdline data, if we fail to fetch the new c... |
CLOUDSTACK-9642 | API documentation: getVirtualMachineUserData is in the wrong command category 'U... |
CLOUDSTACK-9634 | fix marvin test test_router_dhcp_opts failure... |
CLOUDSTACK-9184 | [VMware] vmware.ports.per.dvportgroup global setting is not useful from vCenter ... |
CLOUDSTACK-9595 | Transactions are not getting retried in case of database deadlock errors... |
CLOUDSTACK-9538 | Deleting Snapshot From Primary Storage Fails on RBD Storage if you already delet... |
CLOUDSTACK-9317 | Disabling static NAT on many IPs can leave wrong IPs on the router... |
CLOUDSTACK-9593 | User data check is inconsistent with python... |
CLOUDSTACK-9598 | wrong defaut gateway in guest VM with nics in isolated and a shared network... |
CLOUDSTACK-9614 | Attaching Volume to VM incorrectly checks resource limits... |
CLOUDSTACK-9572 | Snapshot on primary storage not cleaned up after Storage migration... |
CLOUDSTACK-9280 | System VM volumes cannot be deleted when there are no system VMs... |
CLOUDSTACK-8781 | Superfluous field during VPC creation... |
CLOUDSTACK-9498 | VR CsFile search utility methods fail when search string has char... |
CLOUDSTACK-9503 | The router script times out resulting in failure of deployment... |
CLOUDSTACK-9356 | VPC add VPN User fails same error as CLOUDSTACK-8927... |
CLOUDSTACK-9017 | VPC VR DHCP broken for multihomed guest VMs... |
CLOUDSTACK-9585 | UI doesn't give an option to select the xentools version for non ROOT users... |
CLOUDSTACK-9417 | Usage module refactoring... |
CLOUDSTACK-9555 | when a template is deleted and then copied over again , it is still marked as Re... |
CLOUDSTACK-9592 | Empty responses from site to site connection status are not handled propertly... |
CLOUDSTACK-9601 | Database upgrade algorithm is incorrect... |
CLOUDSTACK-9596 | migrateVirtualMachine API does not respect affinity group assignment... |
CLOUDSTACK-9578 | 6 out of 12 internal Lb rules were added to internal LB with same source ip duri... |
CLOUDSTACK-9557 | Deploy from VMsnapshot fails with exception if source template is removed or mad... |
CLOUDSTACK-9370 | Failed to create VPC: Unable to start VPC VR (VM DomainRouter) due to error in ... |
CLOUDSTACK-9591 | VMware dvSwitch Requires a Dummy, Standard vSwitch... |
CLOUDSTACK-9405 | listDomains API call takes an extremely long time to respond... |
CLOUDSTACK-8288 | Deleting Instance deletes unrelated snapshots... |
CLOUDSTACK-9577 | NPE whle deleting internal LB rules concurrently... |
CLOUDSTACK-9579 | Internal lb vm display page stuck in loading not showing any vms... |
CLOUDSTACK-9580 | Unexpected exception while deleting vms concurrently... |
CLOUDSTACK-9581 | Error in logs while concurrently creating 100 vms... |
CLOUDSTACK-9582 | Null pointer exceptions while deleting network concurrently... |
CLOUDSTACK-9576 | Nuage VSP Plugin : NPE while creating vpctier with wrong domain template name... |
CLOUDSTACK-9552 | KVM Security Groups do not allow DNS over TCP egress... |
CLOUDSTACK-9575 | ACS 4.9 + VMware/ESXi 6.0: Sometimes VRs are failing to fully come up into runni... |
CLOUDSTACK-9226 | Wrong number of sockets reported... |
CLOUDSTACK-9553 | Usage event is not getting recorded for snapshots in a specific scenario... |
CLOUDSTACK-9554 | Juniper Contrail plug-in is publishing events to wrong message bus... |
CLOUDSTACK-9551 | Pull KVM agent's tmp folder usage within its own folder structure... |
CLOUDSTACK-9571 | Management server should fence itself when there are recoverable DB errors OR wh... |
CLOUDSTACK-7827 | storage migration timeout, loss of data... |
CLOUDSTACK-9514 | MarvinTests: some host credentials are hardcoded, make them to be picked up from... |
CLOUDSTACK-9533 | gateway of public IP is not handled correctly when parsing the cmd_line.json to ... |
CLOUDSTACK-9529 | Marvin Tests do not clean up properly... |
CLOUDSTACK-9357 | DHCP DNS option is incorrect for Redundant Router config... |
CLOUDSTACK-9547 | ACS 4.9 + VMware: Unable to remove one of the NICs of a multi-nic guest VM... |
CLOUDSTACK-9474 | When attaching a pool to an instance the askingSize parameter of pool checker is... |
CLOUDSTACK-9542 | listNics API does not return data as per API documentation... |
CLOUDSTACK-9528 | SSVM Downloads (built-in) template multiple times... |
CLOUDSTACK-9541 | redundant VPC VR: issues when master and backup switch happens on failover... |
CLOUDSTACK-9540 | createPrivateGateway create private network does not create proper VLAN network ... |
CLOUDSTACK-9413 | VmIpFetchTask NullPointerException... |
CLOUDSTACK-9537 | cloudstack can only get network data of eth0 in the xenserver host ... |
CLOUDSTACK-9536 | PVLAN: DhcpPvlanRules command bieng sent before processing finalize start comman... |
CLOUDSTACK-9518 | test_01_test_vm_volume_snapshot Smoke Test Fails... |
CLOUDSTACK-9521 | Multiple Failures in the test_vpc_vpn Smoke Test Suite... |
CLOUDSTACK-9520 | test_01_primary_storage_iscsi Smoke Test Fails... |
CLOUDSTACK-9519 | test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Smoke Test Failure... |
CLOUDSTACK-9512 | listTemplates ids returns all templates instead of the requested ones... |
CLOUDSTACK-9508 | Change Script and SshHelper to use Duration instead of long timeout.... |
CLOUDSTACK-9318 | test_privategw_acl is failing intermittently.... |
CLOUDSTACK-9475 | Attaching to PVLAN on VMware dvSwtich fails on VR reboot... |
CLOUDSTACK-9490 | Cant shrink data volume... |
CLOUDSTACK-9483 | In developers.html there is a html </br> tag displayed as a plain text ... |
CLOUDSTACK-9371 | Regular user cannot resize volume... |
CLOUDSTACK-8398 | Changing compute offering checks account quota instead of project quota... |
CLOUDSTACK-9473 | Storage pool checker is ignored on resize and migrate volume.... |
CLOUDSTACK-9472 | Taking snapshot on a large VMware volume times out... |
CLOUDSTACK-9471 | Cross cluster migration did not kick in when HA is enabled and Host goes down... |
CLOUDSTACK-8937 | Xenserver - VM migration with storage fails in a clustered management server set... |
CLOUDSTACK-9144 | VMware in Basic Zone: VR never leaves the "Starting" state... |
CLOUDSTACK-9454 | cloudstack-agent logs rotation outdated... |
CLOUDSTACK-9407 | vm_network_map table doesnt get cleaned up properly... |
CLOUDSTACK-9225 | Isolation in Advanced Zone using PVLANs ... |
CLOUDSTACK-9431 | Network usage stats from VR in VPC are wrong after upgrading to ACS 4.7... |
CLOUDSTACK-9433 | Change of VM compute offering with additional storage tags not allowed... |
CLOUDSTACK-9439 | Domain admins can and must create service and disk offerings withouts storage an... |
CLOUDSTACK-9434 | NPE on attempting account/domain cleanup automation... |
CLOUDSTACK-9341 | Cannot upload volume when using Swift as secondary storage... |
CLOUDSTACK-9206 | Input issue on change service offering in Custom... |
CLOUDSTACK-9432 | Dedicate Cluster to Domain always creates an affinity group owned by the root do... |
CLOUDSTACK-9367 | Unable to start a HVM VM with more than 2 volumes attached using XenServer 6.5 ... |
CLOUDSTACK-9227 | service cloudstack-management stop returns [failed] due to log4j:WARN No appende... |
CLOUDSTACK-9427 | Sudo in wrong place when adding APT repository key... |
CLOUDSTACK-9425 | Storage statistics shown on CloudStack Primary storage is different from the sta... |
CLOUDSTACK-9426 | CloudStack does not re-scan for new LUNs for an iSCSI based storage on KVM host... |
CLOUDSTACK-9385 | Password Server is not running on RvR... |
CLOUDSTACK-9421 | Cannot add Instance... |
CLOUDSTACK-9419 | network_domain is a optional param while creating network, still createIpAlias.s... |
CLOUDSTACK-9412 | NullPointerException in CapacityManagerImpl... |
CLOUDSTACK-8921 | snapshot_store_ref table should store actual size of back snapshot in secondary ... |
CLOUDSTACK-9411 | Resize Root Volume UI Element Not Visible By Domain Admins or Users... |
CLOUDSTACK-8922 | Unable to delete IP tag... |
CLOUDSTACK-9253 | docker cloudstack simulator "ImportError: No module named marvin" when try to cr... |
CLOUDSTACK-8944 | Template download possible from new secondary storages before the download is 10... |
CLOUDSTACK-9394 | HttpTemplateDownloader Causes Hanging Connections... |
CLOUDSTACK-9393 | Wrong information returned for CheckS2SVpnConnectionsCommand when more than one ... |
CLOUDSTACK-9392 | Networks with redundant network offerings can be implemented with standalone vir... |
CLOUDSTACK-9390 | Dettaching data volume from a running vm created with root and data disk fails... |
CLOUDSTACK-9384 | AutoScalling without netscaller problem... |
CLOUDSTACK-9381 | updateVmNicIp doesn't update the gateway on NIC if the new IP is from a differen... |
CLOUDSTACK-8237 | add nic with instance throw java.lang.NullPointerException ... |
CLOUDSTACK-8584 | Management Server does not start - "cluster node IP should be valid local addres... |
CLOUDSTACK-9338 | listAccount returns 0 for cputotal and memorytotal if VMs are using a ComputeOff... |
CLOUDSTACK-9112 | deployVM thread is holding the global lock on network longer and cause delays an... |
CLOUDSTACK-8855 | Improve Error Message for Host Alert State... |
CLOUDSTACK-9372 | Cannot create PPTP VPN from guest instance to endpoint outside of the cloud... |
CLOUDSTACK-9360 | Set guest password not working with redundant routers... |
CLOUDSTACK-9224 | XenServer local storage added multiple times... |
CLOUDSTACK-9346 | Password server on VR is not working correctly when using a custom network offer... |
CLOUDSTACK-9189 | rVPC ACL doesn't recover after cleaning up through the NetworkGarbageCollector... |
CLOUDSTACK-9094 | Multiple threads are being used to collect the stats from the same VR... |
CLOUDSTACK-8775 | [HyperV]NPE while attaching Local storage volume to instance whose root volume i... |
CLOUDSTACK-8787 | Network Update from Standalone VR offering to RVR offering is failing with Runti... |
CLOUDSTACK-8877 | Show error msg on VPN user add failure.... |
CLOUDSTACK-8912 | listGuestOsMapping doesn't list by id or ostypeid.... |
CLOUDSTACK-8918 | [Install] Db Error after install - Unknown column 'iso_id1' in 'field list'... |
CLOUDSTACK-8929 | The list of VMs that can be assigned to a load balancer rule is not updated afte... |
CLOUDSTACK-9035 | [rVR] Password file is stored only with Master when we Reset Password on the VM... |
CLOUDSTACK-9176 | VMware: Shared datastore is accidentally picked up as a local datastore... |
CLOUDSTACK-9330 | Cloudstack creates a malformed meta-data file for baremetal instances... |
CLOUDSTACK-9329 | cloud-set-guest-password doesn't work on CentOS 7... |
CLOUDSTACK-9079 | ipsec service is not running after restarting virtual router... |
CLOUDSTACK-9316 | Problem to install in CentOS7 4.8... |
CLOUDSTACK-9311 | User cant resize VM root disk for XenServer... |
CLOUDSTACK-9312 | Duplicate instance IPs addresses... |
CLOUDSTACK-9310 | vpn user creation throwing error , but showing entry for the same user in VR con... |
CLOUDSTACK-9309 | Adding primary storage pool (basic rbd/DefaultPrimary) doesn't work if the rados... |
CLOUDSTACK-9307 | You can't mix two different linux distributions in a (KVM) Cluster... |
CLOUDSTACK-9303 | Cloudstack can't connect to CEPH with "/" in the user pw... |
CLOUDSTACK-8845 | list snapshot without id is failing with Unable to determine the storage pool of... |
CLOUDSTACK-8977 | cloudstack UI creates a session for users not yet logged in... |
CLOUDSTACK-9295 | EGRESS left on ACCEPT on isolated network... |
CLOUDSTACK-9292 | Failed to create snapshot with Swift on KVM... |
CLOUDSTACK-9286 | Delete Domain not working: Failed to clean up domain resources and sub domains, ... |
CLOUDSTACK-9284 | CloudStack usage service tries to get access to "cloud.event_usage" table only v... |
CLOUDSTACK-7857 | CitrixResourceBase wrongly calculates total memory on hosts with a lot of memory... |
CLOUDSTACK-9258 | listDomains API fails with NPE when getVolumeTotal is null... |
CLOUDSTACK-9247 | Templates go into "Not Ready" state after restarting manangement server with Swi... |
CLOUDSTACK-9232 | Usage data does not reflect changes of VM parameters... |
CLOUDSTACK-9212 | Cannot Connect to VPN with Public IP on Windows 7 L2TP IPSEC VPN Client... |
CLOUDSTACK-9243 | createVlanIpRange API unusable because forced to used DB IDs... |
CLOUDSTACK-9234 | Problem increasing value of vm.password.length global parameter... |
CLOUDSTACK-8966 | listCapacity produces wrong result for CAPACITY_TYPE_MEMORY and CAPACITY_TYPE_CP... |
CLOUDSTACK-6448 | VPC router won't be created when a private gateway is defined. ... |
CLOUDSTACK-9193 | Once password has been fetched, the state does not get updated to "saved_passwor... |
CLOUDSTACK-9191 | ACS 4.6 Custom Offer Signature mismatch "ERROR : "unable to verify user credenti... |
CLOUDSTACK-9190 | ACs is falling to identify the version of pure Xen hypervisor + XAPI hosts.... |
CLOUDSTACK-8806 | Powered off VM's not showing up in WebUI... |
CLOUDSTACK-9170 | Register template in UI does not show zones in dropdown listbox... |
CLOUDSTACK-9173 | new Quota plugins: CPU Used column is CPU Free column... |
CLOUDSTACK-9171 | Templates registered with CrossZones have no zone name listed... |
CLOUDSTACK-9169 | createNetwork API call takes a long time when ispersistent=True... |
CLOUDSTACK-9141 | Userdata is not validated for valid base64... |
CLOUDSTACK-9167 | Restore VM - Missing action events for started and completed states... |
CLOUDSTACK-9090 | Cannot delete zone if it was used and not all elements were cleanly removed... |
CLOUDSTACK-8936 | wrong values from network.throttling.rate / vm.network.throttling.rate... |
CLOUDSTACK-9096 | Deleted projects cannot be billed... |
CLOUDSTACK-9061 | cannot deploy Instance when using Swift as Secondary Storage... |
CLOUDSTACK-9089 | Static route added to VPC Private Gateway doesn't become active... |
CLOUDSTACK-9085 | Creation of a instance on a Guest Network with Secondary VLAN fail... |
CLOUDSTACK-8807 | Cloudstack WebUI sometimes bothers about the selected project, sometimes not... |
CLOUDSTACK-9036 | IPV6 CIDR not recognized (Parser BUG)... |
CLOUDSTACK-9057 | upgrade to 4.6 requires 4.5 templates... |
CLOUDSTACK-9059 | Snapshot on S3 fails when delta is zero... |
CLOUDSTACK-9060 | Create volume / template from S3 snapshot fails... |
CLOUDSTACK-7375 | [UI] RBD not available under list of protocols for primary storage during zone c... |
CLOUDSTACK-9028 | GloboDNS doen´t work with "Shared Networks"... |
CLOUDSTACK-8902 | Restart Network fails in EIP/ELB zone... |
CLOUDSTACK-8994 | Activity of the password server isn't logged.... |
CLOUDSTACK-8889 | Primary Storage count for an account does not decrease when a Data Disk is delet... |
CLOUDSTACK-8982 | Disk Offering properties do no show the domain which are included in... |
CLOUDSTACK-8724 | Multiple IP's on management server break patchviasocket.pl... |
CLOUDSTACK-8945 | rp_filter=1 not set on VPC private gateway initially, but is set after restart o... |
CLOUDSTACK-8942 | snapshot of root drives failing... |
CLOUDSTACK-8938 | Assigning portforward in Isolated "Offering for Isolated networks with Source Na... |
CLOUDSTACK-8914 | cannot delete pod, NPE... |
CLOUDSTACK-8909 | Web Console not working with Hyper-V Windows Server 2012 R2... |
CLOUDSTACK-8771 | [Automation]Volume migration between pools times out in ACS, but the migration c... |
CLOUDSTACK-8782 | If pagesize is greater than default.page.size in API call, and default.page.size... |
CLOUDSTACK-8846 | Performance issue in GUI - API command listVirtualMachines ... |
CLOUDSTACK-8839 | close concurrent ip disable static nat commands for virtual router will cause so... |
CLOUDSTACK-8831 | Powered off VM's are not removed from ESXi Host when putting the Host in Mainten... |
CLOUDSTACK-7853 | Hosts that are temporary Disconnected and get behind on ping (PingTimeout) turn ... |
CLOUDSTACK-8747 | The agent doesn't reconnect if there are stopped VMs... |
CLOUDSTACK-8809 | Secondary Storage does not clean-up after time-out... |
CLOUDSTACK-8796 | the api calll linkdomaintoldap should fail if admin is given and an account isnt... |
CLOUDSTACK-7591 | Dynamic scaling doesn't work in CloudStack 4.4 with vmware... |
CLOUDSTACK-8437 | Automation: test_04_create_multiple_networks_with_lb_1_network_offering - Fails... |
CLOUDSTACK-8732 | Unable to resize RBD volume: "Cannot determine resize type from pool type RBD"... |
CLOUDSTACK-8631 | [Automation]fixing test/integration/component/test_ss_max_limits.py... |
CLOUDSTACK-8142 | [Hyper-V] While creating system vms attach systemvm.iso directly from sec storag... |
CLOUDSTACK-8448 | Attach volume - throws an exception, preferably should give a proper error on UI... |
CLOUDSTACK-8770 | [HyperV]Proper Message should be displayed when snapshot fails on Hyper-V... |
CLOUDSTACK-8768 | [HyperV]Migrating volume from cluster wide storage to Zone wide storage or vicev... |
CLOUDSTACK-7839 | Unable to live migrate an instance to another host in a cluster from which the t... |
CLOUDSTACK-7364 | NetScaler won't create the Public VLAN and Bind the IP to it... |
CLOUDSTACK-7618 | Baremetal - AddHost() API docs should include parameters - cpunumber,cpuspeed,me... |
CLOUDSTACK-8389 | Volume to Template Conversion Broken... |
CLOUDSTACK-8442 | [VMWARE] VM Cannot be powered on after restoreVirtualMachine ... |
CLOUDSTACK-8699 | Extra acquired public ip is assigned to wrong eth device... |
CLOUDSTACK-8694 | monitorServices.py is not running as a cron job in VR... |
CLOUDSTACK-8691 | deployVirtualMachine should not error when userdata is provided if at least one ... |
CLOUDSTACK-8328 | NPE while deleteing instance which has custom compute offering... |
CLOUDSTACK-8695 | Dashboard Alerts for VR Service failures does not contain the service's name... |
CLOUDSTACK-8684 | Upgrade from 4.3.1 to 4.5.1 does not update resource for existing XenServer 6.0.... |
CLOUDSTACK-8680 | problem parsing RabbitMQ events... |
CLOUDSTACK-8679 | Changes to RabbitMQ events notification framework not documented anywhere... |
CLOUDSTACK-8674 | Custom ISO with reboot --eject in kickstart does not get detached at reboot... |
CLOUDSTACK-8670 | Delay in VM's console... |
CLOUDSTACK-8657 | java.awt.HeadlessException exception in console proxy on mouse clicks in XenServ... |
CLOUDSTACK-8639 | fixing calculation mistakes in component/test_ss_domain_limits.py... |
CLOUDSTACK-8588 | Remove redundant skip test for LXC ... |
CLOUDSTACK-8556 | Unable to delete attached volume in cleanup... |
CLOUDSTACK-8549 | Update assert statements in testpath_disable_enable_zone.py testpath ... |
CLOUDSTACK-8626 | [Automation]fixing test/integration/component/test_ps_max_limits.py for lxc hyp... |
CLOUDSTACK-8627 | Unable to remove IP from NIC.... |
CLOUDSTACK-8620 | [Automation-lxc]skip test cases if rbd storage is not available in lxc setup ... |
CLOUDSTACK-8158 | After the host reboots, the system will run out vm management IP, no matter how ... |
CLOUDSTACK-8583 | [Automation]fixing issue related to script test/integration/component/test_stop... |
CLOUDSTACK-8619 | Adding secondary IP address results in error... |
CLOUDSTACK-8618 | Name or displaytext can not be same across different templates... |
CLOUDSTACK-8614 | Usage records have no valid records for migrated volumes... |
CLOUDSTACK-8577 | [Automation] fixing script test/integration/component/maint/testpath_disable_en... |
CLOUDSTACK-8587 | Storage migration issue on secondary storage... |
CLOUDSTACK-8578 | listVirtualMachines does not return deleted machines when zone is specified... |
CLOUDSTACK-8574 | Skip testcases including data disk creation for LXC if storagePool type is not R... |
CLOUDSTACK-8576 | Skip tests as snapshots and template are not supported on LXc... |
CLOUDSTACK-8572 | Unable to deploy VM as no storage pool found in UP state in setup... |
CLOUDSTACK-8555 | Skip testcase for HyperV as it doesn't support volume resize operationa... |
CLOUDSTACK-8201 | KVM Snapshot to Template to New Instance is not working... |
CLOUDSTACK-8148 | dvSwitch Broken with java.lang.NumberFormatException... |
CLOUDSTACK-8558 | KVM snapshots are failing at Ubuntu 14.04 LTS... |
CLOUDSTACK-8557 | Issue while starting Clound-Manager... |
CLOUDSTACK-8553 | Unable to launch VM from template because of permission issue... |
CLOUDSTACK-8550 | Attempt to delete already deleted VM... |
CLOUDSTACK-8547 | Modify hypervisor check in testpath_snapshot_hardning.py testpath... |
CLOUDSTACK-8552 | Update test_concurrent_snapshots_limits.py asesrt statement... |
CLOUDSTACK-8544 | IP Stuck in Releasing State Prevents VM Create... |
CLOUDSTACK-8532 | Modification in setupClass to skip testcases rather than throwing exception... |
CLOUDSTACK-8533 | Local variable accessed as a class variable... |
CLOUDSTACK-8354 | [VMware] restoreVirtualMachine should forcefully power off VM... |
CLOUDSTACK-8519 | SystemVMs do not connect to MS running on Java 8... |
CLOUDSTACK-8451 | Static Nat show wrong remote IP in VM behind VPC... |
CLOUDSTACK-8470 | Available Primary Storage Capacity Displayed Incorrectly after Upgrade to ACS 4.... |
CLOUDSTACK-7907 | UI heavily broken... |
CLOUDSTACK-8469 | wrong global config mount.parent - /var/lib/cloud/mnt ... |
CLOUDSTACK-8446 | VM reboot operation should make sure there's a VR running... |
CLOUDSTACK-8436 | Computing offering with High avaliability does not work properly.... |
CLOUDSTACK-8435 | When the ssvm agent restarts, every template generated from a VM snapshot disapp... |
CLOUDSTACK-8434 | tag filtering hanging on returning values for listVirtualMachines... |
CLOUDSTACK-8408 | unused i18n keys... |
CLOUDSTACK-8173 | listCapacity api call returns less response tags than expected... |
CLOUDSTACK-8371 | Unable to Delete VPC After configuring site-to-site VPN... |
CLOUDSTACK-8370 | volume download link will not be deleted... |
CLOUDSTACK-8358 | Cloudstack 4.4.2 Error adding devcloud host IOException scp error: Invalid locat... |
CLOUDSTACK-8281 | VPN Gateway don't create when create Site-to-Site VPN... |
CLOUDSTACK-8297 | vnc listen address... |
CLOUDSTACK-8228 | Allow adding hosts from different subnets in same POD... |
CLOUDSTACK-8260 | listLBStickinessPolicies with lbruleid as argument gives empty return... |
CLOUDSTACK-8242 | Cloudstack install Hosts for vmware... |
CLOUDSTACK-7449 | "CloudRuntimeException: Can not see storage pool" after trying to add a new host... |
CLOUDSTACK-8202 | Templates /IOS items order list is not persistent... |
CLOUDSTACK-8199 | Incorrect size when volumes and templates created from image snapshots... |
CLOUDSTACK-8189 | security group can't enable... |
CLOUDSTACK-7640 | Failed to delete template that failed to download... |
CLOUDSTACK-8185 | GUI and failed async commands issue... |
CLOUDSTACK-7365 | Upgrading without proper systemvm template corrupt cloudstack management server... |
CLOUDSTACK-8092 | Unable to start instance due to failed to configure ip alias on the router as a ... |
CLOUDSTACK-8073 | listNetworkACLItem does not return cidrs... |
CLOUDSTACK-8004 | Xenserver Thin Provisioning... |
CLOUDSTACK-7789 | I was updated from version 4.4.0 of Apache CloudStack to 4.4.1. It does not work... |
CLOUDSTACK-7988 | Template status is empty while the template is creating.... |
CLOUDSTACK-7936 | System VM's are getting stuck in starting mode after Hypervisor reboot... |
CLOUDSTACK-7858 | Implement separate network throttling rate on VR's Public NIC... |
CLOUDSTACK-7342 | Fail to delete template while using Swift as Secondary Storage... |
CLOUDSTACK-7782 | The 4.4.1 web UI is missing "Acquire new IP address" buton in NIC section... |
CLOUDSTACK-7819 | Cannot add tags to project... |
CLOUDSTACK-7813 | Management server is stuck after upgrade from 4.4.0 to 4.4.1... |
CLOUDSTACK-7751 | Autoscaling without netscaler... |
CLOUDSTACK-7750 | Xen server can not mount secondary CIFS storage... |
CLOUDSTACK-7578 | XenServerInvestigator should do better investigation in case of OVS or other net... |
CLOUDSTACK-7406 | Templates using Swift provider reports physical size, and not the virtual size i... |
CLOUDSTACK-7443 | Cannot launch SSVMs when using Swift as Secondary Storage... |