Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7A8A4200BF1 for ; Tue, 3 Jan 2017 09:36:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7951F160B46; Tue, 3 Jan 2017 08:36:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7C865160B33 for ; Tue, 3 Jan 2017 09:35:59 +0100 (CET) Received: (qmail 52902 invoked by uid 500); 3 Jan 2017 08:35:58 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 52884 invoked by uid 500); 3 Jan 2017 08:35:58 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 52881 invoked by uid 99); 3 Jan 2017 08:35:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2017 08:35:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7D1E92C1F54 for ; Tue, 3 Jan 2017 08:35:58 +0000 (UTC) Date: Tue, 3 Jan 2017 08:35:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9692) Reset password service is not running on Redundant virtual routers. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 03 Jan 2017 08:36:00 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9692?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15794509#comment-15794509 ]=20 ASF GitHub Bot commented on CLOUDSTACK-9692: -------------------------------------------- Github user blueorangutan commented on the issue: https://github.com/apache/cloudstack/pull/1871 =20 Packaging result: =E2=9C=94centos6 =E2=9C=94centos7 =E2=9C=94debian. JI= D-441 > Reset password service is not running on Redundant virtual routers. > ------------------------------------------------------------------- > > Key: CLOUDSTACK-9692 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-969= 2 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > 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 th= e pop-up window. > - Login to the VM fails with the new password. > Observations :=20 > - No password service is running on the RVR. > - passwords file not generated on the router. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Do= n Redundant Router =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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/1 S+ 05:52 0:00 grep pas= swd > root 4697 0.0 0.6 17712 1568 ? S Dec20 0:27 /bin/bas= h /opt/cloud/bin/passwd_server_ip None dummy > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3Don Isolated Router=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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 ? S Dec13 0:00 /bin/bas= h /opt/cloud/bin/passwd_server_ip 10.1.1.1 dummy > root 2405 0.0 3.3 53796 8284 ? S Dec13 1:01 python /= opt/cloud/bin/passwd_server_ip.py 10.1.1.1 > root 24565 0.0 0.3 8072 880 pts/1 S+ 05:53 0:00 grep pas= swd > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > output on cloud.log > 2016-12-21 10:49:28,367 merge.py load:60 Loading data bag type vmpasswor= d > 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 vmpasswor= d > 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 DataBa= g =3D=3D> {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'ad= d': 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/2= 4 on device eth2 not configured > 2016-12-21 10:49:28,390 CsAddress.py configure:274 Configuring address 1= 0.147.30.116/24 on device eth2 > 2016-12-21 10:49:28,390 CsHelper.py execute:184 Executing: ip addr add d= ev eth2 10.147.30.116/24 brd + > 2016-12-21 10:49:28,395 CsRoute.py add_table:38 Adding route table: 2 Ta= ble_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 th= e 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 Ta= ble_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 t= able: Table_eth2 network: 10.147.30.0/24 if not present > 2016-12-21 10:49:28,414 CsHelper.py execute:184 Executing: ip route show= dev eth2 table Table_eth2 10.147.30.0/24 > 2016-12-21 10:49:28,419 CsRoute.py defaultroute_exists:89 Checking if de= fault ipv4 route is present > 2016-12-21 10:49:28,419 CsHelper.py execute:184 Executing: ip -4 route l= ist 0/0 > 2016-12-21 10:49:28,424 CsRoute.py defaultroute_exists:93 Default route = found: default via 10.147.30.1 dev eth2 > 2016-12-21 10:49:28,424 CsHelper.py execute:184 Executing: ip addr show = dev eth1 > 2016-12-21 10:49:28,429 CsAddress.py process:107 Address found in DataBa= g =3D=3D> {u'public_ip': u'169.254.0.132', u'one_to_one_nat': False, u'nic_= dev_id': u'1', u'network': u'169.254.0.0/16', u'netmask': u'255.255.0.0', u= 'source_nat': False, u'broadcast': u'169.254.255.255', u'add': True, u'nw_t= ype': u'control', u'device': u'eth1', u'cidr': u'169.254.0.132/16', u'gatew= ay': u'None', u'size': u'16'} > 2016-12-21 10:49:28,429 CsAddress.py process:116 Address 169.254.0.132/1= 6 on device eth1 not configured > 2016-12-21 10:49:28,430 CsAddress.py configure:274 Configuring address 1= 69.254.0.132/16 on device eth1 > 2016-12-21 10:49:28,430 CsHelper.py execute:184 Executing: ip addr add d= ev eth1 169.254.0.132/16 brd + > 2016-12-21 10:49:28,435 CsHelper.py execute:184 Executing: ip addr show = dev eth0 > 2016-12-21 10:49:28,440 CsAddress.py process:107 Address found in DataBa= g =3D=3D> {u'public_ip': u'10.1.1.217', u'one_to_one_nat': False, u'nic_dev= _id': u'0', u'network': u'10.1.1.0/24', u'netmask': u'255.255.255.0', u'sou= rce_nat': False, u'broadcast': u'10.1.1.255', u'add': True, u'nw_type': u'g= uest', u'device': u'eth0', u'cidr': u'10.1.1.217/24', u'gateway': u'None', = u'size': u'24'} > 2016-12-21 10:49:28,440 CsAddress.py process:116 Address 10.1.1.217/24 o= n device eth0 not configured > 2016-12-21 10:49:28,440 CsAddress.py configure:274 Configuring address 1= 0.1.1.217/24 on device eth0 > 2016-12-21 10:49:28,440 CsHelper.py execute:184 Executing: ip addr add d= ev eth0 10.1.1.217/24 brd + > 2016-12-21 10:49:28,445 CsRoute.py add_table:38 Adding route table: 0 Ta= ble_eth0 to /etc/iproute2/rt_tables if not present > 2016-12-21 10:49:28,446 CsHelper.py execute:184 Executing: ip rule show > 2016-12-21 10:49:28,451 CsHelper.py execute:184 Executing: ip rule add f= wmark 0 table Table_eth0 > 2016-12-21 10:49:28,456 CsRule.py addMark:37 Added fwmark rule for Table= _eth0 > 2016-12-21 10:49:28,456 CsHelper.py execute:184 Executing: ip link show = eth0 | grep 'state DOWN' > 2016-12-21 10:49:28,463 CsHelper.py execute:184 Executing: arping -c 1 -= I eth0 -A -U -s 10.1.1.217 None > 2016-12-21 10:49:28,470 CsAddress.py inKernel:689 rpsfr is present in th= e kernel > 2016-12-21 10:49:28,470 CsAddress.py cpus:699 Single CPU machine > 2016-12-21 10:49:28,470 CsRoute.py add_table:38 Adding route table: 0 Ta= ble_eth0 to /etc/iproute2/rt_tables if not present > 2016-12-21 10:49:28,471 CsRoute.py add_route:50 Adding route: dev eth0 t= able: Table_eth0 network: 10.1.1.0/24 if not present > 2016-12-21 10:49:28,471 CsHelper.py execute:184 Executing: ip route show= dev eth0 table Table_eth0 10.1.1.0/24 > 2016-12-21 10:49:28,476 CsAddress.py post_config_change:531 Not able to = setup source-nat for a regular router yet > 2016-12-21 10:49:28,476 CsFile.py load:39 Reading file /etc/apache2/site= s-enabled/vhost-10.1.1.217.conf > 2016-12-21 10:49:28,477 CsFile.py search:124 Searching for and replacing with > 2016-12-21 10:49:28,477 CsFile.py search:124 Searching for and replacing with > 2016-12-21 10:49:28,477 CsFile.py search:124 Searching for Listen .*:80 = and replacing with Listen 10.1.1.217:80 > 2016-12-21 10:49:28,478 CsFile.py search:124 Searching for Listen .*:443= and replacing with Listen 10.1.1.217:443 > 2016-12-21 10:49:28,478 CsFile.py search:124 Searching for NameVirtualHo= st .*:80 and replacing with NameVirtualHost 10.1.1.217:80 > 2016-12-21 10:49:28,478 CsFile.py search:124 Searching for ServerName.* = and replacing with ServerName router.cs2cloud.internal > 2016-12-21 10:49:28,479 configure.py main:933 Configuring vmpassword > 2016-12-21 10:49:28,479 merge.py load:60 Loading data bag type vmpasswor= d > 2016-12-21 10:49:28,479 configure.py __update:64 File /tmp/passwdsrvrtok= en does not exist > 2016-12-21 10:49:28,480 CsHelper.py execute:184 Executing: ip addr show = | grep inet | awk '{print $2}' > 2016-12-21 10:49:28,488 CsHelper.py execute:184 Executing: ps aux > 2016-12-21 10:49:28,500 CsProcess.py find_pid:50 CsProcess:: Searching f= or process =3D=3D> ['/opt/cloud/bin/passwd_server_ip.py', '127.0.0.1'] and = found PIDs =3D=3D> [] > 2016-12-21 10:49:28,500 CsHelper.py execute:184 Executing: ps aux > 2016-12-21 10:49:28,511 CsProcess.py find_pid:50 CsProcess:: Searching f= or process =3D=3D> ['/opt/cloud/bin/passwd_server_ip.py', '10.1.1.217'] and= found PIDs =3D=3D> [] > 2016-12-21 10:49:28,511 CsHelper.py execute:184 Executing: ps aux > 2016-12-21 10:49:28,522 CsProcess.py find_pid:50 CsProcess:: Searching f= or process =3D=3D> ['/opt/cloud/bin/passwd_server_ip.py', '10.1.1.1'] and f= ound PIDs =3D=3D> [] > 2016-12-21 10:49:28,523 CsHelper.py execute:184 Executing: ps aux > 2016-12-21 10:49:28,534 CsProcess.py find_pid:50 CsProcess:: Searching f= or process =3D=3D> ['/opt/cloud/bin/passwd_server_ip.py', '169.254.0.132'] = and found PIDs =3D=3D> [] > 2016-12-21 10:49:28,534 CsHelper.py execute:184 Executing: ps aux > 2016-12-21 10:49:28,545 CsProcess.py find_pid:50 CsProcess:: Searching f= or process =3D=3D> ['/opt/cloud/bin/passwd_server_ip.py', '10.147.30.116'] = and found PIDs =3D=3D> [] > 2016-12-21 10:49:28,545 CsRedundant.py set:68 Router redundancy status i= s True > 2016-12-21 10:49:28,545 CsAddress.py get_guest_if:59 Guest interface wil= l be set on device 'eth0' and IP '10.1.1.217' > 2016-12-21 10:49:28,546 CsRedundant.py _redundant_on:98 Wait for devices= to be configured so we can start keepalived > 2016-12-21 10:49:28,546 CsHelper.py execute:184 Executing: ip link show = eth0 | grep 'state UP' > 2016-12-21 10:49:28,553 CsRedundant.py _redundant_on:104 Device eth0 is = present, let's start keepalive now. > 2016-12-21 10:49:28,553 CsHelper.py execute:184 Executing: mount > 2016-12-21 10:49:28,559 CsHelper.py execute:184 Executing: sed -i "s/--e= xec\ \$DAEMON;/--exec\ \$DAEMON\ --\ --vrrp;/g" /etc/init.d/keepalived > 2016-12-21 10:49:28,564 CsFile.py load:39 Reading file /opt/cloud/bin/ch= eckrouter.sh > 2016-12-21 10:49:28,564 CsFile.py greplace:116 Searching for [RROUTER_LO= G] and replacing with /var/log/cloud.log > 2016-12-21 10:49:28,565 CsFile.py commit:60 Nothing to commit. The /opt/= cloud/bin/checkrouter.sh file did not change > 2016-12-21 10:49:28,565 CsFile.py load:39 Reading file /etc/keepalived/k= eepalived.conf > 2016-12-21 10:49:28,565 CsFile.py search:124 Searching for router_id a= nd replacing with router_id r-10-VM > 2016-12-21 10:49:28,565 CsFile.py search:124 Searching for interface a= nd replacing with interface eth0 > 2016-12-21 10:49:28,565 CsFile.py search:124 Searching for advert_int = and replacing with advert_int 1 > 2016-12-21 10:49:28,565 CsFile.py greplace:116 Searching for [RROUTER_BI= N_PATH] and replacing with /ramdisk/rrouter > 2016-12-21 10:49:28,566 CsHelper.py copy:251 Copied /opt/cloud/templates= /conntrackd.conf.templ to /opt/cloud/templates/conntrackd.conf.templ.bkp > 2016-12-21 10:49:28,566 CsFile.py load:39 Reading file /opt/cloud/templa= tes/conntrackd.conf.templ > 2016-12-21 10:49:28,566 CsFile.py commit:66 Wrote edited file /opt/cloud= /templates/conntrackd.conf.templ > 2016-12-21 10:49:28,567 CsFile.py commit:68 Updated file in-cache config= uration > 2016-12-21 10:49:28,567 CsFile.py load:39 Reading file /etc/conntrackd/c= onntrackd.conf > 2016-12-21 10:49:28,567 CsFile.py compare:168 Comparison of CsFiles cont= ent is =3D=3D> True > 2016-12-21 10:49:28,567 CsHelper.py execute:184 Executing: ps aux > 2016-12-21 10:49:28,578 CsProcess.py find_pid:50 CsProcess:: Searching f= or process =3D=3D> ['/etc/conntrackd/conntrackd.conf'] and found PIDs =3D= =3D> ['2690'] > 2016-12-21 10:49:28,599 CsHelper.py copy:251 Copied /opt/cloud/templates= /conntrackd.conf.templ.bkp to /opt/cloud/templates/conntrackd.conf.templ > 2016-12-21 10:49:28,600 CsHelper.py execute:184 Executing: rm -rf /opt/c= loud/templates/conntrackd.conf.templ.bkp > 2016-12-21 10:49:28,605 CsFile.py load:39 Reading file /etc/cron.d/heart= beat > 2016-12-21 10:49:28,605 CsFile.py commit:60 Nothing to commit. The /etc/= cron.d/heartbeat file did not change > 2016-12-21 10:49:28,605 CsHelper.py execute:184 Executing: ps aux > 2016-12-21 10:49:28,617 CsProcess.py find_pid:50 CsProcess:: Searching f= or process =3D=3D> ['/usr/sbin/keepalived'] and found PIDs =3D=3D> ['2704',= '2705', '2706'] -- This message was sent by Atlassian JIRA (v6.3.4#6332)