cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9692) Reset password service is not running on Redundant virtual routers.
Date Thu, 02 Feb 2017 07:15:51 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-9692:
--------------------------------------------

Github user rhtyd commented on the issue:

    https://github.com/apache/cloudstack/pull/1871
  
    @karuturi looks like it failed, I'll re-kick it
    @blueorangutan package


> 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/1    S+   05:52   0:00 grep passwd
> root      4697  0.0  0.6  17712  1568 ?        S    Dec20   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 ?        S    Dec13   0:00 /bin/bash /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 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
> 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 default ipv4 route
is present
> 2016-12-21 10:49:28,419  CsHelper.py execute:184 Executing: ip -4 route list 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 DataBag ==> {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_type': u'control', u'device': u'eth1', u'cidr': u'169.254.0.132/16', u'gateway':
u'None', u'size': u'16'}
> 2016-12-21 10:49:28,429  CsAddress.py process:116 Address 169.254.0.132/16 on device
eth1 not configured
> 2016-12-21 10:49:28,430  CsAddress.py configure:274 Configuring address 169.254.0.132/16
on device eth1
> 2016-12-21 10:49:28,430  CsHelper.py execute:184 Executing: ip addr add dev 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 DataBag ==> {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'source_nat': False, u'broadcast': u'10.1.1.255', u'add': True,
u'nw_type': u'guest', 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 on device eth0
not configured
> 2016-12-21 10:49:28,440  CsAddress.py configure:274 Configuring address 10.1.1.217/24
on device eth0
> 2016-12-21 10:49:28,440  CsHelper.py execute:184 Executing: ip addr add dev eth0 10.1.1.217/24
brd +
> 2016-12-21 10:49:28,445  CsRoute.py add_table:38 Adding route table: 0 Table_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 fwmark 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 the 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 Table_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 table: 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/sites-enabled/vhost-10.1.1.217.conf
> 2016-12-21 10:49:28,477  CsFile.py search:124 Searching for <VirtualHost.*:80>
and replacing with       <VirtualHost 10.1.1.217:80>
> 2016-12-21 10:49:28,477  CsFile.py search:124 Searching for <VirtualHost.*:443>
and replacing with      <VirtualHost 10.1.1.217:443>
> 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 NameVirtualHost .*: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 vmpassword
> 2016-12-21 10:49:28,479  configure.py __update:64 File /tmp/passwdsrvrtoken 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 for process ==>
['/opt/cloud/bin/passwd_server_ip.py', '127.0.0.1'] and found PIDs ==> []
> 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 for process ==>
['/opt/cloud/bin/passwd_server_ip.py', '10.1.1.217'] and found PIDs ==> []
> 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 for process ==>
['/opt/cloud/bin/passwd_server_ip.py', '10.1.1.1'] and found PIDs ==> []
> 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 for process ==>
['/opt/cloud/bin/passwd_server_ip.py', '169.254.0.132'] and found PIDs ==> []
> 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 for process ==>
['/opt/cloud/bin/passwd_server_ip.py', '10.147.30.116'] and found PIDs ==> []
> 2016-12-21 10:49:28,545  CsRedundant.py set:68 Router redundancy status is True
> 2016-12-21 10:49:28,545  CsAddress.py get_guest_if:59 Guest interface will 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/--exec\ \$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/checkrouter.sh
> 2016-12-21 10:49:28,564  CsFile.py greplace:116 Searching for [RROUTER_LOG] 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/keepalived.conf
> 2016-12-21 10:49:28,565  CsFile.py search:124 Searching for  router_id  and replacing
with     router_id r-10-VM
> 2016-12-21 10:49:28,565  CsFile.py search:124 Searching for  interface  and 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_BIN_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/templates/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 configuration
> 2016-12-21 10:49:28,567  CsFile.py load:39 Reading file /etc/conntrackd/conntrackd.conf
> 2016-12-21 10:49:28,567  CsFile.py compare:168 Comparison of CsFiles content is ==>
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 for process ==>
['/etc/conntrackd/conntrackd.conf'] and found PIDs ==> ['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/cloud/templates/conntrackd.conf.templ.bkp
> 2016-12-21 10:49:28,605  CsFile.py load:39 Reading file /etc/cron.d/heartbeat
> 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 for process ==>
['/usr/sbin/keepalived'] and found PIDs ==> ['2704', '2705', '2706']



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message