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 57181200D5E for ; Sat, 23 Dec 2017 09:51:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 46ECF160C1C; Sat, 23 Dec 2017 08:51:12 +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 64061160C0E for ; Sat, 23 Dec 2017 09:51:11 +0100 (CET) Received: (qmail 76727 invoked by uid 500); 23 Dec 2017 08:51:10 -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 76718 invoked by uid 500); 23 Dec 2017 08:51:10 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 76715 invoked by uid 99); 23 Dec 2017 08:51:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Dec 2017 08:51:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EA035C43CB for ; Sat, 23 Dec 2017 08:51:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2AB1TkHGRlKu for ; Sat, 23 Dec 2017 08:51:09 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B6FE15F232 for ; Sat, 23 Dec 2017 08:51:08 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1737EE0D50 for ; Sat, 23 Dec 2017 08:51:06 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5F888240E6 for ; Sat, 23 Dec 2017 08:51:04 +0000 (UTC) Date: Sat, 23 Dec 2017 08:51:04 +0000 (UTC) From: "Rohit Yadav (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-9837) Upon stoping and starting an InternalLbVM device from CloudStack, HAProxy service on the device is not being started properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 23 Dec 2017 08:51:12 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav reassigned CLOUDSTACK-9837: --------------------------------------- Assignee: Rohit Yadav > Upon stoping and starting an InternalLbVM device from CloudStack, HAProxy service on the device is not being started properly > ----------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9837 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9837 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server, SystemVM > Affects Versions: 4.10.0.0 > Reporter: Mani Prashanth Varma Manthena > Assignee: Rohit Yadav > Priority: Critical > > Upon stoping and starting an InternalLbVM device from CloudStack, HAProxy service on the device is not being started properly (i.e. not in running state). > {noformat:title=service haproxy status} > root@b-70-VM:~# service haproxy status > haproxy not running. > {noformat} > {noformat:title=netstat output} > root@b-70-VM:~# netstat -tlpn > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name > tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1836/rpcbind > tcp 0 0 169.254.2.251:3922 0.0.0.0:* LISTEN 2748/sshd > tcp6 0 0 :::111 :::* LISTEN 1836/rpcbind > {noformat} > {noformat:title= /var/log/messages output} > Mar 14 12:41:19 b-70-VM kernel: [ 4.405107] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) > Mar 14 12:41:19 b-70-VM kernel: [ 4.464582] EXT4-fs (vda6): mounted filesystem with ordered data mode. Opts: (null) > Mar 14 12:41:19 b-70-VM kernel: [ 4.516924] EXT4-fs (vda8): mounted filesystem with ordered data mode. Opts: (null) > Mar 14 12:41:19 b-70-VM kernel: [ 4.558946] EXT4-fs (vda11): mounted filesystem with ordered data mode. Opts: (null) > Mar 14 12:41:19 b-70-VM kernel: [ 4.638375] EXT4-fs (vda7): mounted filesystem with ordered data mode. Opts: (null) > Mar 14 12:41:19 b-70-VM kernel: [ 4.701705] EXT4-fs (vda9): mounted filesystem with ordered data mode. Opts: (null) > Mar 14 12:41:19 b-70-VM kernel: [ 4.740521] EXT4-fs (vda10): mounted filesystem with ordered data mode. Opts: (null) > Mar 14 12:41:19 b-70-VM kernel: [ 11.586397] NET: Registered protocol family 15 > Mar 14 12:41:19 b-70-VM kernel: [ 11.593899] alg: No test for cipher_null (cipher_null-generic) > Mar 14 12:41:19 b-70-VM kernel: [ 11.593917] alg: No test for ecb(cipher_null) (ecb-cipher_null) > Mar 14 12:41:19 b-70-VM kernel: [ 11.593968] alg: No test for digest_null (digest_null-generic) > Mar 14 12:41:19 b-70-VM kernel: [ 11.593981] alg: No test for compress_null (compress_null-generic) > Mar 14 12:41:19 b-70-VM kernel: [ 11.607264] sha1_ssse3: Neither AVX nor SSSE3 is available/usable. > Mar 14 12:41:19 b-70-VM kernel: [ 11.796542] ip_tables: (C) 2000-2006 Netfilter Core Team > Mar 14 12:41:19 b-70-VM kernel: [ 11.971487] ip6_tables: (C) 2000-2006 Netfilter Core Team > Mar 14 12:41:19 b-70-VM cloud: Starting ssh > Mar 14 12:41:19 b-70-VM cloud: Starting haproxy > Mar 14 12:41:20 b-70-VM cloud: Stopping cloud > Mar 14 12:41:20 b-70-VM cloud: Stopping dnsmasq > Mar 14 12:41:20 b-70-VM cloud: Stopping cloud-passwd-srvr > Mar 14 12:41:20 b-70-VM cloud: Stopping apache2 > Mar 14 12:41:21 b-70-VM cloud: Waiting for VM boot up done for one second > Mar 14 12:41:21 b-70-VM cloud: Stopping nfs-common > Mar 14 12:41:21 b-70-VM cloud: Stopping portmap > Mar 14 12:41:21 b-70-VM cloud: Boot up process done > Mar 14 13:42:20 b-70-VM kernel: [ 3673.315888] device eth0 entered promiscuous mode > Mar 14 13:43:01 b-70-VM kernel: [ 3714.667895] device eth0 left promiscuous mode > {noformat} > work around: > Manually start the HAProxy service on the InternalLB/VPCInlineLB device. > {noformat:title=Starting HAProxy service} > root@b-70-VM:~# service haproxy start > [....] Starting haproxy: haproxy[WARNING] 072/141946 (3417) : config : 'option forwardfor' ignored for proxy '10_1_1_151-22' as it requires HTTP mode. > [WARNING] 072/141946 (3418) : config : 'option forwardfor' ignored for proxy '10_1_1_151-22' as it requires HTTP mode. > . ok > root@b-70-VM:~# > root@b-70-VM:~# netstat -tlpn > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name > tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1836/rpcbind > tcp 0 0 10.1.1.151:80 0.0.0.0:* LISTEN 3419/haproxy > tcp 0 0 10.1.1.249:8081 0.0.0.0:* LISTEN 3419/haproxy > tcp 0 0 169.254.2.251:3922 0.0.0.0:* LISTEN 2748/sshd > tcp 0 0 10.1.1.151:22 0.0.0.0:* LISTEN 3419/haproxy > tcp6 0 0 :::111 :::* LISTEN 1836/rpcbind > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)