[GitHub] blueorangutan commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on storage issue

2018-06-26 Thread GitBox
blueorangutan commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on 
storage issue
URL: https://github.com/apache/cloudstack/pull/2722#issuecomment-400475036
 
 
   Trillian test result (tid-2827)
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 30394 seconds
   Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2722-t2827-kvm-centos7.zip
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
   Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
   Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
   Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
   Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
   Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
   Smoke tests completed. 63 look OK, 4 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   ContextSuite context=TestDeployVirtioSCSIVM>:setup | `Error` | 0.00 | 
test_deploy_virtio_scsi_vm.py
   test_03_vpc_privategw_restart_vpc_cleanup | `Failure` | 1116.27 | 
test_privategw_acl.py
   test_05_rvpc_multi_tiers | `Failure` | 319.98 | test_vpc_redundant.py
   test_05_rvpc_multi_tiers | `Error` | 341.79 | test_vpc_redundant.py
   test_hostha_enable_ha_when_host_in_maintenance | `Error` | 2.44 | 
test_hostha_kvm.py
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] khos2ow commented on issue #2613: Cleanup POMs

2018-06-26 Thread GitBox
khos2ow commented on issue #2613: Cleanup POMs
URL: https://github.com/apache/cloudstack/pull/2613#issuecomment-400421427
 
 
   @marcaurele @rhtyd @rafaelweingartner @DaanHoogland @borisroman rebased on 
latest master and fixed the conflicts, should be good to merge after Travis, 
Jenkins, BO passed.


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] blueorangutan commented on issue #2659: removed unused code in snapshotDao

2018-06-26 Thread GitBox
blueorangutan commented on issue #2659: removed unused code in snapshotDao
URL: https://github.com/apache/cloudstack/pull/2659#issuecomment-400390556
 
 
   Trillian test result (tid-2826)
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 22408 seconds
   Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2659-t2826-kvm-centos7.zip
   Intermitten failure detected: /marvin/tests/smoke/test_certauthority_root.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
   Intermitten failure detected: /marvin/tests/smoke/test_primary_storage.py
   Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
   Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
   Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
   Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
   Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
   Intermitten failure detected: /marvin/tests/smoke/test_host_maintenance.py
   Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
   Smoke tests completed. 59 look OK, 8 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   test_provision_certificate | `Error` | 5.16 | test_certauthority_root.py
   ContextSuite context=TestDeployVirtioSCSIVM>:setup | `Error` | 0.00 | 
test_deploy_virtio_scsi_vm.py
   test_01_add_primary_storage_disabled_host | `Error` | 0.62 | 
test_primary_storage.py
   test_01_primary_storage_nfs | `Error` | 0.11 | test_primary_storage.py
   ContextSuite context=TestStorageTags>:setup | `Error` | 0.20 | 
test_primary_storage.py
   test_03_vpc_privategw_restart_vpc_cleanup | `Failure` | 1105.58 | 
test_privategw_acl.py
   test_02_list_snapshots_with_removed_data_store | `Error` | 1.14 | 
test_snapshots.py
   ContextSuite context=TestDeployVM>:setup | `Error` | 0.00 | 
test_vm_life_cycle.py
   test_01_secure_vm_migration | `Error` | 0.06 | test_vm_life_cycle.py
   test_02_unsecure_vm_migration | `Error` | 1.09 | test_vm_life_cycle.py
   test_03_secured_to_nonsecured_vm_migration | `Error` | 1.08 | 
test_vm_life_cycle.py
   test_04_nonsecured_to_secured_vm_migration | `Error` | 1.09 | 
test_vm_life_cycle.py
   test_08_migrate_vm | `Error` | 15.69 | test_vm_life_cycle.py
   test_01_cancel_host_maintenace_with_no_migration_jobs | `Failure` | 6.49 | 
test_host_maintenance.py
   test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 2.64 | 
test_host_maintenance.py
   test_hostha_enable_ha_when_host_in_maintenance | `Error` | 1.45 | 
test_hostha_kvm.py
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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/02: Updating pom.xml version numbers for release 4.11.2-SNAPSHOT

2018-06-26 Thread paul_a
This is an automated email from the ASF dual-hosted git repository.

paul_a pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 4ebafc44a913abb9c6854fb2f6d4822d310c6c57
Author: Paul Angus 
AuthorDate: Tue Jun 26 17:24:36 2018 +0100

Updating pom.xml version numbers for release 4.11.2-SNAPSHOT

Signed-off-by: Paul Angus 
---
 debian/changelog  | 408 +-
 services/console-proxy/plugin/pom.xml |  58 ++---
 services/iam/plugin/pom.xml   | 116 +-
 services/iam/server/pom.xml   | 114 +-
 tools/apidoc/pom.xml  | 174 +++
 tools/checkstyle/pom.xml  |  88 
 tools/docker/Dockerfile.centos6   |   4 +-
 tools/docker/Dockerfile.marvin|   2 +-
 tools/marvin/setup.py | 136 ++--
 9 files changed, 550 insertions(+), 550 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d89b48b..3c33700 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,204 +1,204 @@
-cloudstack (4.11.1.0) unstable; urgency=low
-
-  * Update the version to 4.11.1.0
-
- -- the Apache CloudStack project   Thu, 21 Jun 
2018 15:52:43 +0100
-
-cloudstack (4.11.1.0-SNAPSHOT) unstable; urgency=low
-
-  * Update the version to 4.11.1.0-SNAPSHOT
-
- -- the Apache CloudStack project   Mon, 05 Feb 
2018 11:10:37 +0100
-
-cloudstack (4.11.0.0) unstable; urgency=low
-
-  * Update the version to 4.11.0.0
-
- -- the Apache CloudStack project   Fri, 26 Jan 
2018 13:13:37 +0100
-
-cloudstack (4.11.0.0-SNAPSHOT) unstable; urgency=low
-
-  * Update the version to 4.11.0.0-SNAPSHOT
-
- -- the Apache CloudStack project   Mon, 03 Jul 
2017 10:06:42 +0530
-
-cloudstack (4.11.0.0-SNAPSHOT-SNAPSHOT) unstable; urgency=low
-
-  * Update the version to 4.10.0.snapshot
-
- -- the Apache CloudStack project   Mon, 08 Aug 
2016 11:22:34 +0530
-
-cloudstack (4.9.0) unstable; urgency=low
-
-  [ Remi Bergsma ]
-  * Update the version to 4.9.0.snapshot
-
- -- the Apache CloudStack project   Wed, 20 Jan 
2016 23:43:35 +0100
-
-cloudstack (4.8.0-SNAPSHOT) unstable; urgency=low
-
-  [ Remi Bergsma ]
-  * Update the version to 4.8.0.snapshot
-
- -- the Apache CloudStack project   Sun, 21 Dec 
2015 22:11:55 +0100
-
-cloudstack (4.7.0-SNAPSHOT) unstable; urgency=low
-
-  [ Remi Bergsma ]
-  * Update the version to 4.7.0.snapshot
-
- -- the Apache CloudStack project   Sun, 15 Nov 
2015 21:28:33 +0100
-
-cloudstack (4.6.0-SNAPSHOT) unstable; urgency=low
-
-  [ Hugo Trippaers ]
-  * Update the version to 4.6.0.snapshot
-
-  [ Rafael da Fonseca ]
-  * Switch to dpkg-source 3.0 (native) format
-
- -- the Apache CloudStack project   Thu, 18 Jun 
2015 11:17:09 +0200
-
-cloudstack (4.5.0-snapshot) unstable; urgency=low
-
-  * Update the version to 4.5.0.snapshot
-
- -- Hugo Trippaers   Thu, 21 Nov 2013 12:00:00 -0400
-
-cloudstack (4.4.0-snapshot) unstable; urgency=low
-
-  * Update the version to 4.4.0.snapshot
-
- -- Hugo Trippaers   Thu, 21 Nov 2013 12:00:00 -0400
-
-cloudstack (4.3.0-snapshot) unstable; urgency=low
-
-  * Update the version to 4.3.0.snapshot
-
- -- Chip Childers   Thu, 1 Aug 2013 12:00:00 -0400
-
-cloudstack (4.2.0) unstable; urgency=low
-
-  * Update the version to 4.2.0 to be in sync with Maven (again)
-
- -- Wido den Hollander   Tue, 14 May 2013 15:56:42 +0200
-
-cloudstack (4.2.0-incubating-0.0.snapshot) unstable; urgency=low
-
-  * Update the version to 4.2.0 to be in sync with Maven
-
- -- Wido den Hollander   Wed, 13 Mar 2013 19:15:00 +0100
-
-cloudstack (4.1.0-incubating-0.0.snapshot) unstable; urgency=low
-
-  * Incorporate incubating into version, remove epoch
-
- -- Noa Resare   Tue, 05 Feb 2013 18:05:28 +
-
-cloud (1:4.0.0-1) unstable; urgency=low
-
-  * Bumping the version to 4.0.0
-
- -- Chip Childers   Fri, 5 Oct 2012 16:00:00 -0500
-
-cloud (1:4.0.0-beta6) unstable; urgency=low
-
-  * Bumping the version to 4.0 Beta 6
-
- -- Wido den Hollander   Fri, 5 Oct 2012 11:41:17 +0200
-
-cloud (1:4.0.0-beta1) unstable; urgency=low
-
-  * Bumping the version to 4.0 Beta 1
-
- -- Wido den Hollander   Wed, 26 Sep 2012 21:14:48 +0200
-
-cloud (4.0.0-rc2) unstable; urgency=low
-
-  * Bumping the version to 4.0 RC2
-
- -- Wido den Hollander   Mon, 24 Sep 2012 11:30:29 +0200
- 
-cloud (4.0.0-rc1) unstable; urgency=low
-
-  * Bumping the version to 4.0 RC1
-
- -- Wido den Hollander   Fri, 17 Aug 2012 11:10:41 +0200
-
-cloud (3.0.2) unstable; urgency=low
-
-  * Bumping the package version to the latest release.
-
- -- Wido den Hollander   Wed, 25 Jul 2012 14:53:31 +0200
-
-cloud (2.2.2) unstable; urgency=low
-
-  * Bumping version number for next CloudStack release
-
- -- Engineering   Mon, 7 Mar 2011 11:19:34 -0700
-
-cloud (2.1.97) unstable; urgency=low
-
-  * Bumping version number for next CloudStack release
-
- -- Rudd-O   Sat, 31 Jul 2010 19:09:54 -0700
-
-cloud (2.0.97) unstable; urgency=low
-
-  * Bumping version number 

[cloudstack] 02/02: Updating pom.xml version numbers for release 4.11.2-SNAPSHOT

2018-06-26 Thread paul_a
This is an automated email from the ASF dual-hosted git repository.

paul_a pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 8ba318da1996492824329a5e05354b95523db851
Author: Paul Angus 
AuthorDate: Tue Jun 26 17:53:54 2018 +0100

Updating pom.xml version numbers for release 4.11.2-SNAPSHOT

Signed-off-by: Paul Angus 
---
 agent/pom.xml  |   2 +-
 api/pom.xml|   2 +-
 client/pom.xml |   2 +-
 core/pom.xml   |   2 +-
 debian/changelog   |   8 +-
 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 +-
 maven-standard/pom.xml |   2 +-
 plugins/acl/dynamic-role-based/pom.xml |   2 +-
 plugins/acl/static-role-based/pom.xml  |   2 +-
 .../explicit-dedication/pom.xml|   2 +-
 .../host-affinity/pom.xml  |   2 +-
 .../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 +-
 .../implicit-dedication/pom.xml|   2 +-
 .../user-concentrated-pod/pom.xml  |   2 +-
 .../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/file-systems/netapp/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 +-
 plugins/hypervisors/simulator/pom.xml  |   2 +-
 plugins/hypervisors/ucs/pom.xml|   2 +-
 plugins/hypervisors/vmware/pom.xml |   2 +-
 plugins/hypervisors/xenserver/pom.xml  |   2 +-
 plugins/integrations/cloudian/pom.xml  |   2 +-
 plugins/integrations/prometheus/pom.xml|   2 +-
 plugins/metrics/pom.xml|   2 +-
 plugins/network-elements/bigswitch/pom.xml |   2 +-
 

[cloudstack] branch 4.11 updated (2cb2dac -> 8ba318d)

2018-06-26 Thread paul_a
This is an automated email from the ASF dual-hosted git repository.

paul_a pushed a change to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git.


from 2cb2dac  Updating pom.xml version numbers for release 4.11.1.0
 new 4ebafc4  Updating pom.xml version numbers for release 4.11.2-SNAPSHOT
 new 8ba318d  Updating pom.xml version numbers for release 4.11.2-SNAPSHOT

The 2 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:
 agent/pom.xml  |   2 +-
 api/pom.xml|   2 +-
 client/pom.xml |   2 +-
 core/pom.xml   |   2 +-
 debian/changelog   | 408 ++---
 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 +-
 maven-standard/pom.xml |   2 +-
 plugins/acl/dynamic-role-based/pom.xml |   2 +-
 plugins/acl/static-role-based/pom.xml  |   2 +-
 .../explicit-dedication/pom.xml|   2 +-
 .../host-affinity/pom.xml  |   2 +-
 .../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 +-
 .../implicit-dedication/pom.xml|   2 +-
 .../user-concentrated-pod/pom.xml  |   2 +-
 .../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/file-systems/netapp/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 +-
 plugins/hypervisors/simulator/pom.xml  |   2 +-
 plugins/hypervisors/ucs/pom.xml|   2 +-
 plugins/hypervisors/vmware/pom.xml |   2 +-
 plugins/hypervisors/xenserver/pom.xml  

[cloudstack] branch 4.11 updated (52b02de -> 2cb2dac)

2018-06-26 Thread paul_a
This is an automated email from the ASF dual-hosted git repository.

paul_a pushed a change to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git.


from 52b02de  vpc: reuse private gateway ip for non redundant VPC (#2712)
 add 2cb2dac  Updating pom.xml version numbers for release 4.11.1.0

No new revisions were added by this update.

Summary of changes:
 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 +-
 maven-standard/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/file-systems/netapp/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  

[GitHub] blueorangutan commented on issue #2721: api: Introducing a new diagnostics API command for system VMs for CloudStack admins

2018-06-26 Thread GitBox
blueorangutan commented on issue #2721: api: Introducing a new diagnostics API 
command for system VMs for CloudStack admins
URL: https://github.com/apache/cloudstack/pull/2721#issuecomment-400331299
 
 
   Trillian test result (tid-2825)
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 26692 seconds
   Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2721-t2825-kvm-centos7.zip
   Intermitten failure detected: /marvin/tests/smoke/test_accounts.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_affinity_groups_projects.py
   Intermitten failure detected: /marvin/tests/smoke/test_certauthority_root.py
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
   Intermitten failure detected: /marvin/tests/smoke/test_primary_storage.py
   Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
   Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
   Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
   Intermitten failure detected: /marvin/tests/smoke/test_host_maintenance.py
   Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
   Smoke tests completed. 58 look OK, 10 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   ContextSuite context=TestAccounts>:setup | `Error` | 0.00 | test_accounts.py
   ContextSuite context=TestAddVmToSubDomain>:setup | `Error` | 0.00 | 
test_accounts.py
   test_DeleteDomain | `Error` | 0.92 | test_accounts.py
   test_forceDeleteDomain | `Error` | 0.94 | test_accounts.py
   ContextSuite context=TestRemoveUserFromAccount>:setup | `Error` | 5.14 | 
test_accounts.py
   ContextSuite context=TestDeployVmWithAffinityGroup>:setup | `Error` | 0.00 | 
test_affinity_groups_projects.py
   test_provision_certificate | `Error` | 17.38 | test_certauthority_root.py
   ContextSuite context=TestDeployVirtioSCSIVM>:setup | `Error` | 0.00 | 
test_deploy_virtio_scsi_vm.py
   test_01_add_primary_storage_disabled_host | `Error` | 0.73 | 
test_primary_storage.py
   test_01_primary_storage_nfs | `Error` | 0.10 | test_primary_storage.py
   ContextSuite context=TestStorageTags>:setup | `Error` | 0.18 | 
test_primary_storage.py
   test_03_vpc_privategw_restart_vpc_cleanup | `Failure` | 148.40 | 
test_privategw_acl.py
   test_04_rvpc_privategw_static_routes | `Failure` | 249.85 | 
test_privategw_acl.py
   test_02_list_snapshots_with_removed_data_store | `Error` | 1.13 | 
test_snapshots.py
   test_01_secure_vm_migration | `Error` | 5.16 | test_vm_life_cycle.py
   test_02_unsecure_vm_migration | `Error` | 5.62 | test_vm_life_cycle.py
   test_03_secured_to_nonsecured_vm_migration | `Error` | 1.14 | 
test_vm_life_cycle.py
   test_04_nonsecured_to_secured_vm_migration | `Error` | 4.59 | 
test_vm_life_cycle.py
   ContextSuite context=TestVMLifeCycle>:setup | `Error` | 7.35 | 
test_vm_life_cycle.py
   test_01_cancel_host_maintenace_with_no_migration_jobs | `Failure` | 0.09 | 
test_host_maintenance.py
   test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 2.25 | 
test_host_maintenance.py
   test_hostha_enable_ha_when_host_in_maintenance | `Error` | 2.46 | 
test_hostha_kvm.py
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] blueorangutan commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on storage issue

2018-06-26 Thread GitBox
blueorangutan commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on 
storage issue
URL: https://github.com/apache/cloudstack/pull/2722#issuecomment-400298918
 
 
   @borisstoyanov 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 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] borisstoyanov commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on storage issue

2018-06-26 Thread GitBox
borisstoyanov commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on 
storage issue
URL: https://github.com/apache/cloudstack/pull/2722#issuecomment-400298383
 
 
   @blueorangutan test


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] blueorangutan commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on storage issue

2018-06-26 Thread GitBox
blueorangutan commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on 
storage issue
URL: https://github.com/apache/cloudstack/pull/2722#issuecomment-400297724
 
 
   Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2154


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] blueorangutan commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on storage issue

2018-06-26 Thread GitBox
blueorangutan commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on 
storage issue
URL: https://github.com/apache/cloudstack/pull/2722#issuecomment-400288946
 
 
   @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 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] borisstoyanov commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on storage issue

2018-06-26 Thread GitBox
borisstoyanov commented on issue #2722: CLOUDSTACK-10310 Fix KVM reboot on 
storage issue
URL: https://github.com/apache/cloudstack/pull/2722#issuecomment-400288716
 
 
   @blueorangutan package


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: output: implement and refactor json, csv, table, text outputs

2018-06-26 Thread rohit
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.git


The following commit(s) were added to refs/heads/master by this push:
 new 6a00de5  output: implement and refactor json, csv, table, text outputs
6a00de5 is described below

commit 6a00de565e42dd532890eff19888f351e7ac3c40
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 16:41:26 2018 +0530

output: implement and refactor json, csv, table, text outputs

Signed-off-by: Rohit Yadav 
---
 Makefile |   2 +-
 NOTICE   |   5 --
 cmd/api.go   |  88 --
 cmd/command.go   |  10 +--
 cmd/output.go| 187 +++
 cmd/version.go   |   1 +
 config/cache.go  |   7 ++-
 config/config.go |   5 +-
 8 files changed, 201 insertions(+), 104 deletions(-)

diff --git a/Makefile b/Makefile
index 517c231..d19ba76 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ run: all
 debug:
$(GO) build -gcflags='-N -l' -o cmk cmk.go &&  dlv --listen=:2345 
--headless=true --api-version=2 exec ./cmk
 
-dist:
+dist: all
cd $(BASE)
rm -fr dist
mkdir -p dist
diff --git a/NOTICE b/NOTICE
deleted file mode 100644
index 2fcb349..000
--- a/NOTICE
+++ /dev/null
@@ -1,5 +0,0 @@
-Apache CloudStack CloudMonkey
-Copyright 2018 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
diff --git a/cmd/api.go b/cmd/api.go
index 1100f55..0c3b7fd 100644
--- a/cmd/api.go
+++ b/cmd/api.go
@@ -18,16 +18,9 @@
 package cmd
 
 import (
-   "encoding/json"
"errors"
"fmt"
-   "github.com/olekukonko/tablewriter"
-   "os"
-   "reflect"
-   "sort"
"strings"
-
-   "cmk/config"
 )
 
 var apiCommand *Command
@@ -37,87 +30,6 @@ func GetAPIHandler() *Command {
return apiCommand
 }
 
-func printText(itemMap map[string]interface{}) {
-   for k, v := range itemMap {
-   valueType := reflect.TypeOf(v)
-   if valueType.Kind() == reflect.Slice {
-   fmt.Printf("%s:\n", k)
-   for _, item := range v.([]interface{}) {
-   row, isMap := item.(map[string]interface{})
-   if isMap {
-   for field, value := range row {
-   fmt.Printf("%s = %v\n", field, 
value)
-   }
-   } else {
-   fmt.Printf("%v\n", item)
-   }
-   
fmt.Println("")
-   }
-   } else {
-   fmt.Printf("%s = %v\n", k, v)
-   }
-   }
-}
-
-func printResult(outputType string, response map[string]interface{}, filter 
[]string) {
-   switch outputType {
-   case config.TABLE:
-   table := tablewriter.NewWriter(os.Stdout)
-   for k, v := range response {
-   valueType := reflect.TypeOf(v)
-   if valueType.Kind() == reflect.Slice {
-   items, ok := v.([]interface{})
-   if !ok {
-   continue
-   }
-   fmt.Printf("%s:\n", k)
-   var header []string
-   for _, item := range items {
-   row, ok := item.(map[string]interface{})
-   if !ok || len(row) < 1 {
-   continue
-   }
-
-   if len(header) == 0 {
-   if filter != nil && len(filter) 
> 0 {
-   for _, filterKey := 
range filter {
-   for field := 
range row {
-   if 
filterKey == field {
-   
header = append(header, field)
-   }
-   }
-   }
-   } else {
-   for field := range row {
-   header = 
append(header, field)
-

[GitHub] borisstoyanov commented on issue #2659: removed unused code in snapshotDao

2018-06-26 Thread GitBox
borisstoyanov commented on issue #2659: removed unused code in snapshotDao
URL: https://github.com/apache/cloudstack/pull/2659#issuecomment-400258902
 
 
   @blueorangutan test 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] blueorangutan commented on issue #2659: removed unused code in snapshotDao

2018-06-26 Thread GitBox
blueorangutan commented on issue #2659: removed unused code in snapshotDao
URL: https://github.com/apache/cloudstack/pull/2659#issuecomment-400258951
 
 
   @borisstoyanov 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 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: cmk: rename references to `cmk` and update README

2018-06-26 Thread rohit
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.git


The following commit(s) were added to refs/heads/master by this push:
 new 718e67e  cmk: rename references to `cmk` and update README
718e67e is described below

commit 718e67e7d842a5387c3e0f74525e277b12bc75ff
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 14:38:46 2018 +0530

cmk: rename references to `cmk` and update README

Signed-off-by: Rohit Yadav 
---
 Makefile |  4 ++--
 README.md| 53 +++--
 cli/completer.go |  4 ++--
 cli/exec.go  |  4 ++--
 cli/shell.go |  2 +-
 cmd/api.go   |  2 +-
 cmd/help.go  |  2 +-
 cmd/request.go   |  2 +-
 cmk.go   |  2 +-
 9 files changed, 34 insertions(+), 41 deletions(-)

diff --git a/Makefile b/Makefile
index e77b002..517c231 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
 # under the License.
 
 # Makefile referenced from github.com/vincentbernat/hellogopher
-PACKAGE  = cloudmonkey
+PACKAGE  = cmk
 DATE?= $(shell date +%FT%T%z)
 VERSION ?= $(shell git describe --tags --always --dirty --match=v* 2> 
/dev/null || \
cat $(CURDIR)/.version 2> /dev/null || echo v0)
@@ -47,7 +47,7 @@ $(BASE): ; $(info $(M) Setting GOPATH…)
@ln -sf $(CURDIR) $@
 
 run: all
-   ./bin/cloudmonkey
+   ./bin/cmk
 
 debug:
$(GO) build -gcflags='-N -l' -o cmk cmk.go &&  dlv --listen=:2345 
--headless=true --api-version=2 exec ./cmk
diff --git a/README.md b/README.md
index d1bfd54..edd98ac 100644
--- a/README.md
+++ b/README.md
@@ -9,34 +9,26 @@ The modern cloudmonkey is a re-written and simplified port in 
Go and can be used
 with Apache CloudStack 4.9 and above. The legacy cloudmonkey written in Python
 can be used with Apache CloudStack 4.0-incubating and above.
 
-### Usage
-
-Work in progress: 6.0.0-alpha1 (TO BE UPDATED soon)
-
-For modern cloudmonkey usage, please see the [usage 
page](https://github.com/apache/cloudstack-cloudmonkey/wiki/Usage).
-
-Legacy cloudmonkey can be installed using `pip install cloudmonkey`.
-For legacy cloudmonkey, please see the [cwiki usage 
page](https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI).
+For documentation, kindly see the 
[wiki](https://github.com/apache/cloudstack-cloudmonkey/wiki).
 
 ### Development
 
-The following are various make targets you can run:
+For development the pre-requisites are Go 10 or latest and a unix-like
+environment. You can use the following targets for building:
 
 $ make help
 
-  all   Build program binary
-  run   Builds and runs cloudmonkey
-  dist  Builds release for various targets
-  clean Cleans build artifacts
-  lint  Run golint
-  fmt   Run gofmt on all source files
-  check test tests  Run tests
-  test-benchRun benchmarks
-  test-shortRun only short tests
-  test-verbose  Run tests in verbose mode with coverage reporting
-  test-race Run tests with race detector
-  test-xml  Run tests with xUnit output
-  test-coverage Run coverage tests
+  all Build program binary
+  test-bench  Run benchmarks
+  test-short  Run only short tests
+  test-verboseRun tests in verbose mode with coverage reporting
+  test-race   Run tests with race detector
+  check tests Run tests
+  test-xmlRun tests with xUnit output
+  test-coverage   Run coverage tests
+  debug   Runs a debuggable binary using dlv
+  lintRun golint
+  fmt Run gofmt on all source files
 
 Build and run:
 
@@ -45,7 +37,7 @@ Build and run:
 Build and run manually:
 
 $ make all
-$ ./bin/cloudmonkey
+$ ./bin/cmk
 
 ### Community
 
@@ -69,14 +61,15 @@ Report issue(s) on the `user` mailing list and/or open a 
Github [issue](https://
 
 ### History
 
-`cloudmonkey` was originally written in Python and contributed to Apache 
CloudStack
-project by [Rohit Yadav](http://rohityadav.cloud) on 31 Oct 2012 under the 
Apache
-License 2.0. The original tool is also referred to as legacy cloudmonkey can
-be installed using `pip install cloudmonkey`.
+The original `cloudmonkey` was written in Python and contributed to Apache
+CloudStack project by [Rohit Yadav](http://rohityadav.cloud) on 31 Oct 2012
+under the Apache License 2.0. The Python-based original CLI is now referred to
+as the legacy cloudmonkey and can be installed using `pip install cloudmonkey`.
 
-Starting version 6.0.0, referred to as the modern cloudmonkey, is a simplified
-Go port of the original tool and ships as a standalone executable for several
-targets such as Linux, Mac and Windows.
+Starting version 6.0.0, the modern cloudmonkey `cmk` is a 

[cloudstack-cloudmonkey] branch master updated: config: fix lint issue and travis failures

2018-06-26 Thread rohit
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.git


The following commit(s) were added to refs/heads/master by this push:
 new 3ad5ace  config: fix lint issue and travis failures
3ad5ace is described below

commit 3ad5ace6750bc0c2c37f34c9123f10221454b417
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 14:26:02 2018 +0530

config: fix lint issue and travis failures

Signed-off-by: Rohit Yadav 
---
 Makefile  | 12 
 cmd/request.go|  1 +
 config/config.go  | 18 +-
 config/spinner.go |  5 +++--
 4 files changed, 17 insertions(+), 19 deletions(-)

diff --git a/Makefile b/Makefile
index fbd28c0..e77b002 100644
--- a/Makefile
+++ b/Makefile
@@ -56,14 +56,10 @@ dist:
cd $(BASE)
rm -fr dist
mkdir -p dist
-   GOOS=linux   GOARCH=amd64 $(GO) build -ldflags='-s -w' -o 
dist/cmk-linux-amd64 cmk.go
-   GOOS=linux   GOARCH=386   $(GO) build -ldflags='-s -w' -o 
dist/cmk-linux-i386 cmk.go
-   GOOS=linux   GOARCH=arm64 $(GO) build -ldflags='-s -w' -o 
dist/cmk-linux-arm64 cmk.go
-   GOOS=linux   GOARCH=arm   $(GO) build -ldflags='-s -w' -o 
dist/cmk-linux-arm cmk.go
-   GOOS=windows GOARCH=amd64 $(GO) build -ldflags='-s -w' -o 
dist/cmk-x64.exe cmk.go
-   GOOS=windows GOARCH=386   $(GO) build -ldflags='-s -w' -o 
dist/cmk-x32.exe cmk.go
-   GOOS=darwin  GOARCH=amd64 $(GO) build -ldflags='-s -w' -o 
dist/cmk-mac64.bin cmk.go
-   GOOS=darwin  GOARCH=386   $(GO) build -ldflags='-s -w' -o 
dist/cmk-mac32.bin cmk.go
+   GOOS=linux   GOARCH=amd64 $(GO) build -ldflags='-s -w' -o 
dist/cmk.linux.amd64 cmk.go
+   GOOS=linux   GOARCH=arm64 $(GO) build -ldflags='-s -w' -o 
dist/cmk.linux.arm64 cmk.go
+   GOOS=windows GOARCH=amd64 $(GO) build -ldflags='-s -w' -o dist/cmk.exe 
cmk.go
+   GOOS=darwin  GOARCH=amd64 $(GO) build -ldflags='-s -w' -o 
dist/cmk.darwin.amd64 cmk.go
 
 # Tools
 
diff --git a/cmd/request.go b/cmd/request.go
index 179080d..32e059a 100644
--- a/cmd/request.go
+++ b/cmd/request.go
@@ -29,6 +29,7 @@ type Request struct {
Args[]string
 }
 
+// Client method returns the http Client for the current server profile
 func (r *Request) Client() *http.Client {
return r.Config.ActiveProfile.Client
 }
diff --git a/config/config.go b/config/config.go
index 0a87dd5..7d6fc09 100644
--- a/config/config.go
+++ b/config/config.go
@@ -44,13 +44,13 @@ const (
 
 // ServerProfile describes a management server
 type ServerProfile struct {
-   URL   string `ini:"url"`
-   Username  string `ini:"username"`
-   Password  string `ini:"password"`
-   Domainstring `ini:"domain"`
-   APIKeystring `ini:"apikey"`
-   SecretKey string `ini:"secretkey"`
-   Client*http.Client
+   URL   string   `ini:"url"`
+   Username  string   `ini:"username"`
+   Password  string   `ini:"password"`
+   Domainstring   `ini:"domain"`
+   APIKeystring   `ini:"apikey"`
+   SecretKey string   `ini:"secretkey"`
+   Client*http.Client `ini:"-"`
 }
 
 // Core block describes common options for the CLI
@@ -129,7 +129,7 @@ func GetProfiles() []string {
return profiles
 }
 
-func newHttpClient(cfg *Config) *http.Client {
+func newHTTPClient(cfg *Config) *http.Client {
jar, _ := cookiejar.New(nil)
client := {
Jar: jar,
@@ -211,7 +211,7 @@ func reloadConfig(cfg *Config) *Config {
profiles = append(profiles, profile.Name())
}
 
-   cfg.ActiveProfile.Client = newHttpClient(cfg)
+   cfg.ActiveProfile.Client = newHTTPClient(cfg)
return cfg
 }
 
diff --git a/config/spinner.go b/config/spinner.go
index 732032c..1b0b7f9 100644
--- a/config/spinner.go
+++ b/config/spinner.go
@@ -18,9 +18,10 @@
 package config
 
 import (
-   "github.com/briandowns/spinner"
"runtime"
"time"
+
+   "github.com/briandowns/spinner"
 )
 
 var cursor = []string{"\r⣷ ", "\r⣯ ", "\r⣟ ", "\r⡿ ", "\r⢿ ", "\r⣻ ", 
"\r⣽ ", "\r⣾ "}
@@ -37,12 +38,12 @@ func (c *Config) StartSpinner(suffix string) 
*spinner.Spinner {
return nil
}
waiter := spinner.New(cursor, 200*time.Millisecond)
-   waiter.Color("blue", "bold")
waiter.Suffix = " " + suffix
waiter.Start()
return waiter
 }
 
+// StopSpinner stops the provided spinner if it is valid
 func (c *Config) StopSpinner(waiter *spinner.Spinner) {
if waiter != nil {
waiter.Stop()



[cloudstack-cloudmonkey.wiki] branch master updated: update gifs and screenshots

2018-06-26 Thread rohit
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 1414b3e  update gifs and screenshots
1414b3e is described below

commit 1414b3e298ebb3981029d128a2353a535e3d99c8
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 14:17:22 2018 +0530

update gifs and screenshots

Signed-off-by: Rohit Yadav 
---
 Home.md   |   2 +-
 images/darwin-install.gif | Bin 0 -> 8862716 bytes
 images/darwin-install.png | Bin 75381 -> 0 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Home.md b/Home.md
index a04c19a..aff577f 100644
--- a/Home.md
+++ b/Home.md
@@ -30,7 +30,7 @@ CloudMonkey on Ubuntu GNU/Linux 18.04:
 
 CloudMonkey on OSX:
 
-![cloudmonkey on OSX](images/darwin-install.png)
+![cloudmonkey on OSX](images/darwin-install.gif)
 
 CloudMonkey on Windows:
 
diff --git a/images/darwin-install.gif b/images/darwin-install.gif
new file mode 100644
index 000..fbb6a38
Binary files /dev/null and b/images/darwin-install.gif differ
diff --git a/images/darwin-install.png b/images/darwin-install.png
deleted file mode 100644
index c6057d6..000
Binary files a/images/darwin-install.png and /dev/null differ



[cloudstack-cloudmonkey.wiki] branch master updated: add screenshots

2018-06-26 Thread rohit
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 023264c  add screenshots
023264c is described below

commit 023264c2add53e648c4f532fec8f74992719ea5f
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 14:05:57 2018 +0530

add screenshots

Signed-off-by: Rohit Yadav 
---
 Home.md   |  13 -
 images/darwin-install.png | Bin 0 -> 75381 bytes
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/Home.md b/Home.md
index 9120eaa..a04c19a 100644
--- a/Home.md
+++ b/Home.md
@@ -17,10 +17,21 @@ Download the binary for Linux or Mac based on your platform 
and move it to a dir
 sudo wget  -O /usr/local/bin/cmk
 sudo chmod +x /usr/local/cmk
 ```
-![cloudmonkey on Ubuntu 18.04](images/ubuntu-install.png)
 
 ## 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`.
 
+### Screenshots
+
+CloudMonkey on Ubuntu GNU/Linux 18.04:
+
+![cloudmonkey on Ubuntu 18.04](images/ubuntu-install.png)
+
+CloudMonkey on OSX:
+
+![cloudmonkey on OSX](images/darwin-install.png)
+
+CloudMonkey on Windows:
+
 ![cloudmonkey on Windows 10](images/windows-install.png)
diff --git a/images/darwin-install.png b/images/darwin-install.png
new file mode 100644
index 000..c6057d6
Binary files /dev/null and b/images/darwin-install.png differ



[GitHub] blueorangutan commented on issue #2659: removed unused code in snapshotDao

2018-06-26 Thread GitBox
blueorangutan commented on issue #2659: removed unused code in snapshotDao
URL: https://github.com/apache/cloudstack/pull/2659#issuecomment-400225440
 
 
   Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2153


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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.wiki] branch master updated: Updated Home (markdown)

2018-06-26 Thread rohit
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 01b59e1  Updated Home (markdown)
01b59e1 is described below

commit 01b59e1954ce17a8027c9e83708d171ceabb7dd3
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:50:49 2018 +0530

Updated Home (markdown)
---
 Home.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Home.md b/Home.md
index e0cb7b8..9120eaa 100644
--- a/Home.md
+++ b/Home.md
@@ -22,3 +22,5 @@ sudo chmod +x /usr/local/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`.
+
+![cloudmonkey on Windows 10](images/windows-install.png)



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Home (markdown)

2018-06-26 Thread rohit
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 0f368e2  Updated Home (markdown)
0f368e2 is described below

commit 0f368e2f35fd294f04abea2f049d9f29ae40e4ce
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:50:21 2018 +0530

Updated Home (markdown)
---
 Home.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Home.md b/Home.md
index a7d4371..e0cb7b8 100644
--- a/Home.md
+++ b/Home.md
@@ -17,6 +17,7 @@ Download the binary for Linux or Mac based on your platform 
and move it to a dir
 sudo wget  -O /usr/local/bin/cmk
 sudo chmod +x /usr/local/cmk
 ```
+![cloudmonkey on Ubuntu 18.04](images/ubuntu-install.png)
 
 ## Install on Windows
 



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Home (markdown)

2018-06-26 Thread rohit
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 713e39a  Updated Home (markdown)
713e39a is described below

commit 713e39a4bfd10e71f7961cdf91fb8655cf4c8dfe
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:40:18 2018 +0530

Updated Home (markdown)
---
 Home.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Home.md b/Home.md
index 5561e19..a7d4371 100644
--- a/Home.md
+++ b/Home.md
@@ -20,4 +20,4 @@ sudo chmod +x /usr/local/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`.
\ No newline at end of file
+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`.



[GitHub] blueorangutan commented on issue #2659: removed unused code in snapshotDao

2018-06-26 Thread GitBox
blueorangutan commented on issue #2659: removed unused code in snapshotDao
URL: https://github.com/apache/cloudstack/pull/2659#issuecomment-400216031
 
 
   @DaanHoogland 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 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] DaanHoogland commented on issue #2659: removed unused code in snapshotDao

2018-06-26 Thread GitBox
DaanHoogland commented on issue #2659: removed unused code in snapshotDao
URL: https://github.com/apache/cloudstack/pull/2659#issuecomment-400215738
 
 
   @blueorangutan package


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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.wiki] branch master updated: Updated Home (markdown)

2018-06-26 Thread rohit
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 7610dcd  Updated Home (markdown)
7610dcd is described below

commit 7610dcdc8a21ac2edbe59093bbabd6524e223a5b
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:15:27 2018 +0530

Updated Home (markdown)
---
 Home.md | 18 +++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/Home.md b/Home.md
index f961337..90ec884 100644
--- a/Home.md
+++ b/Home.md
@@ -4,8 +4,20 @@ The original `cloudmonkey` was written in Python and 
contributed to Apache Cloud
 
 Docs for legacy `cloudmonkey`: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
 
-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 executable binary for several platforms 
such as Linux, Mac and Windows.
+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.
 
-# Getting Started
+# Installation
 
-To install the modern Apache CloudStack cloudmonkey or `cmk`, please do...
\ No newline at end of file
+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/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`?
\ No newline at end of file



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Home (markdown)

2018-06-26 Thread rohit
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 eaaa9de  Updated Home (markdown)
eaaa9de is described below

commit eaaa9de0cce28157bd83555c121b3d64aff29fe5
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:15:41 2018 +0530

Updated Home (markdown)
---
 Home.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Home.md b/Home.md
index 90ec884..5561e19 100644
--- a/Home.md
+++ b/Home.md
@@ -20,4 +20,4 @@ sudo chmod +x /usr/local/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`?
\ No newline at end of file
+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`.
\ No newline at end of file



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Usage (markdown)

2018-06-26 Thread rohit
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 b578230  Updated Usage (markdown)
b578230 is described below

commit b578230936ed5ba490e8e59d2cd026ded31040d1
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:08:14 2018 +0530

Updated Usage (markdown)
---
 Usage.md => Getting-Started.md | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/Usage.md b/Getting-Started.md
similarity index 100%
rename from Usage.md
rename to Getting-Started.md



[cloudstack-cloudmonkey.wiki] branch master updated: Created Usage (markdown)

2018-06-26 Thread rohit
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 8cebd80  Created Usage (markdown)
8cebd80 is described below

commit 8cebd80cdee3e6bb4b8d7c62fa55b2a5f20ea98f
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:08:38 2018 +0530

Created Usage (markdown)
---
 Usage.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Usage.md b/Usage.md
new file mode 100644
index 000..01fc683
--- /dev/null
+++ b/Usage.md
@@ -0,0 +1 @@
+List various feature and docs on how to use them, write bash etc.
\ No newline at end of file



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Usage (markdown)

2018-06-26 Thread rohit
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 016f513  Updated Usage (markdown)
016f513 is described below

commit 016f5131c45548c924bdb7e3b8784501c5324daf
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:07:59 2018 +0530

Updated Usage (markdown)
---
 Usage.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Usage.md b/Usage.md
index 7c0aa37..23ef9d2 100644
--- a/Usage.md
+++ b/Usage.md
@@ -25,4 +25,4 @@ Successfully logged in and saved credentials to the server 
profile.
 (mycloud)  > sync
 ⣟  discovering APIs, please wait...
 ```
-You can also use the `set` command to set the various server profile specific 
options.
\ 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 and history files.
\ No newline at end of file



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Usage (markdown)

2018-06-26 Thread rohit
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 5f76a8c  Updated Usage (markdown)
5f76a8c is described below

commit 5f76a8c692ba9d3b393641477f5cbf4c8791f9ee
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 13:06:34 2018 +0530

Updated Usage (markdown)
---
 Usage.md | 29 +++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/Usage.md b/Usage.md
index 6d99c50..7c0aa37 100644
--- a/Usage.md
+++ b/Usage.md
@@ -1,3 +1,28 @@
-For legacy cloudmonkey (Python based) until version 5.3.3, please refer the 
[old cwiki 
doc](https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI)
 for usage.
+# First steps
 
-This page is under progress, the usage will be more or less same as the legacy 
cloudmonkey (python based).
\ No newline at end of file
+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:
+
+```
+$ 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
+
+(localcloud)  > set profile mycloud
+Loaded server profile: mycloud
+Url: http://localhost:8080/client/api
+Username:admin
+Domain:  /
+API Key: 
+
+(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)  > sync
+⣟  discovering APIs, please wait...
+```
+You can also use the `set` command to set the various server profile specific 
options.
\ No newline at end of file



[GitHub] blueorangutan commented on issue #2718: Update Apache DBCP version

2018-06-26 Thread GitBox
blueorangutan commented on issue #2718: Update Apache DBCP version
URL: https://github.com/apache/cloudstack/pull/2718#issuecomment-400208556
 
 
   Trillian test result (tid-2824)
   Environment: vmware-65 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 46427 seconds
   Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2718-t2824-vmware-65.zip
   Intermitten failure detected: /marvin/tests/smoke/test_certauthority_root.py
   Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
   Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
   Smoke tests completed. 63 look OK, 4 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 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.wiki] branch master updated: Updated Home (markdown)

2018-06-26 Thread rohit
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 b44f892  Updated Home (markdown)
b44f892 is described below

commit b44f892ed4abf548705cfc92d499ab00a79e56a5
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 12:57:12 2018 +0530

Updated Home (markdown)
---
 Home.md | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Home.md b/Home.md
index 0e64053..f961337 100644
--- a/Home.md
+++ b/Home.md
@@ -1,11 +1,11 @@
-Welcome to the Cloudstack cloudmonkey wiki!
+## History
 
-# History
-
-Legacy Python-based cloudmonkey can be installed using: `pip install 
cloudmonkey`
+The original `cloudmonkey` was written in Python and contributed to Apache 
CloudStack project by Rohit Yadav on 31 Oct 2012 under the Apache License 2.0. 
The Python-based tool is now referred to as the legacy `cloudmonkey` and can be 
installed using `pip install cloudmonkey`.
 
 Docs for legacy `cloudmonkey`: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
 
-# Install
+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 executable binary for several platforms 
such as Linux, Mac and Windows.
+
+# Getting Started
 
 To install the modern Apache CloudStack cloudmonkey or `cmk`, please do...
\ No newline at end of file



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Home (markdown)

2018-06-26 Thread rohit
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 0d8ff4e  Updated Home (markdown)
0d8ff4e is described below

commit 0d8ff4eb63881ffeec6f113c4a97d6039ce0375e
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 12:51:46 2018 +0530

Updated Home (markdown)
---
 Home.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Home.md b/Home.md
index 9d9850d..0e64053 100644
--- a/Home.md
+++ b/Home.md
@@ -3,7 +3,8 @@ Welcome to the Cloudstack cloudmonkey wiki!
 # History
 
 Legacy Python-based cloudmonkey can be installed using: `pip install 
cloudmonkey`
-Docs for legacy cloudmonkey: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
+
+Docs for legacy `cloudmonkey`: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
 
 # Install
 



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Home (markdown)

2018-06-26 Thread rohit
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 f694cee  Updated Home (markdown)
f694cee is described below

commit f694ceeca8300d1dacd90bd881b8217c88d0da00
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 12:51:09 2018 +0530

Updated Home (markdown)
---
 Getting-Started.md | 10 ++
 Home.md|  1 -
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/Getting-Started.md b/Getting-Started.md
new file mode 100644
index 000..9d9850d
--- /dev/null
+++ b/Getting-Started.md
@@ -0,0 +1,10 @@
+Welcome to the Cloudstack cloudmonkey wiki!
+
+# History
+
+Legacy Python-based cloudmonkey can be installed using: `pip install 
cloudmonkey`
+Docs for legacy cloudmonkey: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
+
+# Install
+
+To install the modern Apache CloudStack cloudmonkey or `cmk`, please do...
\ No newline at end of file
diff --git a/Home.md b/Home.md
deleted file mode 100644
index fc83613..000
--- a/Home.md
+++ /dev/null
@@ -1 +0,0 @@
-Welcome to the Cloudstack cloudmonkey wiki!



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Getting Started (markdown)

2018-06-26 Thread rohit
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 56466ad  Updated Getting Started (markdown)
56466ad is described below

commit 56466ad4099f9ecda78475929c1e582f834c71a6
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 12:51:25 2018 +0530

Updated Getting Started (markdown)
---
 Getting-Started.md => Home.md | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/Getting-Started.md b/Home.md
similarity index 100%
rename from Getting-Started.md
rename to Home.md



[cloudstack-cloudmonkey.wiki] branch master updated: Updated Configuration (markdown)

2018-06-26 Thread rohit
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 afcd56e  Updated Configuration (markdown)
afcd56e is described below

commit afcd56e8311f04571ca9f0c8995926866eae5a28
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 12:49:06 2018 +0530

Updated Configuration (markdown)
---
 Configuration.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Configuration.md b/Configuration.md
index 4062beb..4f40d90 100644
--- a/Configuration.md
+++ b/Configuration.md
@@ -15,4 +15,6 @@ domain* | The user's domain | /
 apikey* | The user's API key | 
 secretkey* | The user's secret key | 
 
-Note: Options marked with * are settings per server profile
\ No newline at end of file
+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



[cloudstack-cloudmonkey.wiki] branch master updated: Created Configuration (markdown)

2018-06-26 Thread rohit
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 318c4ca  Created Configuration (markdown)
318c4ca is described below

commit 318c4ca17d298cae04b3609ae2afe09c440e93ae
Author: Rohit Yadav 
AuthorDate: Tue Jun 26 12:48:02 2018 +0530

Created Configuration (markdown)
---
 Configuration.md | 18 ++
 1 file changed, 18 insertions(+)

diff --git a/Configuration.md b/Configuration.md
new file mode 100644
index 000..4062beb
--- /dev/null
+++ b/Configuration.md
@@ -0,0 +1,18 @@
+These are the various options you can configure in `cloudmonkey` using `set`, 
for example `set output table`
+
+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 | 
+timeout | The API timeout in seconds | 1800
+verifycert | Whether to verify X509/TLS certificate if URL is https enabled | 
true
+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 | 
+
+Note: Options marked with * are settings per server profile
\ No newline at end of file



[GitHub] blueorangutan commented on issue #2721: api: Introducing a new diagnostics API command for system VMs for CloudStack admins

2018-06-26 Thread GitBox
blueorangutan commented on issue #2721: api: Introducing a new diagnostics API 
command for system VMs for CloudStack admins
URL: https://github.com/apache/cloudstack/pull/2721#issuecomment-400196341
 
 
   @borisstoyanov 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 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] borisstoyanov commented on issue #2721: api: Introducing a new diagnostics API command for system VMs for CloudStack admins

2018-06-26 Thread GitBox
borisstoyanov commented on issue #2721: api: Introducing a new diagnostics API 
command for system VMs for CloudStack admins
URL: https://github.com/apache/cloudstack/pull/2721#issuecomment-400196268
 
 
   @blueorangutan test


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] jia3apb edited a comment on issue #2679: Non-admin user interface reload (ctrl+R) causes dropping session

2018-06-26 Thread GitBox
jia3apb edited a comment on issue #2679: Non-admin user interface reload 
(ctrl+R) causes dropping session
URL: https://github.com/apache/cloudstack/issues/2679#issuecomment-400195898
 
 
   Problem was solved by adding **if (isAdmin()){** in cloudStack.js in line 
175. Result is:
   
   ```
   if (isAdmin()){
   $.ajax({
   type: 'GET',
   url: createURL('listConfigurations'),
   data: {name: 'default.ui.page.size'},
   dataType: 'json',
   async: false,
   success: function(data, textStatus, xhr) {
   if (data && data.listconfigurationsresponse && 
data.listconfigurationsresponse.configuration) {
   var config = 
data.listconfigurationsresponse.configuration[0];
   if (config && config.name == 
'default.ui.page.size') {
   pageSize = parseInt(config.value);
   }
   }
   },
   error: function(xhr) { // ignore any errors, 
fallback to the default
   }
   });
   }
   ```
   
   
   It seems like usage of this API method **listConfigurations** by non-admin 
user drops the session.
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] jia3apb commented on issue #2679: Non-admin user interface reload (ctrl+R) causes dropping session

2018-06-26 Thread GitBox
jia3apb commented on issue #2679: Non-admin user interface reload (ctrl+R) 
causes dropping session
URL: https://github.com/apache/cloudstack/issues/2679#issuecomment-400195898
 
 
   Problem was solved by adding **if (isAdmin()){** in cloudStack.js in line 
175. Result is:
   
   ```
   if (isAdmin()){
   $.ajax({
   type: 'GET',
   url: createURL('listConfigurations'),
   data: {name: 'default.ui.page.size'},
   dataType: 'json',
   async: false,
   success: function(data, textStatus, xhr) {
   if (data && data.listconfigurationsresponse && 
data.listconfigurationsresponse.configuration) {
   var config = 
data.listconfigurationsresponse.configuration[0];
   if (config && config.name == 
'default.ui.page.size') {
   pageSize = parseInt(config.value);
   }
   }
   },
   error: function(xhr) { // ignore any errors, 
fallback to the default
   }
   });
   }
   ```
   
   
   It seems like using this API method **listConfigurations** by non-admin user 
drop the session.
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] blueorangutan commented on issue #2721: api: Introducing a new diagnostics API command for system VMs for CloudStack admins

2018-06-26 Thread GitBox
blueorangutan commented on issue #2721: api: Introducing a new diagnostics API 
command for system VMs for CloudStack admins
URL: https://github.com/apache/cloudstack/pull/2721#issuecomment-40019
 
 
   Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2152


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] blueorangutan commented on issue #2721: api: Introducing a new diagnostics API command for system VMs for CloudStack admins

2018-06-26 Thread GitBox
blueorangutan commented on issue #2721: api: Introducing a new diagnostics API 
command for system VMs for CloudStack admins
URL: https://github.com/apache/cloudstack/pull/2721#issuecomment-400189328
 
 
   @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 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] borisstoyanov commented on issue #2721: api: Introducing a new diagnostics API command for system VMs for CloudStack admins

2018-06-26 Thread GitBox
borisstoyanov commented on issue #2721: api: Introducing a new diagnostics API 
command for system VMs for CloudStack admins
URL: https://github.com/apache/cloudstack/pull/2721#issuecomment-400189168
 
 
   @blueorangutan package


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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