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 ACDEB200C21 for ; Mon, 20 Feb 2017 07:32:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AB9B7160B73; Mon, 20 Feb 2017 06:32:51 +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 021E7160B62 for ; Mon, 20 Feb 2017 07:32:50 +0100 (CET) Received: (qmail 62941 invoked by uid 500); 20 Feb 2017 06:32:50 -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 62931 invoked by uid 500); 20 Feb 2017 06:32:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 62928 invoked by uid 99); 20 Feb 2017 06:32:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2017 06:32:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5F2B9180535 for ; Mon, 20 Feb 2017 06:32:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id dkFINNpwUP0T for ; Mon, 20 Feb 2017 06:32:47 +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 D2F3C5FE4F for ; Mon, 20 Feb 2017 06:32:46 +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 DE099E030B for ; Mon, 20 Feb 2017 06:32:45 +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 73E6324132 for ; Mon, 20 Feb 2017 06:32:44 +0000 (UTC) Date: Mon, 20 Feb 2017 06:32:44 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9756) IP address must not be allocated to other VR if releasing ip address is failed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Feb 2017 06:32:51 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874108#comment-15874108 ] ASF GitHub Bot commented on CLOUDSTACK-9756: -------------------------------------------- Github user rhtyd commented on the issue: https://github.com/apache/cloudstack/pull/1917 @jayapalu thanks, yes it seems an intermittent issue with `ipmisim`, `pyghmi` library that is used by the test to simulate a live ipmi server/board. I'll try to fix it soon, meanwhile you can push -f or close/open the PR to re-kick Travis. Exception: Job failed: {jobprocstatus : 0, created : u'2017-02-09T13:17:54+0000', cmd : u'org.apache.cloudstack.api.command.admin.outofbandmanagement.ChangeOutOfBandManagementPasswordCmd', userid : u'9f69561f-eec8-11e6-8c34-42010a0a0806', jobstatus : 2, jobid : u'752cba20-e8f8-4b53-9675-8aa98186ee01', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Failed to change out-of-band management password for host (40328dc0-d290-481f-a6cc-f084ecf88661) due to driver error: Failed to find IPMI user to change password, error: > Error: no response from RAKP 1 message\n> Error: no response from RAKP 1 message\n> Error: no response from RAKP 1 message\n> Error: no response from RAKP 1 message\nSet Session Privilege Level to ADMINISTRATOR failed\nError: Unable to establish IPMI v2 / RMCP+ session\n'}, accountid : u'9f693066-eec8-11e6-8c34-42010a0a0806'} > IP address must not be allocated to other VR if releasing ip address is failed > ------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9756 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9756 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller > Reporter: Jayapal Reddy > Assignee: Jayapal Reddy > Fix For: 4.10.0.0 > > > Apply rule (delete) is success on failure of ip assoc on back end. Cloudstack ignored the ip assoc failure. > Due to this the ip got freed and assigned to another network/account. It caused the ip to be present in more than one router. > Fix: Failing the apply rule (delete) on ipassoc failure > Repro steps: > 1. Configure PF/static nat/Firewall rules > 2. Delete the rule configured. > On deleting the rule, fail the ip assoc on the router. > 3. Delete rule fails because ip assoc got failed. > For RVR: > 1. acquire several public ips, > 2. add some rules on those public ips, so ips should show up in RVR, > 3. change ipassoc.sh in RVR, make it always returns error on disassociate ip. > 4. disassociate ip from UI, ip should is freed even though disassociate fails inside VR. -- This message was sent by Atlassian JIRA (v6.3.15#6346)