[jira] [Commented] (CLOUDSTACK-9710) Switch to JDK 1.8

2017-01-14 Thread rashmidixit (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822888#comment-15822888
 ] 

rashmidixit commented on CLOUDSTACK-9710:
-

Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@serg38 I've been maintaining the non-oss libs here: 
https://github.com/rhtyd/cloudstack-nonoss
You can get the latest v12.1 library that is Java8 compatible from above, 
it also includes the install-non-oss.sh script, you can simply clone the repo 
and run it before building/packaging (in Jenkins too), in fact Travis jobs 
actually do that: 
https://github.com/apache/cloudstack/blob/master/tools/travis/install.sh#L28


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


> Switch to JDK 1.8
> -
>
> Key: CLOUDSTACK-9710
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> Switch to using JDK1.8 by default for building and running CloudStack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9710) Switch to JDK 1.8

2017-01-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822887#comment-15822887
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9710:


Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
@serg38 I've been maintaining the non-oss libs here: 
https://github.com/rhtyd/cloudstack-nonoss
You can get the latest v12.1 library that is Java8 compatible from above, 
it also includes the install-non-oss.sh script, you can simply clone the repo 
and run it before building/packaging (in Jenkins too), in fact Travis jobs 
actually do that: 
https://github.com/apache/cloudstack/blob/master/tools/travis/install.sh#L28


> Switch to JDK 1.8
> -
>
> Key: CLOUDSTACK-9710
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> Switch to using JDK1.8 by default for building and running CloudStack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9653) listCapacity API shows incorrect output when sortBy=usage option is added

2017-01-14 Thread rashmidixit (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822882#comment-15822882
 ] 

rashmidixit commented on CLOUDSTACK-9653:
-

Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1819
  
Trillian test result (tid-784)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42626 seconds
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1819-t784-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: 
/marvin/tests/smoke/test_routers_network_ops.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_vpc_router_nics.py
Test completed. 46 look ok, 2 have error(s)


Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_04_rvpc_privategw_static_routes | `Failure` | 404.61 | 
test_privategw_acl.py
test_01_create_volume | `Error` | 279.54 | test_volumes.py
test_01_vpc_site2site_vpn | Success | 160.51 | test_vpc_vpn.py
test_01_vpc_remote_access_vpn | Success | 65.81 | test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn | Success | 240.05 | test_vpc_vpn.py
test_02_VPC_default_routes | Success | 443.52 | test_vpc_router_nics.py
test_01_VPC_nics_after_destroy | Success | 813.10 | test_vpc_router_nics.py
test_05_rvpc_multi_tiers | Success | 503.65 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | Success | 1400.18 | 
test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
Success | 552.32 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | Success | 754.83 | 
test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Success | 1292.83 | 
test_vpc_redundant.py
test_09_delete_detached_volume | Success | 151.31 | test_volumes.py
test_08_resize_volume | Success | 156.28 | test_volumes.py
test_07_resize_fail | Success | 156.39 | test_volumes.py
test_06_download_detached_volume | Success | 156.12 | test_volumes.py
test_05_detach_volume | Success | 235.91 | test_volumes.py
test_04_delete_attached_volume | Success | 151.14 | test_volumes.py
test_03_download_attached_volume | Success | 156.42 | test_volumes.py
test_02_attach_volume | Success | 185.59 | test_volumes.py
test_deploy_vm_multiple | Success | 332.88 | test_vm_life_cycle.py
test_deploy_vm | Success | 0.02 | test_vm_life_cycle.py
test_advZoneVirtualRouter | Success | 0.02 | test_vm_life_cycle.py
test_10_attachAndDetach_iso | Success | 26.51 | test_vm_life_cycle.py
test_09_expunge_vm | Success | 185.26 | test_vm_life_cycle.py
test_08_migrate_vm | Success | 40.64 | test_vm_life_cycle.py
test_07_restore_vm | Success | 0.08 | test_vm_life_cycle.py
test_06_destroy_vm | Success | 125.99 | test_vm_life_cycle.py
test_03_reboot_vm | Success | 125.67 | test_vm_life_cycle.py
test_02_start_vm | Success | 10.13 | test_vm_life_cycle.py
test_01_stop_vm | Success | 125.64 | test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName | Success | 65.44 | test_templates.py
test_08_list_system_templates | Success | 0.02 | test_templates.py
test_07_list_public_templates | Success | 0.02 | test_templates.py
test_05_template_permissions | Success | 0.04 | test_templates.py
test_04_extract_template | Success | 5.15 | test_templates.py
test_03_delete_template | Success | 5.08 | test_templates.py
test_02_edit_template | Success | 90.15 | test_templates.py
test_01_create_template | Success | 125.72 | test_templates.py
test_10_destroy_cpvm | Success | 161.49 | test_ssvm.py
test_09_destroy_ssvm | Success | 163.38 | test_ssvm.py
test_08_reboot_cpvm | Success | 131.64 | test_ssvm.py
test_07_reboot_ssvm | Success | 133.87 | test_ssvm.py
test_06_stop_cpvm | Success | 131.53 | test_ssvm.py
test_05_stop_ssvm | Success | 133.48 | test_ssvm.py
test_04_cpvm_internals | Success | 1.16 | test_ssvm.py
test_03_ssvm_internals | Success | 3.98 | test_ssvm.py
test_02_list_cpvm_vm | Success | 0.09 | test_ssvm.py
test_01_list_sec_storage_vm | Success | 0.09 | test_ssvm.py
test_01_snapshot_root_disk | Success | 16.13 | test_snapshots.py
test_04_change_offering_small | Success | 239.71 | test_service_offerings.py
test_03_delete_service_offering | Success | 0.03 | test_service_offerings.py
test_02_edit_service_offering | Success | 0.04 | test_service_offerings.py
test_01_create_service_offering | Success | 0.08 | test_service_offerings.py
test_02_sys_template_ready | Success | 0.09 | test_secondary_storage.py

[jira] [Commented] (CLOUDSTACK-9653) listCapacity API shows incorrect output when sortBy=usage option is added

2017-01-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822881#comment-15822881
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9653:


Github user blueorangutan commented on the issue:

https://github.com/apache/cloudstack/pull/1819
  
Trillian test result (tid-784)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42626 seconds
Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1819-t784-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: 
/marvin/tests/smoke/test_routers_network_ops.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_vpc_router_nics.py
Test completed. 46 look ok, 2 have error(s)


Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_04_rvpc_privategw_static_routes | `Failure` | 404.61 | 
test_privategw_acl.py
test_01_create_volume | `Error` | 279.54 | test_volumes.py
test_01_vpc_site2site_vpn | Success | 160.51 | test_vpc_vpn.py
test_01_vpc_remote_access_vpn | Success | 65.81 | test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn | Success | 240.05 | test_vpc_vpn.py
test_02_VPC_default_routes | Success | 443.52 | test_vpc_router_nics.py
test_01_VPC_nics_after_destroy | Success | 813.10 | test_vpc_router_nics.py
test_05_rvpc_multi_tiers | Success | 503.65 | test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics | Success | 1400.18 | 
test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | 
Success | 552.32 | test_vpc_redundant.py
test_02_redundant_VPC_default_routes | Success | 754.83 | 
test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Success | 1292.83 | 
test_vpc_redundant.py
test_09_delete_detached_volume | Success | 151.31 | test_volumes.py
test_08_resize_volume | Success | 156.28 | test_volumes.py
test_07_resize_fail | Success | 156.39 | test_volumes.py
test_06_download_detached_volume | Success | 156.12 | test_volumes.py
test_05_detach_volume | Success | 235.91 | test_volumes.py
test_04_delete_attached_volume | Success | 151.14 | test_volumes.py
test_03_download_attached_volume | Success | 156.42 | test_volumes.py
test_02_attach_volume | Success | 185.59 | test_volumes.py
test_deploy_vm_multiple | Success | 332.88 | test_vm_life_cycle.py
test_deploy_vm | Success | 0.02 | test_vm_life_cycle.py
test_advZoneVirtualRouter | Success | 0.02 | test_vm_life_cycle.py
test_10_attachAndDetach_iso | Success | 26.51 | test_vm_life_cycle.py
test_09_expunge_vm | Success | 185.26 | test_vm_life_cycle.py
test_08_migrate_vm | Success | 40.64 | test_vm_life_cycle.py
test_07_restore_vm | Success | 0.08 | test_vm_life_cycle.py
test_06_destroy_vm | Success | 125.99 | test_vm_life_cycle.py
test_03_reboot_vm | Success | 125.67 | test_vm_life_cycle.py
test_02_start_vm | Success | 10.13 | test_vm_life_cycle.py
test_01_stop_vm | Success | 125.64 | test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName | Success | 65.44 | test_templates.py
test_08_list_system_templates | Success | 0.02 | test_templates.py
test_07_list_public_templates | Success | 0.02 | test_templates.py
test_05_template_permissions | Success | 0.04 | test_templates.py
test_04_extract_template | Success | 5.15 | test_templates.py
test_03_delete_template | Success | 5.08 | test_templates.py
test_02_edit_template | Success | 90.15 | test_templates.py
test_01_create_template | Success | 125.72 | test_templates.py
test_10_destroy_cpvm | Success | 161.49 | test_ssvm.py
test_09_destroy_ssvm | Success | 163.38 | test_ssvm.py
test_08_reboot_cpvm | Success | 131.64 | test_ssvm.py
test_07_reboot_ssvm | Success | 133.87 | test_ssvm.py
test_06_stop_cpvm | Success | 131.53 | test_ssvm.py
test_05_stop_ssvm | Success | 133.48 | test_ssvm.py
test_04_cpvm_internals | Success | 1.16 | test_ssvm.py
test_03_ssvm_internals | Success | 3.98 | test_ssvm.py
test_02_list_cpvm_vm | Success | 0.09 | test_ssvm.py
test_01_list_sec_storage_vm | Success | 0.09 | test_ssvm.py
test_01_snapshot_root_disk | Success | 16.13 | test_snapshots.py
test_04_change_offering_small | Success | 239.71 | test_service_offerings.py
test_03_delete_service_offering | Success | 0.03 | test_service_offerings.py
test_02_edit_service_offering | Success | 0.04 | test_service_offerings.py
test_01_create_service_offering | Success | 0.08 | test_service_offerings.py
test_02_sys_template_ready | Success | 0.09 | test_secondary_storage.py

[jira] [Commented] (CLOUDSTACK-9710) Switch to JDK 1.8

2017-01-14 Thread rashmidixit (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822874#comment-15822874
 ] 

rashmidixit commented on CLOUDSTACK-9710:
-

Github user serg38 commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
We need to change one more setting for noredist build to work with updated 
iControl version
in  install-non-oss.sh   
mvn install:install-file -Dfile=cloud-iControl.jar      
-DgroupId=com.cloud.com.f5     -DartifactId=icontrol        -Dversion=1.0 
  -Dpackaging=jar
to
mvn install:install-file -Dfile=cloud-iControl.jar      
-DgroupId=com.cloud.com.f5     -DartifactId=icontrol        
-Dversion=12.1   -Dpackaging=jar





---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


> Switch to JDK 1.8
> -
>
> Key: CLOUDSTACK-9710
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> Switch to using JDK1.8 by default for building and running CloudStack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9710) Switch to JDK 1.8

2017-01-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822873#comment-15822873
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9710:


Github user serg38 commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
We need to change one more setting for noredist build to work with updated 
iControl version
in  install-non-oss.sh   
mvn install:install-file -Dfile=cloud-iControl.jar      
-DgroupId=com.cloud.com.f5     -DartifactId=icontrol        -Dversion=1.0   
-Dpackaging=jar
to
mvn install:install-file -Dfile=cloud-iControl.jar      
-DgroupId=com.cloud.com.f5     -DartifactId=icontrol        -Dversion=12.1   
-Dpackaging=jar





> Switch to JDK 1.8
> -
>
> Key: CLOUDSTACK-9710
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> Switch to using JDK1.8 by default for building and running CloudStack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9710) Switch to JDK 1.8

2017-01-14 Thread rashmidixit (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822760#comment-15822760
 ] 

rashmidixit commented on CLOUDSTACK-9710:
-

Github user wido commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
We will have to review building the .DEB packages as well. I made a start 
by building in Docker and building for 14.04 and 16.04 with the systemd 
differences between them.

I however really don't have the time right now to dig into this and 
configure Jenkins to get it working properly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


> Switch to JDK 1.8
> -
>
> Key: CLOUDSTACK-9710
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> Switch to using JDK1.8 by default for building and running CloudStack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9710) Switch to JDK 1.8

2017-01-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822759#comment-15822759
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9710:


Github user wido commented on the issue:

https://github.com/apache/cloudstack/pull/1888
  
We will have to review building the .DEB packages as well. I made a start 
by building in Docker and building for 14.04 and 16.04 with the systemd 
differences between them.

I however really don't have the time right now to dig into this and 
configure Jenkins to get it working properly.


> Switch to JDK 1.8
> -
>
> Key: CLOUDSTACK-9710
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Rohit Yadav
>Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> Switch to using JDK1.8 by default for building and running CloudStack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9692) Reset password service is not running on Redundant virtual routers.

2017-01-14 Thread rashmidixit (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822756#comment-15822756
 ] 

rashmidixit commented on CLOUDSTACK-9692:
-

Github user luhaijiao commented on the issue:

https://github.com/apache/cloudstack/pull/1871
  
is this ready to be merged ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


> Reset password service is not running on Redundant virtual routers.
> ---
>
> Key: CLOUDSTACK-9692
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9692
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.9.0
>Reporter: DeepthiMachiraju
>
> - Create a password enabled template and deploy a RVR Network.
> - once the vm is moved to Running state , new password is displayed on the 
> pop-up window.
> - Login to the VM fails with the new password.
> Observations : 
> - No password service is running on the RVR.
> - passwords file not generated on the router.
> on Redundant Router =
> root@r-10-VM:~# ps -aux | grep passwd
> warning: bad ps syntax, perhaps a bogus '-'?
> See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
> root   457  0.0  0.3   8072   880 pts/1S+   05:52   0:00 grep passwd
> root  4697  0.0  0.6  17712  1568 ?SDec20   0:27 /bin/bash 
> /opt/cloud/bin/passwd_server_ip None dummy
> =
> =on Isolated Router===
> root@r-5-VM:~# ps -aux | grep passwd
> warning: bad ps syntax, perhaps a bogus '-'?
> See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
> root  2402  0.0  0.5   9236  1336 ?SDec13   0:00 /bin/bash 
> /opt/cloud/bin/passwd_server_ip 10.1.1.1 dummy
> root  2405  0.0  3.3  53796  8284 ?SDec13   1:01 python 
> /opt/cloud/bin/passwd_server_ip.py 10.1.1.1
> root 24565  0.0  0.3   8072   880 pts/1S+   05:53   0:00 grep passwd
> ==
> output on cloud.log
> 2016-12-21 10:49:28,367  merge.py load:60 Loading data bag type vmpassword
> 2016-12-21 10:49:28,367  merge.py process:100 Command of type vmpassword 
> received
> 2016-12-21 10:49:28,367  merge.py save:71 Writing data bag type vmpassword
> 2016-12-21 10:49:28,368  merge.py save:72 {u'10.1.1.66': u'8ZYWdN', u'id': 
> u'vmpassword'}
> 2016-12-21 10:49:28,368  merge.py load:60 Loading data bag type ips
> 2016-12-21 10:49:28,368  merge.py load:60 Loading data bag type cmdline
> 2016-12-21 10:49:28,368  configure.py main:924 Configuring ip addresses
> 2016-12-21 10:49:28,369  CsHelper.py execute:184 Executing: ip addr show dev 
> eth2
> 2016-12-21 10:49:28,374  CsHelper.py execute:184 Executing: ip addr show dev 
> eth1
> 2016-12-21 10:49:28,379  CsHelper.py execute:184 Executing: ip addr show dev 
> eth0
> 2016-12-21 10:49:28,385  CsHelper.py execute:184 Executing: ip addr show dev 
> eth2
> 2016-12-21 10:49:28,390  CsAddress.py process:107 Address found in DataBag 
> ==> {u'public_ip': u'10.147.30.116', u'one_to_one_nat': False, u'nic_dev_id': 
> 2, u'network': u'10.147.30.0/24', u'first_i_p': True, u'netmask': 
> u'255.255.255.0', u'source_nat': True, u'broadcast': u'10.147.30.255', 
> u'add': True, u'nw_type': u'public', u'device': u'eth2', u'vif_mac_address': 
> u'06:57:a8:00:00:11', u'cidr': u'10.147.30.116/24', u'gateway': 
> u'10.147.30.1', u'new_nic': False, u'size': u'24'}
> 2016-12-21 10:49:28,390  CsAddress.py process:116 Address 10.147.30.116/24 on 
> device eth2 not configured
> 2016-12-21 10:49:28,390  CsAddress.py configure:274 Configuring address 
> 10.147.30.116/24 on device eth2
> 2016-12-21 10:49:28,390  CsHelper.py execute:184 Executing: ip addr add dev 
> eth2 10.147.30.116/24 brd +
> 2016-12-21 10:49:28,395  CsRoute.py add_table:38 Adding route table: 2 
> Table_eth2 to /etc/iproute2/rt_tables if not present
> 2016-12-21 10:49:28,396  CsHelper.py execute:184 Executing: ip rule show
> 2016-12-21 10:49:28,401  CsHelper.py execute:184 Executing: ip link show eth2 
> | grep 'state DOWN'
> 2016-12-21 10:49:28,408  CsHelper.py execute:184 Executing: arping -c 1 -I 
> eth2 -A -U -s 10.147.30.116 10.147.30.1
> 2016-12-21 10:49:28,413  CsAddress.py inKernel:689 rpsfr is present in the 
> kernel
> 2016-12-21 

[jira] [Commented] (CLOUDSTACK-9736) Incoherent validation and error message when you change the vm.password.length configuration parameter

2017-01-14 Thread Milamber (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822754#comment-15822754
 ] 

Milamber commented on CLOUDSTACK-9736:
--

Sorry I forgot to mention that the error message occurred with cloudmonkey when 
I run this command:

update configuration name="vm.password.length" value="8"

> Incoherent validation and error message when you change the 
> vm.password.length configuration parameter
> --
>
> Key: CLOUDSTACK-9736
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9736
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.7.0, 4.8.0, 4.9.0, 4.10.0.0
>Reporter: Milamber
>Assignee: Milamber
>Priority: Minor
> Fix For: 4.10.0.0
>
>
> When you try to change the value of vm.password.length parameters, if the 
> value is < 10 the error message says:
> "Please enter a value greater than 6 for the configuration parameter"
> In the code server/src/com/cloud/configuration/ConfigurationManagerImpl.java 
> the validation use 10 as length and the message says 6 for length:
> if ("vm.password.length".equalsIgnoreCase(name) && val < 10) {
> throw new InvalidParameterValueException("Please enter a 
> value greater than 6 for the configuration parameter:" + name);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-9692) Reset password service is not running on Redundant virtual routers.

2017-01-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15822755#comment-15822755
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9692:


Github user luhaijiao commented on the issue:

https://github.com/apache/cloudstack/pull/1871
  
is this ready to be merged ?


> Reset password service is not running on Redundant virtual routers.
> ---
>
> Key: CLOUDSTACK-9692
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9692
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Virtual Router
>Affects Versions: 4.9.0
>Reporter: DeepthiMachiraju
>
> - Create a password enabled template and deploy a RVR Network.
> - once the vm is moved to Running state , new password is displayed on the 
> pop-up window.
> - Login to the VM fails with the new password.
> Observations : 
> - No password service is running on the RVR.
> - passwords file not generated on the router.
> on Redundant Router =
> root@r-10-VM:~# ps -aux | grep passwd
> warning: bad ps syntax, perhaps a bogus '-'?
> See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
> root   457  0.0  0.3   8072   880 pts/1S+   05:52   0:00 grep passwd
> root  4697  0.0  0.6  17712  1568 ?SDec20   0:27 /bin/bash 
> /opt/cloud/bin/passwd_server_ip None dummy
> =
> =on Isolated Router===
> root@r-5-VM:~# ps -aux | grep passwd
> warning: bad ps syntax, perhaps a bogus '-'?
> See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
> root  2402  0.0  0.5   9236  1336 ?SDec13   0:00 /bin/bash 
> /opt/cloud/bin/passwd_server_ip 10.1.1.1 dummy
> root  2405  0.0  3.3  53796  8284 ?SDec13   1:01 python 
> /opt/cloud/bin/passwd_server_ip.py 10.1.1.1
> root 24565  0.0  0.3   8072   880 pts/1S+   05:53   0:00 grep passwd
> ==
> output on cloud.log
> 2016-12-21 10:49:28,367  merge.py load:60 Loading data bag type vmpassword
> 2016-12-21 10:49:28,367  merge.py process:100 Command of type vmpassword 
> received
> 2016-12-21 10:49:28,367  merge.py save:71 Writing data bag type vmpassword
> 2016-12-21 10:49:28,368  merge.py save:72 {u'10.1.1.66': u'8ZYWdN', u'id': 
> u'vmpassword'}
> 2016-12-21 10:49:28,368  merge.py load:60 Loading data bag type ips
> 2016-12-21 10:49:28,368  merge.py load:60 Loading data bag type cmdline
> 2016-12-21 10:49:28,368  configure.py main:924 Configuring ip addresses
> 2016-12-21 10:49:28,369  CsHelper.py execute:184 Executing: ip addr show dev 
> eth2
> 2016-12-21 10:49:28,374  CsHelper.py execute:184 Executing: ip addr show dev 
> eth1
> 2016-12-21 10:49:28,379  CsHelper.py execute:184 Executing: ip addr show dev 
> eth0
> 2016-12-21 10:49:28,385  CsHelper.py execute:184 Executing: ip addr show dev 
> eth2
> 2016-12-21 10:49:28,390  CsAddress.py process:107 Address found in DataBag 
> ==> {u'public_ip': u'10.147.30.116', u'one_to_one_nat': False, u'nic_dev_id': 
> 2, u'network': u'10.147.30.0/24', u'first_i_p': True, u'netmask': 
> u'255.255.255.0', u'source_nat': True, u'broadcast': u'10.147.30.255', 
> u'add': True, u'nw_type': u'public', u'device': u'eth2', u'vif_mac_address': 
> u'06:57:a8:00:00:11', u'cidr': u'10.147.30.116/24', u'gateway': 
> u'10.147.30.1', u'new_nic': False, u'size': u'24'}
> 2016-12-21 10:49:28,390  CsAddress.py process:116 Address 10.147.30.116/24 on 
> device eth2 not configured
> 2016-12-21 10:49:28,390  CsAddress.py configure:274 Configuring address 
> 10.147.30.116/24 on device eth2
> 2016-12-21 10:49:28,390  CsHelper.py execute:184 Executing: ip addr add dev 
> eth2 10.147.30.116/24 brd +
> 2016-12-21 10:49:28,395  CsRoute.py add_table:38 Adding route table: 2 
> Table_eth2 to /etc/iproute2/rt_tables if not present
> 2016-12-21 10:49:28,396  CsHelper.py execute:184 Executing: ip rule show
> 2016-12-21 10:49:28,401  CsHelper.py execute:184 Executing: ip link show eth2 
> | grep 'state DOWN'
> 2016-12-21 10:49:28,408  CsHelper.py execute:184 Executing: arping -c 1 -I 
> eth2 -A -U -s 10.147.30.116 10.147.30.1
> 2016-12-21 10:49:28,413  CsAddress.py inKernel:689 rpsfr is present in the 
> kernel
> 2016-12-21 10:49:28,413  CsAddress.py cpus:699 Single CPU machine
> 2016-12-21 10:49:28,413  CsRoute.py add_table:38 Adding route table: 2 
> Table_eth2 to /etc/iproute2/rt_tables if not present
> 2016-12-21 10:49:28,413  CsRoute.py add_route:50 Adding route: dev eth2 
> table: Table_eth2 network: 10.147.30.0/24 if not present
>