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 93341200B31 for ; Tue, 24 May 2016 17:07:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 924AE160A35; Tue, 24 May 2016 15:07:19 +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 DD5A716098E for ; Tue, 24 May 2016 17:07:18 +0200 (CEST) Received: (qmail 42652 invoked by uid 500); 24 May 2016 15:07:13 -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 42642 invoked by uid 500); 24 May 2016 15:07:13 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 42639 invoked by uid 99); 24 May 2016 15:07:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2016 15:07:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DD6852C1F5C for ; Tue, 24 May 2016 15:07:12 +0000 (UTC) Date: Tue, 24 May 2016 15:07:12 +0000 (UTC) From: "dsclose (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-9385) Password Server is not running on RvR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 24 May 2016 15:07:19 -0000 dsclose created CLOUDSTACK-9385: ----------------------------------- Summary: Password Server is not running on RvR Key: CLOUDSTACK-9385 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9385 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: ISO, SystemVM Affects Versions: 4.8.0, 4.7.1, 4.7.0, 4.6.2, 4.6.1, 4.6.0 Reporter: dsclose NB: I have not tested this on VPC routers. The cloud-passwd-srvr service fails on redundant virtual routers. This appears to only concern redundant virtual routers. Standalone routers launch the password server successfully, as per this bash session: ``` root@r-3775-VM:~# ps aux | grep passwd | grep -v grep root 2257 0.0 0.5 9244 1328 ? S 14:27 0:00 /bin/bash /opt/cloud/bin/passwd_server_ip 10.1.1.1 dummy root 2259 0.0 3.2 37276 8128 ? S 14:27 0:00 python /opt/cloud/bin/passwd_server_ip.py 10.1.1.1 root@r-3775-VM:~# netstat -tnlp | grep 2259 tcp 0 0 10.1.1.1:8080 0.0.0.0:* LISTEN 2259/python ``` However, redundant virtual routers do not exhibit this behaviour. Instead, the password server process is running without an IP argument. No matching process is bound to any ports: ``` root@r-3776-VM:~# ps aux | grep passwd | grep -v grep root 5152 0.0 0.2 17684 1516 ? S 14:38 0:00 /bin/bash /opt/cloud/bin/passwd_server_ip None dummy root@r-3776-VM:~# netstat -ntlp | grep 5152 root@r-3776-VM:~# ``` Further, an error message is being repeated in /var/log/messages: ``` May 24 14:53:07 r-3776-VM cloud: Password server failed with error code 1. Restarting it... May 24 14:53:11 r-3776-VM cloud: Password server failed with error code 1. Restarting it... May 24 14:53:14 r-3776-VM cloud: Password server failed with error code 1. Restarting it... May 24 14:53:17 r-3776-VM cloud: Password server failed with error code 1. Restarting it... May 24 14:53:20 r-3776-VM cloud: Password server failed with error code 1. Restarting it... May 24 14:53:23 r-3776-VM cloud: Password server failed with error code 1. Restarting it... May 24 14:53:26 r-3776-VM cloud: Password server failed with error code 1. Restarting it... May 24 14:53:29 r-3776-VM cloud: Password server failed with error code 1. Restarting it... ``` No process is bound to the password server port. Consequently, attempts to request a password from the password server get rejected. Manually restarting the cloud-passwd-srvr resolves this issue immediately: ``` root@r-3776-VM:~# service cloud-passwd-srvr restart Killed password server (pid=4874) iptables: Bad rule (does a matching rule exist in that chain?). Removed cloud-passwd-srvr iptables rules Stopped password server (pid=5152) iptables: Bad rule (does a matching rule exist in that chain?). Removed cloud-passwd-srvr iptables rules Added cloud-passwd-srvr iptables rules root@r-3776-VM:~# nohup: appending output to `nohup.out' root@r-3776-VM:~# ps aux | grep passwd | grep -v grep root 15776 0.0 0.3 19436 1576 pts/1 S 15:05 0:00 /bin/bash /opt/cloud/bin/passwd_server_ip 10.1.1.250 root 15780 0.2 1.6 45484 8304 pts/1 S 15:05 0:00 python /opt/cloud/bin/passwd_server_ip.py 10.1.1.250 root 15781 0.0 0.3 19436 1572 pts/1 S 15:05 0:00 /bin/bash /opt/cloud/bin/passwd_server_ip 10.1.1.1 root 15782 0.2 1.6 49692 8396 pts/1 S 15:05 0:00 python /opt/cloud/bin/passwd_server_ip.py 10.1.1.1 root@r-3776-VM:~# netstat -ntlp | grep 15780 tcp 0 0 10.1.1.250:8080 0.0.0.0:* LISTEN 15780/python ``` -- This message was sent by Atlassian JIRA (v6.3.4#6332)