[GitHub] [cloudstack] bdonnahue commented on issue #2583: CPU cores per socket setting not functional
bdonnahue commented on issue #2583: CPU cores per socket setting not functional URL: https://github.com/apache/cloudstack/issues/2583#issuecomment-473124757 Hey, thanks for sharing that info about the workaround while we wait for a better solution. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3211: ui: remove CA certificate button from UI
blueorangutan commented on issue #3211: ui: remove CA certificate button from UI URL: https://github.com/apache/cloudstack/pull/3211#issuecomment-473088067 Trillian test result (tid-3423) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 24563 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3211-t3423-kvm-centos7.zip Smoke tests completed. 70 look OK, 0 have error(s) Only failed tests results shown below: Test | Result | Time (s) | Test File --- | --- | --- | --- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3183: Improvements after jquery update
blueorangutan commented on issue #3183: Improvements after jquery update URL: https://github.com/apache/cloudstack/pull/3183#issuecomment-473087768 Trillian test result (tid-3424) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 24476 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3183-t3424-kvm-centos7.zip Intermittent failure detected: /marvin/tests/smoke/test_password_server.py Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py Smoke tests completed. 67 look OK, 3 have error(s) Only failed tests results shown below: Test | Result | Time (s) | Test File --- | --- | --- | --- test_03_vpc_privategw_restart_vpc_cleanup | `Failure` | 149.49 | test_privategw_acl.py test_04_rvpc_privategw_static_routes | `Failure` | 265.72 | test_privategw_acl.py test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | `Failure` | 336.16 | test_vpc_redundant.py test_04_rvpc_network_garbage_collector_nics | `Failure` | 73.82 | test_vpc_redundant.py test_02_VPC_default_routes | `Failure` | 731.64 | test_vpc_router_nics.py This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[cloudstack] 01/01: Updating pom.xml version numbers for release 4.12.0.0
This is an automated email from the ASF dual-hosted git repository. gabriel pushed a commit to branch 4.12.0.0-RC20190314T1011 in repository https://gitbox.apache.org/repos/asf/cloudstack.git commit a137398bf106028d2fd5344d599fcd2b560d2944 Author: GabrielBrascher AuthorDate: Thu Mar 14 10:11:46 2019 -0300 Updating pom.xml version numbers for release 4.12.0.0 Signed-off-by: GabrielBrascher --- agent/pom.xml | 2 +- api/pom.xml | 2 +- client/pom.xml| 2 +- core/pom.xml | 2 +- debian/changelog | 6 ++ developer/pom.xml | 2 +- engine/api/pom.xml| 2 +- engine/components-api/pom.xml | 2 +- engine/network/pom.xml| 2 +- engine/orchestration/pom.xml | 2 +- engine/pom.xml| 2 +- engine/schema/pom.xml | 2 +- engine/service/pom.xml| 2 +- engine/storage/cache/pom.xml | 2 +- engine/storage/configdrive/pom.xml| 2 +- engine/storage/datamotion/pom.xml | 2 +- engine/storage/image/pom.xml | 2 +- engine/storage/integration-test/pom.xml | 2 +- engine/storage/pom.xml| 2 +- engine/storage/snapshot/pom.xml | 2 +- engine/storage/volume/pom.xml | 2 +- framework/agent-lb/pom.xml| 2 +- framework/ca/pom.xml | 2 +- framework/cluster/pom.xml | 2 +- framework/config/pom.xml | 2 +- framework/db/pom.xml | 2 +- framework/direct-download/pom.xml | 2 +- framework/events/pom.xml | 2 +- framework/ipc/pom.xml | 2 +- framework/jobs/pom.xml| 2 +- framework/managed-context/pom.xml | 2 +- framework/pom.xml | 2 +- framework/quota/pom.xml | 2 +- framework/rest/pom.xml| 2 +- framework/security/pom.xml| 2 +- framework/spring/lifecycle/pom.xml| 2 +- framework/spring/module/pom.xml | 2 +- plugins/acl/dynamic-role-based/pom.xml| 2 +- plugins/acl/static-role-based/pom.xml | 2 +- plugins/affinity-group-processors/explicit-dedication/pom.xml | 2 +- plugins/affinity-group-processors/host-affinity/pom.xml | 2 +- plugins/affinity-group-processors/host-anti-affinity/pom.xml | 2 +- plugins/alert-handlers/snmp-alerts/pom.xml| 2 +- plugins/alert-handlers/syslog-alerts/pom.xml | 2 +- plugins/api/discovery/pom.xml | 2 +- plugins/api/rate-limit/pom.xml| 2 +- plugins/api/solidfire-intg-test/pom.xml | 2 +- plugins/api/vmware-sioc/pom.xml | 2 +- plugins/ca/root-ca/pom.xml| 2 +- plugins/database/mysql-ha/pom.xml | 2 +- plugins/database/quota/pom.xml| 2 +- plugins/dedicated-resources/pom.xml | 2 +- plugins/deployment-planners/implicit-dedication/pom.xml | 2 +- plugins/deployment-planners/user-concentrated-pod/pom.xml | 2 +- plugins/deployment-planners/user-dispersing/pom.xml | 2 +- plugins/event-bus/inmemory/pom.xml| 2 +- plugins/event-bus/kafka/pom.xml | 2 +- plugins/event-bus/rabbitmq/pom.xml| 2 +- plugins/ha-planners/skip-heurestics/pom.xml | 2 +- plugins/host-allocators/random/pom.xml| 2 +- plugins/hypervisors/baremetal/pom.xml | 2 +- plugins/hypervisors/hyperv/pom.xml| 2 +- plugins/hypervisors/kvm/pom.xml | 2 +- plugins/hypervisors/ovm/pom.xml | 2 +- plugins/hypervisors/ovm3/pom.xml | 2 +-
[cloudstack] branch 4.12.0.0-RC20190314T1011 created (now a137398)
This is an automated email from the ASF dual-hosted git repository. gabriel pushed a change to branch 4.12.0.0-RC20190314T1011 in repository https://gitbox.apache.org/repos/asf/cloudstack.git. at a137398 Updating pom.xml version numbers for release 4.12.0.0 This branch includes the following new commits: new a137398 Updating pom.xml version numbers for release 4.12.0.0 The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[GitHub] [cloudstack] blueorangutan commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
blueorangutan commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227#issuecomment-473045156 Trillian test result (tid-3421) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 26752 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3227-t3421-kvm-centos7.zip Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py Smoke tests completed. 68 look OK, 0 have error(s) Only failed tests results shown below: Test | Result | Time (s) | Test File --- | --- | --- | --- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3183: Improvements after jquery update
blueorangutan commented on issue #3183: Improvements after jquery update URL: https://github.com/apache/cloudstack/pull/3183#issuecomment-472902932 @PaulAngus a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] PaulAngus commented on issue #3183: Improvements after jquery update
PaulAngus commented on issue #3183: Improvements after jquery update URL: https://github.com/apache/cloudstack/pull/3183#issuecomment-472902521 @blueorangutan test This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3211: ui: remove CA certificate button from UI
blueorangutan commented on issue #3211: ui: remove CA certificate button from UI URL: https://github.com/apache/cloudstack/pull/3211#issuecomment-472901124 @PaulAngus a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] PaulAngus commented on issue #3211: ui: remove CA certificate button from UI
PaulAngus commented on issue #3211: ui: remove CA certificate button from UI URL: https://github.com/apache/cloudstack/pull/3211#issuecomment-472900858 @blueorangutan test This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3183: Improvements after jquery update
blueorangutan commented on issue #3183: Improvements after jquery update URL: https://github.com/apache/cloudstack/pull/3183#issuecomment-472873773 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2635 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3211: ui: remove CA certificate button from UI
blueorangutan commented on issue #3211: ui: remove CA certificate button from UI URL: https://github.com/apache/cloudstack/pull/3211#issuecomment-472873772 Packaging result: ✔centos6 ✔centos7 ✖debian. JID-2634 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3214: ui: use executable template filter for users
blueorangutan commented on issue #3214: ui: use executable template filter for users URL: https://github.com/apache/cloudstack/pull/3214#issuecomment-472871699 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2633 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] wido commented on a change in pull request #3186: Add possibility to set KVM MTU size for NIC
wido commented on a change in pull request #3186: Add possibility to set KVM MTU size for NIC URL: https://github.com/apache/cloudstack/pull/3186#discussion_r265576235 ## File path: plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java ## @@ -1191,6 +1197,9 @@ public String toString() { if (_networkName != null) { netBuilder.append("\n"); } +if (NetUtils.isValidMtu(_mtu)) { Review comment: As we check it here we can just pass a null when the MTU is not set. No need to hardcode 1500 in the code. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] wido commented on a change in pull request #3186: Add possibility to set KVM MTU size for NIC
wido commented on a change in pull request #3186: Add possibility to set KVM MTU size for NIC URL: https://github.com/apache/cloudstack/pull/3186#discussion_r265576614 ## File path: utils/src/main/java/com/cloud/utils/net/NetUtils.java ## @@ -487,6 +490,10 @@ public static boolean validIpRange(final String startIP, final String endIP) { return startIPLong <= endIPLong; } +public static boolean isValidMtu(final int mtu) { Review comment: Shouldn't we check for null here as well? If null, return false This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] wido commented on a change in pull request #3186: Add possibility to set KVM MTU size for NIC
wido commented on a change in pull request #3186: Add possibility to set KVM MTU size for NIC URL: https://github.com/apache/cloudstack/pull/3186#discussion_r265575893 ## File path: plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java ## @@ -203,6 +202,12 @@ public boolean parseDomainXML(String domXML) { String model = getAttrValue("model", "type", nic); String slot = StringUtils.removeStart(getAttrValue("address", "slot", nic), "0x"); +String mtuAttrValue = getAttrValue("mtu", "size", nic); +int mtu = 1500; +if (mtuAttrValue != null) { +mtu = Integer.parseInt(mtuAttrValue); +} Review comment: So we always set the MTU to 1500 if it's not set. Shouldn't we just ignore the MTU if it's not set? Leave it to the libvirt default unless somebody specifies it This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
svn commit: r32920 - in /dev/cloudstack/4.12.0.0: apache-cloudstack-4.12.0.0-src.tar.bz2 apache-cloudstack-4.12.0.0-src.tar.bz2.asc apache-cloudstack-4.12.0.0-src.tar.bz2.md5 apache-cloudstack-4.12.0.
Author: gabriel Date: Thu Mar 14 13:17:40 2019 New Revision: 32920 Log: Committing release candidate artifacts for 4.12.0.0 to dist/dev/cloudstack in preparation for release vote Added: dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2 (with props) dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.asc dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.md5 dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.sha512 Added: dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2 == Binary file - no diff available. Propchange: dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2 -- svn:mime-type = application/octet-stream Added: dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.asc == --- dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.asc (added) +++ dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.asc Thu Mar 14 13:17:40 2019 @@ -0,0 +1,17 @@ +-BEGIN PGP SIGNATURE- +Version: GnuPG v1 + +iQIcBAABAgAGBQJcilMYAAoJEOgcqc4lkIRVqEsQANJ1ouAHaYtewL4awvl5kbFJ +HBG0b0HaHLd9Nnp/1xDUnZfptKwGGRe8a3UX3QTSc/jJt9KoiAAes50mAziqyY9v +Bbde6YkXB0i+kTr5hKrZPrS9Ifp9b3UfB2+hMCwQG69LqGnDFIwPE6oWDM57xCwZ +qd5RaK7gS1e0Mh/Bso+XE3ZqgaUVqT8SXsTTc3Xuap9mRTwFWIPLPthz9m1MSMb+ +gIAPT0La0cgDokjrf4eS88FnSMtzlBfpd0yqqN9/Jf+Kfzm9/KZPSHVIfVBjUPwy +RcOUOIkVzxYJ1kp2vTU2Zhh0GbjcoM9mbhF6Br9w++jP2KSUGkOR8pXOg8P09EA1 +Uprqy0rgT+pcQhlyrTRG2F/aVeB0lU3GCGccOQQkYGDUJ6mMFfRLJr/OmzPuwDTK +NHe+ANbLtiKz1iInfr0GDMVhBrv63ZcyEw7Mc7hYTnQKeR+akinDRdtKS/vRR54F +3K579s2nmSoXva3oLLCvLEdxEwnMnroIcJE2k/DX2qxysmxX+zeoptpCINcF +F+YnSzCwuOOJt38pescm6ryh8iSczbIVkn5T+bTB+yxx+E7E3IJMRise5y3MOWJB +ul0NoviDot9gapi2QoCRfUMfvjHkjxju9W7xvNr+1ebjFPhGJiU7sef6IPyeKFdv +5ODPoRO6GXQilXAWTNyG +=Rjec +-END PGP SIGNATURE- Added: dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.md5 == --- dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.md5 (added) +++ dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.md5 Thu Mar 14 13:17:40 2019 @@ -0,0 +1,2 @@ +apache-cloudstack-4.12.0.0-src.tar.bz2: F6 53 30 25 58 43 E4 08 2F 80 9C 78 D5 +F9 F2 22 Added: dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.sha512 == --- dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.sha512 (added) +++ dev/cloudstack/4.12.0.0/apache-cloudstack-4.12.0.0-src.tar.bz2.sha512 Thu Mar 14 13:17:40 2019 @@ -0,0 +1,4 @@ +apache-cloudstack-4.12.0.0-src.tar.bz2: 31390571 116EB244 6374BFD2 B5D5B300 +0FAF83D2 8F7A2690 2FD52794 EEDB7234 +25201CB7 37B95CC0 BC1C4A60 1434DBC6 +0C112951 7A1D8218 97668CB8 21466636
[GitHub] [cloudstack] ustcweizhou commented on a change in pull request #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
ustcweizhou commented on a change in pull request #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227#discussion_r265562123 ## File path: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java ## @@ -914,6 +915,20 @@ public boolean configure(final String name, final Map params) th throw new CloudRuntimeException(e.getMessage()); } +// destroy default network, see https://libvirt.org/sources/java/javadoc/org/libvirt/Network.html +try { +Network network = conn.networkLookupByName("default"); +s_logger.debug("Found libvirt default network, destroying it and setting autostart to false"); +if (network.isActive() == 1) { +network.destroy(); +} +if (network.getAutostart()) { Review comment: @rhtyd We have destroyed the default network and did not see any issue in our production. it seems to break packaging/debian/cloudstack-agent.init, however, as /etc/init.d/cloudstack-agent is not in use any more after systemd changes, it should not be a problem. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3183: Improvements after jquery update
blueorangutan commented on issue #3183: Improvements after jquery update URL: https://github.com/apache/cloudstack/pull/3183#issuecomment-472847610 @PaulAngus a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] PaulAngus commented on issue #3183: Improvements after jquery update
PaulAngus commented on issue #3183: Improvements after jquery update URL: https://github.com/apache/cloudstack/pull/3183#issuecomment-472847524 @blueorangutan package This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3211: ui: remove CA certificate button from UI
blueorangutan commented on issue #3211: ui: remove CA certificate button from UI URL: https://github.com/apache/cloudstack/pull/3211#issuecomment-472847198 @PaulAngus a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] PaulAngus commented on issue #3211: ui: remove CA certificate button from UI
PaulAngus commented on issue #3211: ui: remove CA certificate button from UI URL: https://github.com/apache/cloudstack/pull/3211#issuecomment-472847078 @blueorangutan package This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] PaulAngus commented on issue #3217: ui: introduce new UI config file
PaulAngus commented on issue #3217: ui: introduce new UI config file URL: https://github.com/apache/cloudstack/pull/3217#issuecomment-472846368 @blueorangtan package This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3214: ui: use executable template filter for users
blueorangutan commented on issue #3214: ui: use executable template filter for users URL: https://github.com/apache/cloudstack/pull/3214#issuecomment-472844279 @PaulAngus a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] PaulAngus commented on issue #3214: ui: use executable template filter for users
PaulAngus commented on issue #3214: ui: use executable template filter for users URL: https://github.com/apache/cloudstack/pull/3214#issuecomment-472844207 @blueorangutan package This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3214: ui: use executable template filter for users
blueorangutan commented on issue #3214: ui: use executable template filter for users URL: https://github.com/apache/cloudstack/pull/3214#issuecomment-472843511 @PaulAngus a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] PaulAngus commented on issue #3214: ui: use executable template filter for users
PaulAngus commented on issue #3214: ui: use executable template filter for users URL: https://github.com/apache/cloudstack/pull/3214#issuecomment-472843419 @blueorangutan test This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] GabrielBrascher commented on issue #3210: systemd: Fix -Dpid arg passing to systemd usage service
GabrielBrascher commented on issue #3210: systemd: Fix -Dpid arg passing to systemd usage service URL: https://github.com/apache/cloudstack/pull/3210#issuecomment-472833091 Time to spin out RC5 then, thanks! This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] rhtyd commented on issue #3210: systemd: Fix -Dpid arg passing to systemd usage service
rhtyd commented on issue #3210: systemd: Fix -Dpid arg passing to systemd usage service URL: https://github.com/apache/cloudstack/pull/3210#issuecomment-472831522 @GabrielBrascher, I've forward merged it to master now, in case you want to cut the RC or address another issue. Thanks. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[cloudstack] branch master updated (34030be -> a6f4d6d)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack.git. from 34030be Fix XenServer Security Groups 'vmops' script (#3197) new f7327c7 systemd: Fix -Dpid arg passing to systemd usage service (#3210) new a6f4d6d Merge remote-tracking branch 'origin/4.11' The 31820 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: packaging/systemd/cloudstack-usage.default | 5 - packaging/systemd/cloudstack-usage.service | 3 ++- usage/src/main/java/com/cloud/usage/UsageServer.java | 6 +- 3 files changed, 7 insertions(+), 7 deletions(-)
[GitHub] [cloudstack] blueorangutan commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
blueorangutan commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227#issuecomment-472830971 @rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] rhtyd commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
rhtyd commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227#issuecomment-472830756 @blueorangutan test This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] GabrielBrascher commented on issue #3210: systemd: Fix -Dpid arg passing to systemd usage service
GabrielBrascher commented on issue #3210: systemd: Fix -Dpid arg passing to systemd usage service URL: https://github.com/apache/cloudstack/pull/3210#issuecomment-472829278 Thanks, @rhtyd! I am merging this PR. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[cloudstack] branch 4.11 updated: systemd: Fix -Dpid arg passing to systemd usage service (#3210)
This is an automated email from the ASF dual-hosted git repository. gabriel pushed a commit to branch 4.11 in repository https://gitbox.apache.org/repos/asf/cloudstack.git The following commit(s) were added to refs/heads/4.11 by this push: new f7327c7 systemd: Fix -Dpid arg passing to systemd usage service (#3210) f7327c7 is described below commit f7327c745768f27ccfe90bf7b52b7b2fccaff59d Author: Rohit Yadav AuthorDate: Thu Mar 14 17:49:12 2019 +0530 systemd: Fix -Dpid arg passing to systemd usage service (#3210) * systemd: Fix -Dpid arg passing to systemd usage service This fixes regression introduced by refactoring PR #3163 where `-Dpid` was incorrectly passed string `$$` instead of parent PID integer. Signed-off-by: Rohit Yadav * fix systemd limitation, exec using /bin/sh instead and wrap in ${} syntax https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines Signed-off-by: Rohit Yadav * usage: don't hide exception from Gabriel's https://github.com/apache/cloudstack/pull/3207/files#diff-062fcf5ae32de59dfd6cd4f780e1d7cd Signed-off-by: Rohit Yadav --- packaging/systemd/cloudstack-usage.default | 5 - packaging/systemd/cloudstack-usage.service | 3 ++- usage/src/com/cloud/usage/UsageServer.java | 6 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packaging/systemd/cloudstack-usage.default b/packaging/systemd/cloudstack-usage.default index 26f5528..089f3ee 100644 --- a/packaging/systemd/cloudstack-usage.default +++ b/packaging/systemd/cloudstack-usage.default @@ -15,8 +15,11 @@ # specific language governing permissions and limitations # under the License. -JAVA_OPTS="-Dpid=$$ -Xms256m -Xmx2048m" +JAVA_OPTS="-Xms256m -Xmx2048m" CLASSPATH="/usr/share/cloudstack-usage/*:/usr/share/cloudstack-usage/lib/*:/usr/share/cloudstack-mysql-ha/lib/*:/etc/cloudstack/usage:/usr/share/java/mysql-connector-java.jar" JAVA_CLASS=com.cloud.usage.UsageServer + +# Enable the following to enable remote socket based debugging: +#JAVA_DEBUG="-agentlib:jdwp=transport=dt_socket,address=8001,server=y,suspend=n" diff --git a/packaging/systemd/cloudstack-usage.service b/packaging/systemd/cloudstack-usage.service index f887486..8d9dff2 100644 --- a/packaging/systemd/cloudstack-usage.service +++ b/packaging/systemd/cloudstack-usage.service @@ -24,7 +24,8 @@ After=network.target network-online.target [Service] Type=simple EnvironmentFile=/etc/default/cloudstack-usage -ExecStart=/usr/bin/java $JAVA_OPTS -cp $CLASSPATH $JAVA_CLASS +Environment=JAVA_PID=$$ +ExecStart=/bin/sh -ec '/usr/bin/java -Dpid=${JAVA_PID} $JAVA_OPTS $JAVA_DEBUG -cp $CLASSPATH $JAVA_CLASS' Restart=always RestartSec=10s diff --git a/usage/src/com/cloud/usage/UsageServer.java b/usage/src/com/cloud/usage/UsageServer.java index df3f374..5e8a69d 100644 --- a/usage/src/com/cloud/usage/UsageServer.java +++ b/usage/src/com/cloud/usage/UsageServer.java @@ -51,11 +51,7 @@ public class UsageServer implements Daemon { appContext = new ClassPathXmlApplicationContext("usageApplicationContext.xml"); -try { -ComponentContext.initComponentsLifeCycle(); -} catch (Exception e) { -e.printStackTrace(); -} +ComponentContext.initComponentsLifeCycle(); mgr = appContext.getBean(UsageManager.class);
[GitHub] [cloudstack] GabrielBrascher merged pull request #3210: systemd: Fix -Dpid arg passing to systemd usage service
GabrielBrascher merged pull request #3210: systemd: Fix -Dpid arg passing to systemd usage service URL: https://github.com/apache/cloudstack/pull/3210 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] shwstppr opened a new pull request #3228: api: snapshot, snapshotpolicy tag support
shwstppr opened a new pull request #3228: api: snapshot, snapshotpolicy tag support URL: https://github.com/apache/cloudstack/pull/3228 ## Description **Problem**: Currently tags cannot be applied to snapshot when it is being created but through separate “create tags” API calls. For snapshot policies tags cannot be set either at creation or through “create tags” API. **Root Cause**: The “create snapshots” API does not support adding tags during creation and it can only be done through “create tags” API. Snapshot policy as a resource does not support tags and no tags can be set for them through any API. **Solution**: Tag support for snapshot policy has been added. Snapshot policy with tags when executed will produce snapshots containing the same tags from snapshot policy. Following APIs have been updated: - Both “create snapshotpolicy” and “create snapshot” now accepts “tags” as a new parameter. The expected format for “tags” parameter is similar to parameter “tags” in “create tags“ API. - Deletion support for tags associated with snapshots policy has been added to “delete snapshotpolicies” API. - Tags set for snapshot policies are added to the Response of “list snapshotpolicies“ API. UI support for setting tags to snapshots and snapshot policy is provided through the corresponding menus with a new section in each form to set tags. ## Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [x] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ## Screenshots (if appropriate): ![screenshot from 2019-02-08 13-39-23](https://user-images.githubusercontent.com/43956255/52466072-054d5e00-2ba7-11e9-9190-9d90fbdcd9ce.png) ![screenshot from 2019-02-08 13-38-53](https://user-images.githubusercontent.com/43956255/52466074-05e5f480-2ba7-11e9-9b43-08457fd4ff50.png) ![screenshot from 2019-02-08 13-25-35](https://user-images.githubusercontent.com/43956255/52466113-3037b200-2ba7-11e9-875d-7bc60399903c.png) ## How Has This Been Tested? UI And Cloudmonkey. ``` (local) > create snapshot volumeid=9d4a3e48-2c27-4822-98c0-a79381cf4113 tags[0].key=keyss tags[0].value=valuess { "accountid": "77891a42-1e18-11e9-8d89-34e12d5f623e", "cmd": "org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd", "created": "2019-02-08T00:01:15+0530", "jobid": "f4b82b0d-f256-4c87-a8b4-36bbcb44cdeb", "jobinstanceid": "21086b5a-42da-4bd1-aa10-d7e62bed88a9", "jobinstancetype": "Snapshot", "jobprocstatus": 0, "jobresult": { "snapshot": { "account": "admin", "created": "2019-02-08T00:01:15+0530", "domain": "ROOT", "domainid": "77890928-1e18-11e9-8d89-34e12d5f623e", "id": "21086b5a-42da-4bd1-aa10-d7e62bed88a9", "intervaltype": "MANUAL", "name": "vm1_ROOT-6_20190207183115", "osdisplayname": "CentOS 5.5 (64-bit)", "ostypeid": "7780d0f5-1e18-11e9-8d89-34e12d5f623e", "physicalsize": 1596588032, "revertable": true, "snapshottype": "MANUAL", "state": "BackedUp", "tags": [ { "key": "keyss", "value": "valuess" } ], "virtualsize": 8589934592, "volumeid": "9d4a3e48-2c27-4822-98c0-a79381cf4113", "volumename": "ROOT-6", "volumetype": "ROOT", "zoneid": "df67395c-d21d-4404-adcc-a44c9994763d" } }, "jobresultcode": 0, "jobresulttype": "object", "jobstatus": 1, "userid": "77892e56-1e18-11e9-8d89-34e12d5f623e" } (local) > create snapshotpolicy volumeid=9d4a3e48-2c27-4822-98c0-a79381cf4113 schedule=1 maxsnaps=1 intervaltype=HOURLY timezone="Etc/GMT+12" tags[0].key=hello tags[0].value=world { "snapshotpolicy": { "fordisplay": true, "id": "c9da9363-cbab-47d8-8d1c-cbc69c140946", "intervaltype": 0, "maxsnaps": 1, "schedule": "1", "tags": [ { "account": "system", "domain": "ROOT", "domainid": "77890928-1e18-11e9-8d89-34e12d5f623e", "key": "hello", "resourceid": "c9da9363-cbab-47d8-8d1c-cbc69c140946", "resourcetype": "SnapshotPolicy", "value": "world" } ], "timezone": "Etc/GMT+12", "volumeid": "9d4a3e48-2c27-4822-98c0-a79381cf4113" } } (local) > list snapshotpolicies id=c9da9363-cbab-47d8-8d1c-cbc69c140946 { "count": 1, "snapshotpolicy": [ { "fordisplay": true, "id": "c9da9363-cbab-47d8-8d1c-cbc69c140946", "intervaltype": 0, "maxsnaps": 1,
[GitHub] [cloudstack] blueorangutan commented on issue #3190: Include 'removed' async jobs to check recurring snapshots
blueorangutan commented on issue #3190: Include 'removed' async jobs to check recurring snapshots URL: https://github.com/apache/cloudstack/pull/3190#issuecomment-472821975 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2631 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
blueorangutan commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227#issuecomment-472821977 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2632 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] rhtyd commented on a change in pull request #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
rhtyd commented on a change in pull request #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227#discussion_r265523654 ## File path: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java ## @@ -914,6 +915,20 @@ public boolean configure(final String name, final Map params) th throw new CloudRuntimeException(e.getMessage()); } +// destroy default network, see https://libvirt.org/sources/java/javadoc/org/libvirt/Network.html +try { +Network network = conn.networkLookupByName("default"); +s_logger.debug("Found libvirt default network, destroying it and setting autostart to false"); +if (network.isActive() == 1) { +network.destroy(); +} +if (network.getAutostart()) { Review comment: If we destroy the network and set autostart to false, would that cause an issue? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
blueorangutan commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227#issuecomment-472810620 @rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] rhtyd commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
rhtyd commented on issue #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227#issuecomment-472810540 @blueorangutan package This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] blueorangutan commented on issue #3190: Include 'removed' async jobs to check recurring snapshots
blueorangutan commented on issue #3190: Include 'removed' async jobs to check recurring snapshots URL: https://github.com/apache/cloudstack/pull/3190#issuecomment-472809720 @borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] borisstoyanov commented on issue #3190: Include 'removed' async jobs to check recurring snapshots
borisstoyanov commented on issue #3190: Include 'removed' async jobs to check recurring snapshots URL: https://github.com/apache/cloudstack/pull/3190#issuecomment-472809520 Thanks for this PR @gmueller-ewerk let me run some tests @blueorangutan package This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] borisstoyanov commented on issue #3194: Suspending a VM before snapshot deletion (see PR #3193)
borisstoyanov commented on issue #3194: Suspending a VM before snapshot deletion (see PR #3193) URL: https://github.com/apache/cloudstack/pull/3194#issuecomment-472806919 @melnik13 I just wonder if there are any steps to reproduce this corruption? could a debugger and step by step execution come handy here? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] 3guboff edited a comment on issue #3224: Cannot create (add) template for KVM (QCOW2)
3guboff edited a comment on issue #3224: Cannot create (add) template for KVM (QCOW2) URL: https://github.com/apache/cloudstack/issues/3224#issuecomment-472782307 @ustcweizhou Not working for me: Status in UI: ~~~ Ready - No Status - Stream closed ~~~ From management-server.log: ~~~ 2019-03-14 11:15:40,998 WARN [o.a.c.alerts] (RemoteHostEndPoint-5:ctx-cb28969a) (logid:99761d05) AlertType:: 28 | dataCenterId:: 1 | podId:: null | clusterId:: null | message:: Failed to register template: 67aeaa16-8958-48dc-a668-f448ceaffba3 with error: Stream closed 2019-03-14 11:15:41,018 ERROR [o.a.c.s.i.BaseImageStoreDriverImpl] (RemoteHostEndPoint-5:ctx-cb28969a) (logid:99761d05) Failed to register template: 67aeaa16-8958-48dc-a668-f448ceaffba3 with error: Stream closed ~~~ This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] ustcweizhou opened a new pull request #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts
ustcweizhou opened a new pull request #3227: ubuntu16: fix three issues with ubuntu 16.04 hosts URL: https://github.com/apache/cloudstack/pull/3227 ## Description This fixes three issues with ubuntu 16.04 hosts 1. fix unable to add host if cloudbrX is not configured 2. Stop service libvirt-bin.socket while add a host 3. Diable libvirt default network Details can be found in each commit. ## Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [X] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] 3guboff commented on issue #3224: Cannot create (add) template for KVM (QCOW2)
3guboff commented on issue #3224: Cannot create (add) template for KVM (QCOW2) URL: https://github.com/apache/cloudstack/issues/3224#issuecomment-472782307 @ustcweizhou Not working for me This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] ustcweizhou commented on issue #3224: Cannot create (add) template for KVM (QCOW2)
ustcweizhou commented on issue #3224: Cannot create (add) template for KVM (QCOW2) URL: https://github.com/apache/cloudstack/issues/3224#issuecomment-472759380 > > cloudstack does not support qcow2 image files with suffix .img > > the suffix must be .qcow2 > > It's some kind of joke? Why so stupid restriction exist in this project? > Example for better understanding stupidity of the situation: I have text file without extension, so I can't open this file on my laptop, seriously!? @3guboff You may try to register template with format=RAW instead of QCOW2 It works for me. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[cloudstack-www] branch asf-site updated (1af5f3e -> 8af097e)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/cloudstack-www.git. from 1af5f3e Merge branch 'master' into asf-site new eec72d8 cloudmonkey v6.0.0 release new a6bf412 Merge branch 'master' into asf-site new 8af097e build and release cloudmonkey v6.0.0 release changes on website The 184 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: Gemfile | 4 +- content/archives.html | 1 + content/developers | 133 content/downloads.html | 30 +++ content/mailing-lists | 29 +++ content/survey | 4 +- content/users | 13 ++--- content/who | 16 +++--- data/cloudstack.yml | 4 +- source/downloads.md.erb | 18 ++- 10 files changed, 153 insertions(+), 99 deletions(-)
[GitHub] [cloudstack] 3guboff edited a comment on issue #3224: Cannot create (add) template for KVM (QCOW2)
3guboff edited a comment on issue #3224: Cannot create (add) template for KVM (QCOW2) URL: https://github.com/apache/cloudstack/issues/3224#issuecomment-472749590 > cloudstack does not support qcow2 image files with suffix .img > the suffix must be .qcow2 It's some kind of joke? Why so stupid restriction exist in this project? Example for better understanding stupidity of the situation: I have text file without extension, so I can't open this file on my laptop, seriously!? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [cloudstack] 3guboff commented on issue #3224: Cannot create (add) template for KVM (QCOW2)
3guboff commented on issue #3224: Cannot create (add) template for KVM (QCOW2) URL: https://github.com/apache/cloudstack/issues/3224#issuecomment-472749590 > cloudstack does not support qcow2 image files with suffix .img > the suffix must be .qcow2 It's some kind of joke? Why so stupid restriction exist in this project? Example for better understanding stupidity of the situation: I have text file without extension, so I can't open him on my laptop, seriously? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[cloudstack-www] branch master updated: cloudmonkey v6.0.0 release
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-www.git The following commit(s) were added to refs/heads/master by this push: new eec72d8 cloudmonkey v6.0.0 release eec72d8 is described below commit eec72d822addd5636da770985a441a2812e4096c Author: Rohit Yadav AuthorDate: Thu Mar 14 13:48:42 2019 +0530 cloudmonkey v6.0.0 release Signed-off-by: Rohit Yadav --- Gemfile | 4 ++-- data/cloudstack.yml | 4 +++- source/downloads.md.erb | 18 -- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/Gemfile b/Gemfile index cc6358e..717f627 100644 --- a/Gemfile +++ b/Gemfile @@ -2,10 +2,10 @@ # the following line to use "http://; instead source 'https://rubygems.org' -gem "middleman", "~>3.3.12" +gem "middleman", "~>4.3.3" # Live-reloading plugin -gem "middleman-livereload", "~> 3.1.0" +gem "middleman-livereload", "~> 3.4.6" # For faster file watcher updates on Windows: gem "wdm", "~> 0.1.0", :platforms => [:mswin, :mingw] diff --git a/data/cloudstack.yml b/data/cloudstack.yml index c337d93..e18f0b6 100644 --- a/data/cloudstack.yml +++ b/data/cloudstack.yml @@ -60,8 +60,10 @@ versions: - 4.6: - 4.6.0 cloudmonkey: - version: 5.3.3 + version: 6.0.0 archives: +- 6.0.0 +- 5.3.3 - 5.3.2 - 5.3.1 - 5.3.0 diff --git a/source/downloads.md.erb b/source/downloads.md.erb index 77de896..4ef2ef2 100644 --- a/source/downloads.md.erb +++ b/source/downloads.md.erb @@ -195,23 +195,13 @@ CloudMonkey's current release is <%= data.cloudstack.cloudmonkey.version %>. Instructions for building and installing from source can be found in the included [README.md](https://gitbox.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=README.md) file. - PyPi Package + Binary Builds Release -For easier installation or upgrades, the official source code release has been supplemented by community members who have pushed the python package to the [Python Package Index](https://pypi.python.org/pypi/cloudmonkey/). +For easier installation or upgrades, the official source code release has been supplemented by community members who have pushed the binary builds to the [Apache CloudStack CloudMonkey Github release](https://github.com/apache/cloudstack-cloudmonkey/releases) page. -For installing the package from pypi, use: - -$ pip install cloudmonkey - -To upgrade: - -$ pip install --upgrade cloudmonkey - -Though a clean upgrade is recommended: - -$ pip uninstall cloudmonkey -$ pip install cloudmonkey +For installing, upgrade, usage, please see the project wiki: + https://github.com/apache/cloudstack-cloudmonkey/wiki/Getting-Started#installation
[GitHub] [cloudstack] rhtyd commented on issue #3210: systemd: Fix -Dpid arg passing to systemd usage service
rhtyd commented on issue #3210: systemd: Fix -Dpid arg passing to systemd usage service URL: https://github.com/apache/cloudstack/pull/3210#issuecomment-472746335 @GabrielBrascher done This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[cloudstack-cloudmonkey] branch master updated (6544270 -> f2d736e)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.git. from 6544270 config: Fix prompt to use the same profile name as loaded new bcca2ac config: bump version to next 6.1.0-alpha new f2d736e cmd: remove `paramcompletion` option which is shipped enabled by default The 379 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: cmd/set.go | 27 +-- config/about.go | 2 +- config/config.go | 28 3 files changed, 26 insertions(+), 31 deletions(-)
svn commit: r32914 - /dev/cloudstack/cloudmonkey-6.0.0/ /release/cloudstack/releases/cloudmonkey-6.0.0/
Author: rohit Date: Thu Mar 14 07:53:10 2019 New Revision: 32914 Log: Publishing CloudMonkey 6.0.0 release Added: release/cloudstack/releases/cloudmonkey-6.0.0/ - copied from r32913, dev/cloudstack/cloudmonkey-6.0.0/ Removed: dev/cloudstack/cloudmonkey-6.0.0/
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Usage (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new f7e6600 Updated Usage (markdown) f7e6600 is described below commit f7e66009908566d6a3f131af50676ec06e38cfb2 Author: Rohit Yadav AuthorDate: Thu Mar 14 13:21:47 2019 +0530 Updated Usage (markdown) --- Usage.md | 5 + 1 file changed, 5 insertions(+) diff --git a/Usage.md b/Usage.md index 63445fb..abfe387 100644 --- a/Usage.md +++ b/Usage.md @@ -73,6 +73,11 @@ Some APIs accept array or maps as their arguments, in that case use `arg0.key=va > create networkoffering supportedservices=Dhcp,Dns > serviceproviderlist[0].service=Dhcp > serviceproviderlist[0].provider=VirtualRouter > serviceproviderlist[1].service=Dns > serviceproviderlist[1].provider=VirtualRouter ``` +Content of a file can be passed using a special syntax of `@/path/to/file` passed to the API request. For example: +``` +> upload customcertificate certificate=@/tmp/c.crt privatekey=@/tmp/c.key domainsuffix=some.domain.com +``` + ## Text processing using pipes Text processing is very easy, one can pipe the output to other terminal tools such as awk, sed, grep, jq etc. Examples:
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Usage (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new c974335 Updated Usage (markdown) c974335 is described below commit c9743356af5cb19d5b173e9ab94ca88294c81b07 Author: Rohit Yadav AuthorDate: Thu Mar 14 13:19:41 2019 +0530 Updated Usage (markdown) --- Usage.md | 233 ++- 1 file changed, 231 insertions(+), 2 deletions(-) diff --git a/Usage.md b/Usage.md index ece53c7..63445fb 100644 --- a/Usage.md +++ b/Usage.md @@ -1,3 +1,232 @@ -Refer to old docs: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI +Link to old docs: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI -Updates usage docs will be added soon. \ No newline at end of file +## Server profiles + +CloudMonkey supports multiple (management) server profiles, using which one can use to make API requests to different CloudStack servers. If cloudmonkey starts for the first time, it will create a default server profile by the name `[localcloud]` and use the following default values which one can then override using the `set` command. The default `cmk` config file at `~/.cmk/config` looks as follows: + +``` +prompt = +asyncblock = true +timeout = 1800 +output = json +paramcompletion = true +verifycert = true +profile = localcloud + +[localcloud] +url = http://localhost:8080/client/api +username = admin +password = password +domain= / +apikey= +secretkey = +``` + +To create a new server profile, one can use `set profile ` and this will create a new server profile config section in `~/.cmk/config` and use the above default values. You can `set` parameters of a server profile such as the url, username, password and it will set the passed values for the current server profile. + +These are the various options you can configure in `cmk` using `set`: + +Option | Description | Default +---|---|--- +prompt | The CLI prompt | +asyncblock | Whether to block and poll for async API job result, valid options: true and false | true +timeout | The API timeout in seconds | 1800 +output | The API response output format, valid options: json, table, text, column, csv | json +verifycert | Whether to verify X509/TLS certificate if URL is https enabled | true +profile | The server profile name, `set` will switch to an existing profile or create a new profile with default if it does not exist | localcloud +url* | The CloudStack server API url | http://localhost:8080/client/api +username* | The user's username | admin +password* | The user's password | password +domain* | The user's domain | / +apikey* | The user's API key | +secretkey* | The user's secret key | + +Notes: +- Options marked with `*` are settings server profile settings, other settings are core/global settings. +- When both api/secret key and username/passwords are provided, the api/secret keys take precedence for API authentication over username/password. +- An additional setting `debug` exists when can be turned on to enable console based debugging. + +## Shell and Interactive Usage + +`cmk` implements readline compliant shell and most of the emacs/readline bindings are honoured. For example: +Ctrl+r (reverse search), Ctrl+a (start of the line), Ctrl+e (end of the line), Ctlr+w (remove one word from back), Ctrl+u (remove whole line) etc. + +The command history can be accessed by using up/down arrow keys as well and it is saved at `~/.cmk/history`. + +## Debugging + +Debugging in log is disabled, but you can enable debugging on console by starting CloudMonkey with `cmk -d` or use `set debug [true|false]`. + +## Argument passing + +Arguments can be passed to an api command using the syntax ` key1=value1 ...`. CloudMonkey's shell input parsing is similar to `shlex` and arguments are split by spaces. Arguments/values with space in them can be wrapped instead double/single quotes such as `list api arg1="some value with spaces" arg2='example input'`. + +If values have spaces, one can put them under quotes, like: + +``` +> create project name="my unique name" displaytext="my lengthy description" +``` + +Some APIs accept array or maps as their arguments, in that case use `arg0.key=value` syntax. For example, while creating network offering: + +``` +> create networkoffering supportedservices=Dhcp,Dns serviceproviderlist[0].service=Dhcp serviceproviderlist[0].provider=VirtualRouter serviceproviderlist[1].service=Dns serviceproviderlist[1].provider=VirtualRouter +``` + +## Text processing using pipes + +Text processing is very easy, one can pipe the output to other terminal tools such as awk, sed, grep, jq etc. Examples: + +``` +$ cmk list users | jq -r '.user[].id' +$ cmk
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Getting Started (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new 6a13985 Updated Getting Started (markdown) 6a13985 is described below commit 6a13985ae71d608eb2e98c0b22eb28b222e3f6a2 Author: Rohit Yadav AuthorDate: Thu Mar 14 13:02:43 2019 +0530 Updated Getting Started (markdown) --- Getting-Started.md | 98 -- 1 file changed, 58 insertions(+), 40 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index 3cc7b77..ec4ce11 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -39,51 +39,30 @@ Discovered 610 APIs ``` You can also use the `set` command to set the various server profile specific options. The cloudmonkey configuration is stored at `~/.cmk/config` file. The `~/.cmk` directory also contains the API cache at `~/.cmk/profiles`. -## Making API requests - -Try autocompletion using tabbing: - -``` -> -> list -> list users # for options -> list users -> list users -{ - "count": 1, - "user": [ -{ - "account": "admin", - "accountid": "79665239-3cd4-11e9-bf33-f4d1082409e6", - "accounttype": 1, - "apikey": "...redacted...", - "created": "2019-03-02T15:48:07+", - "domain": "ROOT", - "domainid": "7965d079-3cd4-11e9-bf33-f4d1082409e6", - "email": "ad...@mailprovider.com", - "firstname": "Admin", - "id": "7966afa9-3cd4-11e9-bf33-f4d1082409e6", - "iscallerchilddomain": false, - "isdefault": true, - "lastname": "User", - "roleid": "852a28b1-3cd4-11e9-bf33-f4d1082409e6", - "rolename": "Root Admin", - "roletype": "Admin", - "state": "enabled", - "username": "admin", - "usersource": "native" -} - ] -} -``` -Consult the API docs at http://cloudstack.apache.org/api.html - ## Getting help Help for any API command can be obtained using ` -h`, for example: ``` > help +usage: cmk [flags] [commands|apis] [-h] + +CloudMonkey (cmk) is a command line interface for Apache CloudStack. + +Allowed flags: + -hShow this help message or API doc when specified after an API + -vPrint version + -oAPI response output format: json, text, table, column, csv + -pServer profile + -dEnable debug mode + +Default commands: + exit Exits + help Help + set Configures options for cmk + sync Discovers and updates APIs + version Version info + > list users -h > help listUsers ``` @@ -117,4 +96,43 @@ page integer pagesize integer statestring List users by state of the user account. username string List user by the username -``` \ No newline at end of file +``` + +## Making API requests + +Try autocompletion using tabbing: + +``` +> +> list +> list users # for options +> list users +> list users +{ + "count": 1, + "user": [ +{ + "account": "admin", + "accountid": "79665239-3cd4-11e9-bf33-f4d1082409e6", + "accounttype": 1, + "apikey": "...redacted...", + "created": "2019-03-02T15:48:07+", + "domain": "ROOT", + "domainid": "7965d079-3cd4-11e9-bf33-f4d1082409e6", + "email": "ad...@mailprovider.com", + "firstname": "Admin", + "id": "7966afa9-3cd4-11e9-bf33-f4d1082409e6", + "iscallerchilddomain": false, + "isdefault": true, + "lastname": "User", + "roleid": "852a28b1-3cd4-11e9-bf33-f4d1082409e6", + "rolename": "Root Admin", + "roletype": "Admin", + "state": "enabled", + "username": "admin", + "usersource": "native" +} + ] +} +``` +Consult the API docs at http://cloudstack.apache.org/api.html \ No newline at end of file
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Configuration (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new 145d37e Updated Configuration (markdown) 145d37e is described below commit 145d37eb81f8fb6fa93eefd9b820ba6770850933 Author: Rohit Yadav AuthorDate: Thu Mar 14 13:01:52 2019 +0530 Updated Configuration (markdown) --- Configuration.md | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/Configuration.md b/Configuration.md index 62409b6..0fe2fa5 100644 --- a/Configuration.md +++ b/Configuration.md @@ -1,21 +1 @@ -These are the various options you can configure in `cmk` using `set`, for example `set output column` - -Option | Description | Default |---|--- -prompt | The CLI prompt | -asyncblock | Whether to block and poll for async API job result, valid options: true and false | true -timeout | The API timeout in seconds | 1800 -output | The API response output format, valid options: json, table, text, column, csv | json -verifycert | Whether to verify X509/TLS certificate if URL is https enabled | true -profile | The server profile name, `set` will switch to an existing profile or create a new profile with default if it does not exist | localcloud -url* | The CloudStack server API url | http://localhost:8080/client/api -username* | The user's username | admin -password* | The user's password | password -domain* | The user's domain | / -apikey* | The user's API key | -secretkey* | The user's secret key | - -Notes: -- Options marked with `*` are settings server profile settings, other settings are core/global settings. -- When both api/secret key and username/passwords are provided, the api/secret keys take precedence for API authentication over username/password. -- An additional setting `debug` exists when can be turned on to enable console based debugging. \ No newline at end of file +j \ No newline at end of file
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Getting Started (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new f92a9aa Updated Getting Started (markdown) f92a9aa is described below commit f92a9aa6fcd3a910fc663d517e1525c14e066196 Author: Rohit Yadav AuthorDate: Thu Mar 14 12:53:39 2019 +0530 Updated Getting Started (markdown) --- Getting-Started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index bd8b75f..3cc7b77 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -1,8 +1,8 @@ -# Installation +## Installation To install the modern Apache CloudStack cloudmonkey or `cmk`, please download the binary from the latest release: https://github.com/apache/cloudstack-cloudmonkey/releases -## Install on Linux and Mac OSX +### Install on Linux and Mac OSX Download the binary for Linux or Mac based on your platform and move it to a directory that is on `$PATH` such as `/usr/local/bin`. For example: ``` @@ -10,7 +10,7 @@ sudo wget -O /usr/local/bin/cmk sudo chmod +x /usr/local/bin/cmk ``` -## Install on Windows +### Install on Windows Download the Windows specific `.exe` executable file and copy it to a directory which on the cmd's PATH such as `C:\Windows\System32\`. Launch cmd.exe or powershell and see if you can run/access `cmk.exe`.
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Getting Started (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new a345de5 Updated Getting Started (markdown) a345de5 is described below commit a345de5b39d37f153a77349618708513d4f3690b Author: Rohit Yadav AuthorDate: Thu Mar 14 12:53:11 2019 +0530 Updated Getting Started (markdown) --- Getting-Started.md | 61 -- 1 file changed, 59 insertions(+), 2 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index 7cdf0a5..bd8b75f 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -1,4 +1,20 @@ -# First steps +# Installation + +To install the modern Apache CloudStack cloudmonkey or `cmk`, please download the binary from the latest release: https://github.com/apache/cloudstack-cloudmonkey/releases + +## Install on Linux and Mac OSX + +Download the binary for Linux or Mac based on your platform and move it to a directory that is on `$PATH` such as `/usr/local/bin`. For example: +``` +sudo wget -O /usr/local/bin/cmk +sudo chmod +x /usr/local/bin/cmk +``` + +## Install on Windows + +Download the Windows specific `.exe` executable file and copy it to a directory which on the cmd's PATH such as `C:\Windows\System32\`. Launch cmd.exe or powershell and see if you can run/access `cmk.exe`. + +## First steps The default server profile has the name `localcloud` with defaults (such as url and credentials) set to a locally running CloudStack server. Start `cmk`, create a new server profile, configure your CloudStack server's API endpoint and run `sync`, for example: @@ -60,4 +76,45 @@ Try autocompletion using tabbing: ] } ``` -Consult the API docs at http://cloudstack.apache.org/api.html \ No newline at end of file +Consult the API docs at http://cloudstack.apache.org/api.html + +## Getting help + +Help for any API command can be obtained using ` -h`, for example: + +``` +> help +> list users -h +> help listUsers +``` + +A typical help doc for an api will list all available acceptable arguments and required arguments. + +Example help for `listUsers` API: +``` +> list users -h +listUsers: Lists user accounts +API Params Type Description +== === +account string list resources by account. Must be used w + ith the domainId parameter. +accounttype long List users by account type. Valid types i + nclude admin, domain-admin, read-only-ad + min, or user. +domainid uuid list only resources belonging to the doma + in specified +id uuid List user by ID. +isrecursive boolean defaults to false, but if true, lists all + resources from the parent specified by + the domainId till leaves. +keyword string List by keyword +listall boolean If set to false, list only resources belo + nging to the command's caller; if set to + true - list resources that the caller i + s authorized to see. Default value is fa + lse +page integer +pagesize integer +statestring List users by state of the user account. +username string List user by the username +``` \ No newline at end of file
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Home (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new 1f81479 Updated Home (markdown) 1f81479 is described below commit 1f814797146b626b54ae8f84d82d39ca4201e843 Author: Rohit Yadav AuthorDate: Thu Mar 14 12:50:21 2019 +0530 Updated Home (markdown) --- Home.md | 16 1 file changed, 16 deletions(-) diff --git a/Home.md b/Home.md index e5933e2..267dc29 100644 --- a/Home.md +++ b/Home.md @@ -6,22 +6,6 @@ Docs for legacy `cloudmonkey`: https://cwiki.apache.org/confluence/display/CLOUD Starting version 6.0.0, the modern cloudmonkey `cmk` is a fast and simplified Go-port of the original tool with some backward incompatibilities and reduced feature set. It ships as a standalone 64-bit executable binary for several platforms such as Linux, Mac and Windows. -# Installation - -To install the modern Apache CloudStack cloudmonkey or `cmk`, please download the binary from the latest release: https://github.com/apache/cloudstack-cloudmonkey/releases - -## Install on Linux and Mac OSX - -Download the binary for Linux or Mac based on your platform and move it to a directory that is on `$PATH` such as `/usr/local/bin`. For example: -``` -sudo wget -O /usr/local/bin/cmk -sudo chmod +x /usr/local/bin/cmk -``` - -## Install on Windows - -Download the Windows specific `.exe` executable file and copy it to a directory which on the cmd's PATH such as `C:\Windows\System32\`. Launch cmd.exe or powershell and see if you can run/access `cmk.exe`. - ### Demo CloudMonkey v6.0.0-beta3 on Ubuntu GNU/Linux 18.10:
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Getting Started (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new 1fe93ce Updated Getting Started (markdown) 1fe93ce is described below commit 1fe93ce891409737ca553f1bdbdf3e3abfc0d05a Author: Rohit Yadav AuthorDate: Thu Mar 14 12:48:32 2019 +0530 Updated Getting Started (markdown) --- Getting-Started.md | 41 - 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/Getting-Started.md b/Getting-Started.md index 8f3e9dc..7cdf0a5 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -21,4 +21,43 @@ Total APIs: 595 (mycloud) > sync Discovered 610 APIs ``` -You can also use the `set` command to set the various server profile specific options. The cloudmonkey configuration is stored at `~/.cmk/config` file. The `~/.cmk` directory also contains the API cache at `~/.cmk/profiles`. \ No newline at end of file +You can also use the `set` command to set the various server profile specific options. The cloudmonkey configuration is stored at `~/.cmk/config` file. The `~/.cmk` directory also contains the API cache at `~/.cmk/profiles`. + +## Making API requests + +Try autocompletion using tabbing: + +``` +> +> list +> list users # for options +> list users +> list users +{ + "count": 1, + "user": [ +{ + "account": "admin", + "accountid": "79665239-3cd4-11e9-bf33-f4d1082409e6", + "accounttype": 1, + "apikey": "...redacted...", + "created": "2019-03-02T15:48:07+", + "domain": "ROOT", + "domainid": "7965d079-3cd4-11e9-bf33-f4d1082409e6", + "email": "ad...@mailprovider.com", + "firstname": "Admin", + "id": "7966afa9-3cd4-11e9-bf33-f4d1082409e6", + "iscallerchilddomain": false, + "isdefault": true, + "lastname": "User", + "roleid": "852a28b1-3cd4-11e9-bf33-f4d1082409e6", + "rolename": "Root Admin", + "roletype": "Admin", + "state": "enabled", + "username": "admin", + "usersource": "native" +} + ] +} +``` +Consult the API docs at http://cloudstack.apache.org/api.html \ No newline at end of file
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Getting Started (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new ac0b42d Updated Getting Started (markdown) ac0b42d is described below commit ac0b42def825390d7f639d520b04da437a5138fa Author: Rohit Yadav AuthorDate: Thu Mar 14 12:45:51 2019 +0530 Updated Getting Started (markdown) --- Getting-Started.md | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index 23ef9d2..8f3e9dc 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -4,10 +4,8 @@ The default server profile has the name `localcloud` with defaults (such as url ``` $ cmk -Loaded in-built API cache. Failed to read API cache, please run 'sync'. -Apache CloudStack cloudmonkey 6.x.y -Type "help" for details, "sync" to update API cache or press tab to list options -Report issues here: https://github.com/apache/cloudstack-cloudmonkey/issues +Apache CloudStack CloudMonkey 6.0.0 +Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues (localcloud) > set profile mycloud Loaded server profile: mycloud @@ -15,14 +13,12 @@ Url: http://localhost:8080/client/api Username:admin Domain: / API Key: +Total APIs: 595 (mycloud) > set url http://myprovider.cloud/client/api -(mycloud) > login -✔ Username: myusername -✔ Password: ** -✔ Domain: mydomain -Successfully logged in and saved credentials to the server profile. +(mycloud) > set username myusername +(mycloud) > set password mypassword (mycloud) > sync -⣟ discovering APIs, please wait... +Discovered 610 APIs ``` -You can also use the `set` command to set the various server profile specific options. The cloudmonkey configuration is stored at `~/.cmk/config` file, the `~/.cmk` directory also contains the API cache and history files. \ No newline at end of file +You can also use the `set` command to set the various server profile specific options. The cloudmonkey configuration is stored at `~/.cmk/config` file. The `~/.cmk` directory also contains the API cache at `~/.cmk/profiles`. \ No newline at end of file
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Configuration (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new a0697ca Updated Configuration (markdown) a0697ca is described below commit a0697ca8019846fd7c7625b79fe292be096ea4e6 Author: Rohit Yadav AuthorDate: Thu Mar 14 12:39:54 2019 +0530 Updated Configuration (markdown) --- Configuration.md | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Configuration.md b/Configuration.md index 4f40d90..62409b6 100644 --- a/Configuration.md +++ b/Configuration.md @@ -1,13 +1,13 @@ -These are the various options you can configure in `cloudmonkey` using `set`, for example `set output table` +These are the various options you can configure in `cmk` using `set`, for example `set output column` Option | Description | Default ---|---|--- -asyncblock | Whether to block and poll for async API job result, valid options: true and false | true -output | The API response output format, valid options: json, table, text, csv, xml | json -profile | The server profile name, `set` will switch to an existing profile or create a new profile with default if it does not exist | localcloud prompt | The CLI prompt | +asyncblock | Whether to block and poll for async API job result, valid options: true and false | true timeout | The API timeout in seconds | 1800 +output | The API response output format, valid options: json, table, text, column, csv | json verifycert | Whether to verify X509/TLS certificate if URL is https enabled | true +profile | The server profile name, `set` will switch to an existing profile or create a new profile with default if it does not exist | localcloud url* | The CloudStack server API url | http://localhost:8080/client/api username* | The user's username | admin password* | The user's password | password @@ -16,5 +16,6 @@ apikey* | The user's API key | secretkey* | The user's secret key | Notes: -- Options marked with * are settings per server profile -- When both api/secret key and username/passwords are provided, the api/secret keys take precedence for API authentication and encoding \ No newline at end of file +- Options marked with `*` are settings server profile settings, other settings are core/global settings. +- When both api/secret key and username/passwords are provided, the api/secret keys take precedence for API authentication over username/password. +- An additional setting `debug` exists when can be turned on to enable console based debugging. \ No newline at end of file
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Usage (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new 1f068af Updated Usage (markdown) 1f068af is described below commit 1f068af8a97de69fd8fa5be2b409b4a5b5e702ac Author: Rohit Yadav AuthorDate: Thu Mar 14 12:35:38 2019 +0530 Updated Usage (markdown) --- Usage.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Usage.md b/Usage.md index 01fc683..ece53c7 100644 --- a/Usage.md +++ b/Usage.md @@ -1 +1,3 @@ -List various feature and docs on how to use them, write bash etc. \ No newline at end of file +Refer to old docs: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI + +Updates usage docs will be added soon. \ No newline at end of file
[cloudstack-cloudmonkey.wiki] branch master updated: Updated Home (markdown)
This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git The following commit(s) were added to refs/heads/master by this push: new be572e5 Updated Home (markdown) be572e5 is described below commit be572e5c87b440422ace790301360beaa53cab38 Author: Rohit Yadav AuthorDate: Thu Mar 14 12:34:52 2019 +0530 Updated Home (markdown) --- Home.md | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Home.md b/Home.md index 613400b..e5933e2 100644 --- a/Home.md +++ b/Home.md @@ -22,16 +22,8 @@ sudo chmod +x /usr/local/bin/cmk Download the Windows specific `.exe` executable file and copy it to a directory which on the cmd's PATH such as `C:\Windows\System32\`. Launch cmd.exe or powershell and see if you can run/access `cmk.exe`. -### Screenshots +### Demo -CloudMonkey on Ubuntu GNU/Linux 18.04: +CloudMonkey v6.0.0-beta3 on Ubuntu GNU/Linux 18.10: -![cloudmonkey on Ubuntu 18.04](images/ubuntu-install.png) - -CloudMonkey on OSX: - -![cloudmonkey on OSX](images/darwin-install.gif) - -CloudMonkey on Windows: - -![cloudmonkey on Windows 10](images/windows-install.png) +![cloudmonkey on Ubuntu 18.04](https://user-images.githubusercontent.com/95203/51963822-bf97e380-248a-11e9-9779-69f0fb2d7cec.gif) \ No newline at end of file