Return-Path: X-Original-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F0E5CF9AC for ; Thu, 21 Mar 2013 04:31:18 +0000 (UTC) Received: (qmail 68071 invoked by uid 500); 21 Mar 2013 04:31:18 -0000 Delivered-To: apmail-incubator-cloudstack-issues-archive@incubator.apache.org Received: (qmail 67369 invoked by uid 500); 21 Mar 2013 04:31:17 -0000 Mailing-List: contact cloudstack-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-issues@incubator.apache.org Received: (qmail 67328 invoked by uid 99); 21 Mar 2013 04:31:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 04:31:16 +0000 Date: Thu, 21 Mar 2013 04:31:16 +0000 (UTC) From: "Vijay Venkatachalam (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1537) Restart network with clean up set to true causes Autoscaled LB rule to get mangled and unusable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13608622#comment-13608622 ] Vijay Venkatachalam commented on CLOUDSTACK-1537: ------------------------------------------------- The patch is already marked for "ship" in 4.1! I will submit a review for master today and any committer should be able to patch it through! > Restart network with clean up set to true causes Autoscaled LB rule to get mangled and unusable > ----------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1537 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1537 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller, Network Devices > Affects Versions: 4.1.0 > Environment: Ubuntu 11.04, NetScaler NS10.0: Build 73.500202.e.nc > Reporter: Sowmya Krishnan > Assignee: Vijay Venkatachalam > Priority: Critical > Fix For: 4.1.0 > > Attachments: mslog > > > Restarting a network (with clean up set to true) which has Autoscale LB rules configured causes the rules to get mangled and unusable after the restart. Autoscale configs are not properly restored back during restart and VMs part of the rule are destroyed and not restored back. > Expected Result: > ============== > lb vserver, service group and other autoscale configs should be removed and recreated and the rule should be functional (scale up/scale down should work normally) after restart. > Following is the extract of ns.log: > Mar 6 07:27:20 10.102.192.50 03/06/2013:07:27:20 GMT 0-PPE-0 : UI CMD_EXECUTED 1652 0 : User nsroot - Remote_ip 10.102.192.238 - Command "rm lb vserver Cloud-VirtualServer-10.102.196.237-22" - Status "Success" > Mar 6 07:27:20 10.102.192.50 03/06/2013:07:27:20 GMT 0-PPE-0 : EVENT STARTSAVECONFIG 1653 0 : SAVECONFIG start > Mar 6 07:27:20 10.102.192.50 03/06/2013:07:27:20 GMT 0-PPE-0 : ROUTING ZEBOS_CMD_EXECUTED 1654 0 : Command "write memory" mode(4) > Mar 6 07:27:21 ns provserverd[43261]: New Connection... > Mar 6 07:27:21 ns provserverd[43261]: Got EOF ... closing socket 10 > Mar 6 07:27:23 10.102.192.50 03/06/2013:07:27:23 GMT 0-PPE-0 : EVENT STOPSAVECONFIG 1655 0 : SAVECONFIG completed > Mar 6 07:27:24 10.102.192.50 03/06/2013:07:27:24 GMT 0-PPE-0 : UI CMD_EXECUTED 1656 0 : User nsroot - Remote_ip 10.102.192.238 - Command "save ns config" - Status "Success" > Mar 6 07:27:26 ns provserverd[43261]: New Connection... > Mar 6 07:27:26 ns provserverd[43261]: Got EOF ... closing socket 10 > Mar 6 07:27:27 ns provserverd[43261]: Sending Heartbeat > Mar 6 07:27:31 ns provserverd[43261]: New Connection... > Mar 6 07:27:31 ns provserverd[43261]: Got EOF ... closing socket 10 > Mar 6 07:27:36 ns provserverd[43261]: New Connection... > Mar 6 07:27:36 ns provserverd[43261]: Got EOF ... closing socket 10 > Mar 6 07:27:37 ns provserverd[43261]: Sending Heartbeat > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1657 0 : User nsroot - Remote_ip 10.102.192.238 - Command "show server" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1658 0 : User nsroot - Remote_ip 10.102.192.238 - Command "show service" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1659 0 : User nsroot - Remote_ip 10.102.192.238 - Command "rm server autoscale-internal_server_Cloudd4337c16d95b41048d3db8102faf89ce" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1660 0 : User nsroot - Remote_ip 10.102.192.238 - Command "unbind vlan 844 -ifnum 1/4 -tagged" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1661 0 : User nsroot - Remote_ip 10.102.192.238 - Command "unbind vlan 844 -IPAddress 10.0.75.168 255.255.240.0" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1662 0 : User nsroot - Remote_ip 10.102.192.238 - Command "show ns ip 10.0.75.168" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : EVENT ROUTEDOWN 1663 0 : Route route(10.0.64.0_255.255.240.0) - State DOWN > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1664 0 : User nsroot - Remote_ip 10.102.192.238 - Command "rm ns ip 10.0.75.168" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1665 0 : User nsroot - Remote_ip 10.102.192.238 - Command "show vlan 844" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : UI CMD_EXECUTED 1666 0 : User nsroot - Remote_ip 10.102.192.238 - Command "rm vlan 844" - Status "Success" > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : EVENT STARTSAVECONFIG 1667 0 : SAVECONFIG start > Mar 6 07:27:39 10.102.192.50 03/06/2013:07:27:39 GMT 0-PPE-0 : ROUTING ZEBOS_CMD_EXECUTED 1668 0 : Command "write memory" mode(4) > Mar 6 07:27:41 ns provserverd[43261]: New Connection... > Mar 6 07:27:41 ns provserverd[43261]: Got EOF ... closing socket 10 > Mar 6 07:27:42 10.102.192.50 03/06/2013:07:27:42 GMT 0-PPE-0 : EVENT STOPSAVECONFIG 1669 0 : SAVECONFIG completed > Mar 6 07:27:43 10.102.192.50 03/06/2013:07:27:43 GMT 0-PPE-0 : UI CMD_EXECUTED 1670 0 : User nsroot - Remote_ip 10.102.192.238 - Command "save ns config" - Status "Success" > .... > Mar 6 07:27:57 ns provserverd[43261]: Incarnation no old= 547 new=556 config changed? > Mar 6 07:27:57 ns provserverd[43261]: Checking if autoscale service groups are deleted > Mar 6 07:27:57 ns provserverd[43261]: DATABASE: select statement is ****select svcgrp, domainname, apikey, secretkey, url from servicegroup_info**** > Mar 6 07:27:57 ns provserverd[43261]: Checking if svcgrp (Cloudd4337c16d95b41048d3db8102faf89ce) is present > Mar 6 07:27:57 ns provserverd[43261]: DATABASE: get statement is ****select apikey, secretkey, url from vms_to_delete where vmid like "%%"**** > ... > Mar 6 07:28:54 10.102.192.50 03/06/2013:07:28:54 GMT 0-PPE-0 : UI CMD_EXECUTED 1671 0 : User nsroot - Remote_ip 10.102.192.238 - Command "show vlan 844" - Status "ERROR: No such resource" > Mar 6 07:28:54 10.102.192.50 03/06/2013:07:28:54 GMT 0-PPE-0 : UI CMD_EXECUTED 1672 0 : User nsroot - Remote_ip 10.102.192.238 - Command "add vlan 844 -ipv6DynamicRouting DISABLED -devno 13369344" - Status "Success" > Mar 6 07:28:54 10.102.192.50 03/06/2013:07:28:54 GMT 0-PPE-0 : UI CMD_EXECUTED 1673 0 : User nsroot - Remote_ip 10.102.192.238 - Command "show ns ip 10.0.71.200" - Status "ERROR: No such resource" > Mar 6 07:28:54 10.102.192.50 03/06/2013:07:28:54 GMT 0-PPE-0 : EVENT ROUTEUP 1674 0 : Route route(10.0.64.0_255.255.240.0) - State UP > Mar 6 07:28:54 10.102.192.50 03/06/2013:07:28:54 GMT 0-PPE-0 : UI CMD_EXECUTED 1675 0 : User nsroot - Remote_ip 10.102.192.238 - Command "add ns ip 10.0.71.200 255.255.240.0 -type SNIP -arp ENABLED -icmp ENABLED -vServer ENABLED -telnet ENABLED -ftp ENABLED -gui ENABLED -ssh ENABLED -snmp ENABLED -mgmtAccess DISABLED -restrictAccess DISABLED -dynamicRouting DISABLED -state ENABLED -icmpResponse NONE -ownerNode 255 -arpResponse NONE -devno 13402112" - Status "Success" > Mar 6 07:28:55 10.102.192.50 03/06/2013:07:28:55 GMT 0-PPE-0 : UI CMD_EXECUTED 1676 0 : User nsroot - Remote_ip 10.102.192.238 - Command "show vlan 844" - Status "Success" > Mar 6 07:28:55 10.102.192.50 03/06/2013:07:28:55 GMT 0-PPE-0 : UI CMD_EXECUTED 1677 0 : User nsroot - Remote_ip 10.102.192.238 - Command "bind vlan 844 -IPAddress 10.0.71.200 255.255.240.0 -devno 13434880" - Status "Success" > Mar 6 07:28:55 10.102.192.50 03/06/2013:07:28:55 GMT 0-PPE-0 : UI CMD_EXECUTED 1678 0 : User nsroot - Remote_ip 10.102.192.238 - Command "bind vlan 844 -ifnum 1/4 -tagged -devno 13467648" - Status "Success" > Mar 6 07:28:55 10.102.192.50 03/06/2013:07:28:55 GMT 0-PPE-0 : EVENT STARTSAVECONFIG 1679 0 : SAVECONFIG start > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira