[GitHub] ernjvr opened a new pull request #2538: Remove deprecated tomcat configuration file instead of moving it, sin…
ernjvr opened a new pull request #2538: Remove deprecated tomcat configuration file instead of moving it, sin… URL: https://github.com/apache/cloudstack/pull/2538 …ce moving it prevented the 4.11 upgrade from overwriting it with the new jetty configurations. Also added systemctl daemon-reload to refresh daemon services so that management server can start up seamlessly after the upgrade. ## Description ## 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) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ## Screenshots (if appropriate): ## How Has This Been Tested? ## Checklist: - [ ] I have read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document. - [ ] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. Testing - [ ] I have added tests to cover my changes. - [ ] All relevant new and existing integration tests have passed. - [ ] A full integration testsuite with all test that can run on my environment has passed. @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
[GitHub] blueorangutan commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin…
blueorangutan commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin… URL: https://github.com/apache/cloudstack/pull/2538#issuecomment-379167386 @ernjvr 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] blueorangutan commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin…
blueorangutan commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin… URL: https://github.com/apache/cloudstack/pull/2538#issuecomment-379172804 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1877 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 a change in pull request #2505: CLOUDSTACK-10333: Secure Live VM Migration for KVM
DaanHoogland commented on a change in pull request #2505: CLOUDSTACK-10333: Secure Live VM Migration for KVM URL: https://github.com/apache/cloudstack/pull/2505#discussion_r179684831 ## File path: debian/cloudstack-agent.postinst ## @@ -50,6 +50,13 @@ case "$1" in mkdir /etc/libvirt/hooks fi cp -a /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu + +# Enable TLS enabled VM migration for libvirtd +if ! iptables-save | grep -- "-A INPUT -p tcp -m tcp --dport 16514 -j ACCEPT" > /dev/null; then +iptables -t filter -A INPUT -p tcp -m tcp --dport 16514 -j ACCEPT +iptables-save > /etc/iptables/rules.v4 +fi + Review comment: Is there an alternative that will work. I would not like to see a large devide between the amount of work to be done on rhel-like systems versus debian-likes. 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 #2535: Create an easy way to enable Java remote Debug for ACS
DaanHoogland commented on issue #2535: Create an easy way to enable Java remote Debug for ACS URL: https://github.com/apache/cloudstack/pull/2535#issuecomment-379184827 ci has been executed and the fix is on functional. it is only documentation in code, i think we're fine, @rafaelweingartner . 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 a change in pull request #2505: CLOUDSTACK-10333: Secure Live VM Migration for KVM
DaanHoogland commented on a change in pull request #2505: CLOUDSTACK-10333: Secure Live VM Migration for KVM URL: https://github.com/apache/cloudstack/pull/2505#discussion_r179692024 ## File path: test/integration/smoke/test_vm_life_cycle.py ## @@ -21,9 +21,11 @@ from marvin.cloudstackAPI import (recoverVirtualMachine, destroyVirtualMachine, attachIso, - detachIso) -from marvin.lib.utils import (cleanup_resources, - validateList) + detachIso, Review comment: strange alignment is happening here and below. not fatal, just a headsup 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] mdesaive opened a new issue #2539: Admin Dashboard System Capacity broken with German Locale
mdesaive opened a new issue #2539: Admin Dashboard System Capacity broken with German Locale URL: https://github.com/apache/cloudstack/issues/2539 # ISSUE TYPE * Bug Report # COMPONENT NAME ~~~ UI ~~~ # CLOUDSTACK VERSION ~~~ 4.11 ~~~ # CONFIGURATION # OS / ENVIRONMENT # SUMMARY With german locale settings, the graphics in the section "System Capacity" in the Dashboard are displayed incorrectly. # STEPS TO REPRODUCE ~~~ echo "LANG="de_DE.UTF-8" > /etc/default/locale to service cloudstack-management restart Login to CloudStack Web-UI ~~~ # EXPECTED RESULTS ~~~ See the graphics for "System Capacity" displayed correctly. ~~~ # ACTUAL RESULTS ~~~ The graphics show all red circles. ~~~ 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] mdesaive opened a new issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:"
mdesaive opened a new issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:" URL: https://github.com/apache/cloudstack/issues/2540 # ISSUE TYPE * Bug Report # COMPONENT NAME ~~~ Network ~~~ # CLOUDSTACK VERSION ~~~ 4.11 ~~~ # CONFIGURATION # OS / ENVIRONMENT # SUMMARY We're unable to create more than one NIC on a shared network through the Web-UI. # STEPS TO REPRODUCE ~~~ Log in to Web-UI Create new shared network. Add NIC on this new network to a VM. (works) Add NIC on this new network to another VM. Fails with "A NIC with this MAC address exits for network: (uuid of the current (other NIC) network)" ~~~ # EXPECTED RESULTS ~~~ The second NIC should be added correctly. ~~~ # ACTUAL RESULTS ~~~ Adding the NIC fails with "A NIC with this MAC address exits for network: (uuid of the current (other NIC) network)" ~~~ 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] mdesaive commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:"
mdesaive commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:" URL: https://github.com/apache/cloudstack/issues/2540#issuecomment-379193983 Stephan investigated the issue and found a temporary patch, which works for us. He gave this information: After digging into the code, I think I've found the problem, but am too bad in java to provide a sustainable fix. I've attached a patch which obviously (with own manual tests) fixes that issue by simply commenting out the respective codeblock. As far as I dug into the code, the third parameter of NicProfile is handled by NetUtils.long2Mac(NetUtils.createSequenceBasedMacAddress(ipVO.getMacAddress(), NetworkModel.MACIdentifier.value()) inside NicProfileHelperImpl.java I assume createSequenceBasedMacAddress can handle null as MAC, but doesn't get called at all if _nicDao.findByNetworkIdAndMacAddress(networkId, macAddress) results != null if macAddress is null. 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] mdesaive commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:"
mdesaive commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:" URL: https://github.com/apache/cloudstack/issues/2540#issuecomment-379193983 Stephan investigated the issue and found a temporary patch, which works for us. He gave this information: After digging into the code, I think I've found the problem, but am too bad in java to provide a sustainable fix. I've attached a patch which obviously (with own manual tests) fixes that issue by simply commenting out the respective codeblock. As far as I dug into the code, the third parameter of NicProfile is handled by NetUtils.long2Mac(NetUtils.createSequenceBasedMacAddress(ipVO.getMacAddress(), NetworkModel.MACIdentifier.value()) inside NicProfileHelperImpl.java I assume createSequenceBasedMacAddress can handle null as MAC, but doesn't get called at all if _nicDao.findByNetworkIdAndMacAddress(networkId, macAddress) results != null if macAddress is null. [cloudstack-4.11.0-stephans-duplicate-nicaddress-fix.diff.txt](https://github.com/apache/cloudstack/files/1883346/cloudstack-4.11.0-stephans-duplicate-nicaddress-fix.diff.txt) 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] mdesaive commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:"
mdesaive commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:" URL: https://github.com/apache/cloudstack/issues/2540#issuecomment-379194792 Duplicates: https://issues.apache.org/jira/browse/CLOUDSTACK-10350 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 #2499: Updates to capacity management
DaanHoogland commented on issue #2499: Updates to capacity management URL: https://github.com/apache/cloudstack/pull/2499#issuecomment-379195660 @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
[GitHub] blueorangutan commented on issue #2499: Updates to capacity management
blueorangutan commented on issue #2499: Updates to capacity management URL: https://github.com/apache/cloudstack/pull/2499#issuecomment-379195798 @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 #2539: Admin Dashboard System Capacity broken with German Locale
DaanHoogland commented on issue #2539: Admin Dashboard System Capacity broken with German Locale URL: https://github.com/apache/cloudstack/issues/2539#issuecomment-379196835 @mdesaive I am assuming that the line echo "LANG="de_DE.UTF-8" > /etc/default/locale to should read echo LANG="de_DE.UTF-8" > /etc/default/locale Did you test any other locales? thanks 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] ernjvr commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin…
ernjvr commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin… URL: https://github.com/apache/cloudstack/pull/2538#issuecomment-379197361 @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 #2538: Remove deprecated tomcat configuration file instead of moving it, sin…
blueorangutan commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin… URL: https://github.com/apache/cloudstack/pull/2538#issuecomment-379197641 @ernjvr 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] s-seitz commented on issue #2539: Admin Dashboard System Capacity broken with German Locale
s-seitz commented on issue #2539: Admin Dashboard System Capacity broken with German Locale URL: https://github.com/apache/cloudstack/issues/2539#issuecomment-379197711 After noting that issue we simply switched to "C" and added LANG and LC_ALL just for convenience to roots ~/.bashrc 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] mdesaive opened a new issue #2541: Add "Lets Encrypt CA" Certpath to SSVM Keystore (for cdimage.debian.org)
mdesaive opened a new issue #2541: Add "Lets Encrypt CA" Certpath to SSVM Keystore (for cdimage.debian.org) URL: https://github.com/apache/cloudstack/issues/2541 # ISSUE TYPE * Improvement Request # COMPONENT NAME ~~~ SSVM ~~~ # CLOUDSTACK VERSION ~~~ 4.11 ~~~ # CONFIGURATION # OS / ENVIRONMENT # SUMMARY The Download of ISO Images from https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.4.0-amd64-netinst.iso fails. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target The site "cdimage.debian.org" uses Certificates from "Lets Encrypt". Could it be the certification path for "Lets Encrypt" is not included in the Java Keystore on the SSVM? If so, could "Lets Encrypt" be added to the Keystore? # STEPS TO REPRODUCE ~~~ Log in to Web-UI Register ISO Enter Download URL "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.4.0-amd64-netinst.iso"; ~~~ # EXPECTED RESULTS ~~~ The Debian ISO image should be installed correctly. ~~~ # ACTUAL RESULTS ~~~ Download fails with: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ~~~ 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] mdesaive commented on issue #2541: Add "Lets Encrypt CA" Certpath to SSVM Keystore (for cdimage.debian.org)
mdesaive commented on issue #2541: Add "Lets Encrypt CA" Certpath to SSVM Keystore (for cdimage.debian.org) URL: https://github.com/apache/cloudstack/issues/2541#issuecomment-379200566 Duplicates: https://issues.apache.org/jira/browse/CLOUDSTACK-10351 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 #2499: Updates to capacity management
DaanHoogland commented on issue #2499: Updates to capacity management URL: https://github.com/apache/cloudstack/pull/2499#issuecomment-379202858 @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 #2499: Updates to capacity management
blueorangutan commented on issue #2499: Updates to capacity management URL: https://github.com/apache/cloudstack/pull/2499#issuecomment-379202961 @DaanHoogland 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] blueorangutan commented on issue #2499: Updates to capacity management
blueorangutan commented on issue #2499: Updates to capacity management URL: https://github.com/apache/cloudstack/pull/2499#issuecomment-379203014 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1878 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] mdesaive commented on issue #2542: CloudStack-Usage Broken after Upgrade from 4.9 to 4.11
mdesaive commented on issue #2542: CloudStack-Usage Broken after Upgrade from 4.9 to 4.11 URL: https://github.com/apache/cloudstack/issues/2542#issuecomment-379203257 Stephan found out, that the update didn't clean old libs from /usr/share/cloudstack-usage/libs. For us cleanup and reinstall fixed that. 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] mdesaive opened a new issue #2542: CloudStack-Usage Broken after Upgrade from 4.9 to 4.11
mdesaive opened a new issue #2542: CloudStack-Usage Broken after Upgrade from 4.9 to 4.11 URL: https://github.com/apache/cloudstack/issues/2542 # ISSUE TYPE * Bug Report # COMPONENT NAME ~~~ Cloudstack-Usage ~~~ # CLOUDSTACK VERSION ~~~ 4.11 4.9 ~~~ # CONFIGURATION # OS / ENVIRONMENT Management Server Ubuntu 14.04 with repo: deb http://packages.shapeblue.com/cloudstack/upstream/debian/4.11 / # SUMMARY After upgrading from CloudStack 4.9 to 4.11 as described in http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.11.0.0/upgrade/upgrade-4.9.html cloudstack-usage does no longer startup. # STEPS TO REPRODUCE ~~~ Do upgrade as in http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.11.0.0/upgrade/upgrade-4.9.html service cloudstack-usage start ~~~ # EXPECTED RESULTS ~~~ "service cloudstack-usage status" should show a correctly running service. ~~~ # ACTUAL RESULTS ~~~ "service cloudstack-usage status" indicates that cloudstack-usage is not running. ~~~ 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] s-seitz commented on issue #2542: CloudStack-Usage Broken after Upgrade from 4.9 to 4.11
s-seitz commented on issue #2542: CloudStack-Usage Broken after Upgrade from 4.9 to 4.11 URL: https://github.com/apache/cloudstack/issues/2542#issuecomment-379204491 Attached is a diff from a working and a non-working (updated) setup. It shows in the non-working setup a lot of jar's from the pre-update are getting loaded. root@acs-management-1:~# diff -u cloudstack-usage-process-libs-not-working cloudstack-usage-process-libs-working --- cloudstack-usage-process-libs-not-working2018-04-04 09:54:15.901380256 +0200 +++ cloudstack-usage-process-libs-working2018-04-04 09:54:06.805281679 +0200 @@ -6,247 +6,119 @@ /usr/share/java/mysql-connector-java.jar /usr/share/cloudstack-usage/lib/activation-1.1.jar /usr/share/cloudstack-usage/lib/animal-sniffer-annotations-1.14.jar -/usr/share/cloudstack-usage/lib/antisamy-1.4.3.jar /usr/share/cloudstack-usage/lib/antisamy-1.5.3.jar /usr/share/cloudstack-usage/lib/apache-log4j-extras-1.2.17.jar /usr/share/cloudstack-usage/lib/aspectjweaver-1.8.13.jar -/usr/share/cloudstack-usage/lib/aspectjweaver-1.8.4.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-api-gateway-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-autoscaling-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cloudformation-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cloudfront-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cloudhsm-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cloudsearch-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cloudtrail-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cloudwatch-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cloudwatchmetrics-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-codecommit-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-codedeploy-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-codepipeline-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cognitoidentity-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-cognitosync-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-config-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-core-1.10.34.jar /usr/share/cloudstack-usage/lib/aws-java-sdk-core-1.11.213.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-datapipeline-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-devicefarm-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-directconnect-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-directory-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-dynamodb-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-ec2-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-ecs-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-efs-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-elasticache-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-elasticbeanstalk-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-elasticloadbalancing-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-elasticsearch-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-elastictranscoder-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-emr-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-glacier-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-iam-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-importexport-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-inspector-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-iot-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-kinesis-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-kms-1.10.34.jar /usr/share/cloudstack-usage/lib/aws-java-sdk-kms-1.11.213.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-lambda-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-logs-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-machinelearning-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-marketplacecommerceanalytics-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-opsworks-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-rds-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-redshift-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-route53-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-s3-1.10.34.jar /usr/share/cloudstack-usage/lib/aws-java-sdk-s3-1.11.213.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-ses-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-simpledb-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-simpleworkflow-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk-sns-1.10.34.jar -/usr/share/cloudstack-usage/lib/aws-java-sdk
[GitHub] ernjvr commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin…
ernjvr commented on issue #2538: Remove deprecated tomcat configuration file instead of moving it, sin… URL: https://github.com/apache/cloudstack/pull/2538#issuecomment-379208186 Manually tested the upgrade from 4.6 to 4.11 and verified: - /etc/sysconfig/cloudstack-management file has been removed - /etc/default/management-server has the correct version 4.11 configurations - management server starts successfully - UI login is successful - all VMs started successfully 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] rafaelweingartner closed pull request #2535: Create an easy way to enable Java remote Debug for ACS
rafaelweingartner closed pull request #2535: Create an easy way to enable Java remote Debug for ACS URL: https://github.com/apache/cloudstack/pull/2535 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/packaging/systemd/cloudstack-management.default b/packaging/systemd/cloudstack-management.default index fbdb25634a1..05f4a508c37 100644 --- a/packaging/systemd/cloudstack-management.default +++ b/packaging/systemd/cloudstack-management.default @@ -33,3 +33,7 @@ LOGDIR="/var/log/cloudstack/management" CLASSPATH="/etc/cloudstack/management:/usr/share/cloudstack-common:/usr/share/cloudstack-management/setup:/usr/share/cloudstack-management:/usr/share/java/mysql-connector-java.jar:/usr/share/java/commons-daemon.jar" BOOTSTRAP_CLASS=org.apache.cloudstack.ServerDaemon + +#You can uncomment this if you want to enable Java remote debugging. +#You can change the parameters at your will. The 'address' field defines the port to be used. +#JAVA_DEBUG="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n" \ No newline at end of file diff --git a/packaging/systemd/cloudstack-management.service b/packaging/systemd/cloudstack-management.service index afcea8ca6f6..28eedef7db2 100644 --- a/packaging/systemd/cloudstack-management.service +++ b/packaging/systemd/cloudstack-management.service @@ -28,7 +28,7 @@ Environment="NAME=cloudstack-management" EnvironmentFile=/etc/default/cloudstack-management ExecStartPre=/bin/bash -c "/bin/systemctl set-environment JAVA_HOME=$( readlink -f $( which java ) | sed s:bin/.*$:: )" ExecStartPre=/bin/bash -c "/bin/systemctl set-environment JARS=$(ls /usr/share/cloudstack-management/lib/*.jar | tr '\n' ':' | sed s'/.$//')" -ExecStart=/usr/bin/jsvc -home "${JAVA_HOME}" -user "${CLOUDSTACK_USER}" -cp "${JARS}:${CLASSPATH}" -errfile ${LOGDIR}/${NAME}.err -cwd ${LOGDIR} -pidfile "${CLOUDSTACK_PID}" ${JAVA_OPTS} "${BOOTSTRAP_CLASS}" +ExecStart=/usr/bin/jsvc $JAVA_DEBUG -home "${JAVA_HOME}" -user "${CLOUDSTACK_USER}" -cp "${JARS}:${CLASSPATH}" -errfile ${LOGDIR}/${NAME}.err -cwd ${LOGDIR} -pidfile "${CLOUDSTACK_PID}" ${JAVA_OPTS} "${BOOTSTRAP_CLASS}" ExecStop=/usr/bin/jsvc -cp "$JARS:$CLASSPATH" -pidfile "$CLOUDSTACK_PID" -stop "$BOOTSTRAP_CLASS" SuccessExitStatus=143 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] branch master updated: Create an easy way to enable the Java remote Debug for ACS (#2535)
This is an automated email from the ASF dual-hosted git repository. rafael pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack.git The following commit(s) were added to refs/heads/master by this push: new e198ff2 Create an easy way to enable the Java remote Debug for ACS (#2535) e198ff2 is described below commit e198ff21b380f7813772bfd7446385eec883aa03 Author: Rafael Weingärtner AuthorDate: Fri Apr 6 07:17:17 2018 -0300 Create an easy way to enable the Java remote Debug for ACS (#2535) The idea is to create a property in /etc/defaults/cloudstack-management that can be enabled/disabled (uncommented/commented) to control the enabling of Java remote debug in CloudStack's JVM. --- packaging/systemd/cloudstack-management.default | 4 packaging/systemd/cloudstack-management.service | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/systemd/cloudstack-management.default b/packaging/systemd/cloudstack-management.default index fbdb256..05f4a50 100644 --- a/packaging/systemd/cloudstack-management.default +++ b/packaging/systemd/cloudstack-management.default @@ -33,3 +33,7 @@ LOGDIR="/var/log/cloudstack/management" CLASSPATH="/etc/cloudstack/management:/usr/share/cloudstack-common:/usr/share/cloudstack-management/setup:/usr/share/cloudstack-management:/usr/share/java/mysql-connector-java.jar:/usr/share/java/commons-daemon.jar" BOOTSTRAP_CLASS=org.apache.cloudstack.ServerDaemon + +#You can uncomment this if you want to enable Java remote debugging. +#You can change the parameters at your will. The 'address' field defines the port to be used. +#JAVA_DEBUG="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n" \ No newline at end of file diff --git a/packaging/systemd/cloudstack-management.service b/packaging/systemd/cloudstack-management.service index afcea8c..28eedef 100644 --- a/packaging/systemd/cloudstack-management.service +++ b/packaging/systemd/cloudstack-management.service @@ -28,7 +28,7 @@ Environment="NAME=cloudstack-management" EnvironmentFile=/etc/default/cloudstack-management ExecStartPre=/bin/bash -c "/bin/systemctl set-environment JAVA_HOME=$( readlink -f $( which java ) | sed s:bin/.*$:: )" ExecStartPre=/bin/bash -c "/bin/systemctl set-environment JARS=$(ls /usr/share/cloudstack-management/lib/*.jar | tr '\n' ':' | sed s'/.$//')" -ExecStart=/usr/bin/jsvc -home "${JAVA_HOME}" -user "${CLOUDSTACK_USER}" -cp "${JARS}:${CLASSPATH}" -errfile ${LOGDIR}/${NAME}.err -cwd ${LOGDIR} -pidfile "${CLOUDSTACK_PID}" ${JAVA_OPTS} "${BOOTSTRAP_CLASS}" +ExecStart=/usr/bin/jsvc $JAVA_DEBUG -home "${JAVA_HOME}" -user "${CLOUDSTACK_USER}" -cp "${JARS}:${CLASSPATH}" -errfile ${LOGDIR}/${NAME}.err -cwd ${LOGDIR} -pidfile "${CLOUDSTACK_PID}" ${JAVA_OPTS} "${BOOTSTRAP_CLASS}" ExecStop=/usr/bin/jsvc -cp "$JARS:$CLASSPATH" -pidfile "$CLOUDSTACK_PID" -stop "$BOOTSTRAP_CLASS" SuccessExitStatus=143 -- To stop receiving notification emails like this one, please contact raf...@apache.org.
[GitHub] blueorangutan commented on issue #2535: Create an easy way to enable Java remote Debug for ACS
blueorangutan commented on issue #2535: Create an easy way to enable Java remote Debug for ACS URL: https://github.com/apache/cloudstack/pull/2535#issuecomment-379212063 @rafaelweingartner 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] rafaelweingartner commented on issue #2404: [CLOUDSTACK-10230] User should not be able to use removed “Guest OS type”
rafaelweingartner commented on issue #2404: [CLOUDSTACK-10230] User should not be able to use removed “Guest OS type” URL: https://github.com/apache/cloudstack/pull/2404#issuecomment-379215756 Something must have happened with the CI system. This PR's changes would not cause these failures. 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 #2535: Create an easy way to enable Java remote Debug for ACS
blueorangutan commented on issue #2535: Create an easy way to enable Java remote Debug for ACS URL: https://github.com/apache/cloudstack/pull/2535#issuecomment-379217737 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1879 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] mdesaive commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:"
mdesaive commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:" URL: https://github.com/apache/cloudstack/issues/2540#issuecomment-379194792 Duplicates: https://issues.apache.org/jira/browse/CLOUDSTACK-10350. I closed the issue on Jira. 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] mdesaive commented on issue #2541: Add "Lets Encrypt CA" Certpath to SSVM Keystore (for cdimage.debian.org)
mdesaive commented on issue #2541: Add "Lets Encrypt CA" Certpath to SSVM Keystore (for cdimage.debian.org) URL: https://github.com/apache/cloudstack/issues/2541#issuecomment-379200566 Duplicates: https://issues.apache.org/jira/browse/CLOUDSTACK-10351 Closed issue in Jira. 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] mdesaive opened a new issue #2543: Textbox "Account and projectId can't be specified together"
mdesaive opened a new issue #2543: Textbox "Account and projectId can't be specified together" URL: https://github.com/apache/cloudstack/issues/2543 # ISSUE TYPE * Bug Report # COMPONENT NAME ~~~ UI ~~~ # CLOUDSTACK VERSION ~~~ 4.11 ~~~ # CONFIGURATION # OS / ENVIRONMENT # SUMMARY When I view the "Networks" view after selecting a project in the web-UI a textbox with the message "Account and projectId can't be specified together" has to be confirmed. # STEPS TO REPRODUCE ~~~ Log in to the web-UI. Select a project. Select the "Network" view ~~~ # EXPECTED RESULTS ~~~ No textbox. ;) ~~~ # ACTUAL RESULTS ~~~ A textbox with the message "Account and projectId can't be specified together" has to be confirmed. ~~~ 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] mdesaive commented on issue #2543: Textbox "Account and projectId can't be specified together"
mdesaive commented on issue #2543: Textbox "Account and projectId can't be specified together" URL: https://github.com/apache/cloudstack/issues/2543#issuecomment-379221833 A screenshot of the textbox: ![textbox-web-ui](https://user-images.githubusercontent.com/17803067/38418136-720ac64e-399b-11e8-9ab8-71a28e40d420.png) 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] s-seitz commented on issue #2523: XCP-ng 7.4 support
s-seitz commented on issue #2523: XCP-ng 7.4 support URL: https://github.com/apache/cloudstack/issues/2523#issuecomment-379226059 +1 :) We'ld also vote for support for XCP-ng 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] mdesaive commented on issue #2523: XCP-ng 7.4 support
mdesaive commented on issue #2523: XCP-ng 7.4 support URL: https://github.com/apache/cloudstack/issues/2523#issuecomment-379226376 +1 ;) 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 #2502: [CLOUDSTACK-10352] XenServer: Support online migration of a virtual disk from non-managed to managed storage
blueorangutan commented on issue #2502: [CLOUDSTACK-10352] XenServer: Support online migration of a virtual disk from non-managed to managed storage URL: https://github.com/apache/cloudstack/pull/2502#issuecomment-379226833 Trillian test result (tid-2462) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 98541 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2502-t2462-kvm-centos7.zip Intermitten failure detected: /marvin/tests/smoke/test_certauthority_root.py Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py Intermitten failure detected: /marvin/tests/smoke/test_routers.py Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py Intermitten failure detected: /marvin/tests/smoke/test_host_maintenance.py Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py Smoke tests completed. 62 look OK, 5 have error(s) Only failed tests results shown below: Test | Result | Time (s) | Test File --- | --- | --- | --- test_02_vpc_privategw_static_routes | `Failure` | 204.03 | test_privategw_acl.py test_04_restart_network_wo_cleanup | `Failure` | 4.08 | test_routers.py test_04_rvpc_network_garbage_collector_nics | `Failure` | 574.99 | test_vpc_redundant.py test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 1.36 | test_host_maintenance.py test_hostha_enable_ha_when_host_in_maintenance | `Error` | 0.71 | test_hostha_kvm.py test_hostha_kvm_host_fencing | `Error` | 8.77 | 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] s-seitz opened a new issue #2544: Password Reset does not work with Isolated Networks with redundant routers
s-seitz opened a new issue #2544: Password Reset does not work with Isolated Networks with redundant routers URL: https://github.com/apache/cloudstack/issues/2544 # ISSUE TYPE * Bug Report # COMPONENT NAME ~~~ VR ~~~ # CLOUDSTACK VERSION ~~~ 4.11.0.0 ~~~ # CONFIGURATION Advanced Network, Isolated Network with Redundant Router and DNS, DHCP, Passwort, etc. Feateres all on # OS / ENVIRONMENT # SUMMARY When using the cloudstack-set-guest-password skript, the query is done against http://IP-OF-THE-DHCP-SERVER-THAT-SERVED-THE-LEASE:8080 A quick peek inside the MASTER of a redundant router setup shows, that the service (python) is only listening to the service-IP (the default gateway) Firewall instead shows that port 8080 is open for both host- and service-IP. # STEPS TO REPRODUCE Deploy a VM connected to an Isolated Network with redundant routers and use /etc/init.d/cloudstack-set-guest-password inside the VM wget just silently quits, telnet shows a "connection refused" SSH keys are not affected since the pubkeys are deliverd by another service. ~~~ ~~~ # EXPECTED RESULTS ~~~ Getting the password via DHCP-SERVER-HOST-IP:8080 ~~~ # ACTUAL RESULTS ~~~ ~~~ 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] se-bre opened a new issue #2545: dedicatePublicIpRange to domain doesn't work
se-bre opened a new issue #2545: dedicatePublicIpRange to domain doesn't work URL: https://github.com/apache/cloudstack/issues/2545 # ISSUE TYPE * Bug Report # COMPONENT NAME ~~~ Network (Public) ~~~ # CLOUDSTACK VERSION ~~~ 4.11.0.0 ~~~ # CONFIGURATION advanced networking # OS / ENVIRONMENT Ubuntu 16.04 (Management/Hypervisor) KVM # SUMMARY dedicate a public IP range to a domain doesn't work # STEPS TO REPRODUCE ~~~ create a new (should not be the first) public IP range dedicate this range to a domain acquire a new public IP in a project which is located in the specified domain ~~~ # EXPECTED RESULTS ~~~ get a IP which is located in the specified IP range for this domain ~~~ # ACTUAL RESULTS ~~~ ip is acquired from an other public pool (first created public IP range - with no assignment for domain) ~~~ 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] rafaelweingartner commented on issue #2514: [CLOUDSTACK-10346] Problem with NAT configuration and VMs not accessing each other via public IPs
rafaelweingartner commented on issue #2514: [CLOUDSTACK-10346] Problem with NAT configuration and VMs not accessing each other via public IPs URL: https://github.com/apache/cloudstack/pull/2514#issuecomment-379263294 @ustcweizhou are you ok with the changes introduced here? 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 #2499: Updates to capacity management
blueorangutan commented on issue #2499: Updates to capacity management URL: https://github.com/apache/cloudstack/pull/2499#issuecomment-379275960 Trillian test result (tid-2464) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 109766 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2499-t2464-kvm-centos7.zip Intermitten failure detected: /marvin/tests/smoke/test_certauthority_root.py Intermitten failure detected: /marvin/tests/smoke/test_loadbalance.py Intermitten failure detected: /marvin/tests/smoke/test_primary_storage.py Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py Intermitten failure detected: /marvin/tests/smoke/test_routers.py Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py Intermitten failure detected: /marvin/tests/smoke/test_templates.py Intermitten failure detected: /marvin/tests/smoke/test_usage.py Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py Intermitten failure detected: /marvin/tests/smoke/test_volumes.py Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.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, 9 have error(s) Only failed tests results shown below: Test | Result | Time (s) | Test File --- | --- | --- | --- test_01_add_primary_storage_disabled_host | `Error` | 0.81 | test_primary_storage.py test_01_primary_storage_nfs | `Error` | 0.18 | test_primary_storage.py ContextSuite context=TestStorageTags>:setup | `Error` | 0.32 | test_primary_storage.py test_04_restart_network_wo_cleanup | `Failure` | 2.88 | test_routers.py test_02_list_snapshots_with_removed_data_store | `Error` | 1.21 | test_snapshots.py test_04_extract_template | `Failure` | 128.32 | test_templates.py ContextSuite context=TestISOUsage>:setup | `Error` | 0.00 | test_usage.py test_08_migrate_vm | `Error` | 36.67 | test_vm_life_cycle.py test_06_download_detached_volume | `Failure` | 138.78 | test_volumes.py test_01_cancel_host_maintenace_with_no_migration_jobs | `Failure` | 0.20 | test_host_maintenance.py test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 3.63 | test_host_maintenance.py test_hostha_enable_ha_when_host_in_maintenance | `Error` | 2.02 | 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] mdesaive commented on issue #2539: Admin Dashboard System Capacity broken with German Locale
mdesaive commented on issue #2539: Admin Dashboard System Capacity broken with German Locale URL: https://github.com/apache/cloudstack/issues/2539#issuecomment-379336768 @DaanHoogland thanks for the correction. I updated the description. Just took the time to try to reproduce the issue once again and it worked even for german locale settings. :( I am unsure if some collegue changed other settings. Please wait before investigating into this, I will look into it the next days and maybe update the description once more. And answering your question: We did not test any other locales. We just ran into this issue because our default locale was "de_DE.UTF-8" 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] falcon78921 opened a new issue #2546: Libvirt-bin has trouble starting if -d is stated in /etc/default/libvirt-bin (libvirtd_opts)
falcon78921 opened a new issue #2546: Libvirt-bin has trouble starting if -d is stated in /etc/default/libvirt-bin (libvirtd_opts) URL: https://github.com/apache/cloudstack/issues/2546 # ISSUE TYPE * Other # COMPONENT NAME ~~~ Apache CloudStack Agent (4.9.3) & libvirt-bin (1.3.1) ~~~ # CLOUDSTACK VERSION ~~~ Apache CloudStack 4.9.3 ~~~ # CONFIGURATION ~~~ Basic network zone. Three compute nodes running KVM & libvirt-bin. Ceph is being utilized for Primary Storage. ~~~ # OS / ENVIRONMENT ~~~ Ubuntu 16.04.4 LTS ~~~ # SUMMARY ~~~ * Libvirt-bin has trouble starting if -d is stated in /etc/default/libvirt-bin. Referencing this from Apache CloudStack documentation (http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/hypervisor/kvm.html#install-and-configure-libvirt). ~~~ # STEPS TO REPRODUCE ~~~ 1.) Add -d in libvirtd_opts="" within /etc/default/libvirt-bin. -l works fine for listening on TCP. ~~~ # EXPECTED RESULTS ~~~ Libvirt-bin should've started with no errors. The parameters -d -l as libvirtd_opts should exist together, per the CloudStack 4.9 documentation. ~~~ # ACTUAL RESULTS ~~~ Libvirt-bin fails to start. This also causes the ACS agent to fail as well. If you take out the -d in libvirtd_opts and leave the -l, libvirt-bin works great. I followed this solution to solve the problem: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1594902/comments/10 ~~~ I thought I would report this, just in case anyone running Ubuntu 16.04 with ACS 4.9.3 has the same problem. 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] lzh3636 opened a new pull request #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
lzh3636 opened a new pull request #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547 ## Description The description of the problem: https://issues.apache.org/jira/browse/CLOUDSTACK-10315 I modified some stack traces information to those logging statements with the same log messages, make their stack trace consistent. ## 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): ## How Has This Been Tested? ## Checklist: - [x] I have read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document. - [x] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. Testing - [ ] I have added tests to cover my changes. - [ ] All relevant new and existing integration tests have passed. - [x] A full integration testsuite with all test that can run on my environment has passed. @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
[GitHub] blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547#issuecomment-379340358 @lzh3636 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] blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547#issuecomment-379343876 Packaging result: ✔centos6 ✔centos7 ✖debian. JID-1880 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] rafaelweingartner commented on issue #2539: Admin Dashboard System Capacity broken with German Locale
rafaelweingartner commented on issue #2539: Admin Dashboard System Capacity broken with German Locale URL: https://github.com/apache/cloudstack/issues/2539#issuecomment-379344357 Tested with en_AU, pt_BR, and de_DE (all UTF-8). for pt_BR and de_DE I got the same results (the issue reported here). For en_AU, everything worked just fine. 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] lzh3636 closed pull request #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
lzh3636 closed pull request #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/api/src/main/java/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java b/api/src/main/java/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java index ea0cb00301a..4aa7441505c 100644 --- a/api/src/main/java/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java +++ b/api/src/main/java/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java @@ -358,7 +358,7 @@ public void create() { setEntityId(result.getId()); setEntityUuid(result.getUuid()); } catch (NetworkRuleConflictException ex) { -s_logger.info("Network rule conflict: ", ex); +s_logger.info("Network rule conflict: ", ex.getMessage()); s_logger.trace("Network Rule Conflict: ", ex); throw new ServerApiException(ApiErrorCode.NETWORK_RULE_CONFLICT_ERROR, ex.getMessage()); } diff --git a/plugins/hypervisors/simulator/src/main/java/com/cloud/ha/SimulatorFencer.java b/plugins/hypervisors/simulator/src/main/java/com/cloud/ha/SimulatorFencer.java index 86c28715e0b..c776edfde35 100644 --- a/plugins/hypervisors/simulator/src/main/java/com/cloud/ha/SimulatorFencer.java +++ b/plugins/hypervisors/simulator/src/main/java/com/cloud/ha/SimulatorFencer.java @@ -90,12 +90,12 @@ public Boolean fenceOff(VirtualMachine vm, Host host) { answer = (FenceAnswer)_agentMgr.send(h.getId(), fence); } catch (AgentUnavailableException e) { if (s_logger.isDebugEnabled()) { -s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable"); +s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable", e); } continue; } catch (OperationTimedoutException e) { if (s_logger.isDebugEnabled()) { -s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable"); +s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable", e); } continue; } 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 #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547#issuecomment-379345899 @lzh3636 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] blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547#issuecomment-379348907 Packaging result: ✔centos6 ✔centos7 ✖debian. JID-1881 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] eligorio opened a new issue #2548: Upgrade to 4.11 and pre-existent saml2 authentication settings
eligorio opened a new issue #2548: Upgrade to 4.11 and pre-existent saml2 authentication settings URL: https://github.com/apache/cloudstack/issues/2548 # ISSUE TYPE * Bug Report # COMPONENT NAME ~~~ SAML2 Auth plugin ~~~ # CLOUDSTACK VERSION ~~~ 4.11 ~~~ # CONFIGURATION Cloudstack 4.5.2 with SAML2 authentication working well on national federation. # OS / ENVIRONMENT Clean install of Cloudstack 4.11 on Ubuntu 16.04.4 LTS pointing to a copy of 4.5.2 cloudstack production database. # SUMMARY After upgrade from 4.5.2 to 4.11 ([parallel build process](http://www.shapeblue.com/cloudstack-upgrades-best-practices/)) the http://IP:8080/client show an error (HTTP ERROR 503 - Problem accessing /client/. Reason: Service Unavailable) and UI does not load. It appears that pre-existent content of columns "key" and "certificate" of rows with "name" content "SAMLSP_X509CERT" and "SAMLSP_KEYPAIR" need some conversion, but the upgrade procedure did not made it. If we delete the old saml rows from cloud.keystore table, the /client works but https://IP:8080/client/api?command=getSPMetadata returns an certificate different from that registered on national federation. And so, the authentication fails for our web users. # STEPS TO REPRODUCE 1-) Do a clean install of Cloudstack 4.11. 2-) Point this install to a copy of 4.5.2 production database that has SAML2 authentication enabled and working inside an federation. 3-) Start cloudstack-management service and wait for completion of database upgrades. 4-) Try to access the UI interface # EXPECTED RESULTS ~~~ Can access and use a fully functional Cloudstack UI. ~~~ # ACTUAL RESULTS ~~~ HTTP ERROR 503 Problem accessing /client/. Reason: Service Unavailable ~~~ 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] lzh3636 opened a new pull request #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
lzh3636 opened a new pull request #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547 ## Description The description of the problem: https://issues.apache.org/jira/browse/CLOUDSTACK-10315 I modified some stack traces information to those logging statements with the same log messages, make their stack trace consistent. ## 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) ## Checklist: - [x] I have read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document. - [x] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. Testing - [ ] I have added tests to cover my changes. - [ ] All relevant new and existing integration tests have passed. - [x] A full integration testsuite with all test that can run on my environment has passed. @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
[GitHub] blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547#issuecomment-379365051 @lzh3636 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] blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547#issuecomment-379371139 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1882 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] lzh3636 closed pull request #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
lzh3636 closed pull request #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/api/src/main/java/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java b/api/src/main/java/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java index ea0cb00301a..d4ea9a515a3 100644 --- a/api/src/main/java/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java +++ b/api/src/main/java/org/apache/cloudstack/api/command/user/firewall/CreatePortForwardingRuleCmd.java @@ -358,7 +358,7 @@ public void create() { setEntityId(result.getId()); setEntityUuid(result.getUuid()); } catch (NetworkRuleConflictException ex) { -s_logger.info("Network rule conflict: ", ex); +s_logger.info("Network rule conflict: " + ex.getMessage()); s_logger.trace("Network Rule Conflict: ", ex); throw new ServerApiException(ApiErrorCode.NETWORK_RULE_CONFLICT_ERROR, ex.getMessage()); } diff --git a/plugins/hypervisors/simulator/src/main/java/com/cloud/ha/SimulatorFencer.java b/plugins/hypervisors/simulator/src/main/java/com/cloud/ha/SimulatorFencer.java index 86c28715e0b..c776edfde35 100644 --- a/plugins/hypervisors/simulator/src/main/java/com/cloud/ha/SimulatorFencer.java +++ b/plugins/hypervisors/simulator/src/main/java/com/cloud/ha/SimulatorFencer.java @@ -90,12 +90,12 @@ public Boolean fenceOff(VirtualMachine vm, Host host) { answer = (FenceAnswer)_agentMgr.send(h.getId(), fence); } catch (AgentUnavailableException e) { if (s_logger.isDebugEnabled()) { -s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable"); +s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable", e); } continue; } catch (OperationTimedoutException e) { if (s_logger.isDebugEnabled()) { -s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable"); +s_logger.debug("Moving on to the next host because " + h.toString() + " is unavailable", e); } continue; } 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 #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547#issuecomment-379374045 @lzh3636 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] blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block
blueorangutan commented on issue #2547: CLOUDSTACK-10315 Inconsistent debugging info in catch block URL: https://github.com/apache/cloudstack/pull/2547#issuecomment-379383837 Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1883 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] mdesaive commented on issue #2539: Admin Dashboard System Capacity broken with German Locale
mdesaive commented on issue #2539: Admin Dashboard System Capacity broken with German Locale URL: https://github.com/apache/cloudstack/issues/2539#issuecomment-379432226 Yes. I reported correctly. The bug reproduces like described with the default installation. My colleague patched the init script to set LANG/LC_ALL=C. ;) Thanks for your effort! 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] mike-tutkowski commented on issue #2499: Updates to capacity management
mike-tutkowski commented on issue #2499: Updates to capacity management URL: https://github.com/apache/cloudstack/pull/2499#issuecomment-379437282 I've added an integration 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