Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96F3FF253 for ; Wed, 3 Apr 2013 00:17:17 +0000 (UTC) Received: (qmail 95640 invoked by uid 500); 3 Apr 2013 00:17:16 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 95617 invoked by uid 500); 3 Apr 2013 00:17:16 -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 95554 invoked by uid 500); 3 Apr 2013 00:17:16 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 95534 invoked by uid 99); 3 Apr 2013 00:17:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 00:17:16 +0000 Date: Wed, 3 Apr 2013 00:17:16 +0000 (UTC) From: "angeline shen (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1844) Upgrade 4.0 -> 4.1 - KVM host agent.properties is not restored as part of upgrading the binaries from 4.0 to 4.1. 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-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620432#comment-13620432 ] angeline shen commented on CLOUDSTACK-1844: ------------------------------------------- Verified upgrade 4.0 -> 4.1.0 latest build 169 MS ASF 4.0.0 GA firewall external devices SRX host KVM ASF 4.0.0 GA > Upgrade 4.0 -> 4.1 - KVM host agent.properties is not restored as part of upgrading the binaries from 4.0 to 4.1. > ----------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1844 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1844 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.1.0 > Environment: Upgrade from 4.0 -> 41. > Reporter: Sangeetha Hariharan > Assignee: Marcus Sorensen > Priority: Blocker > Fix For: 4.1.0 > > Attachments: agent.properties.txt, agent.properties.txt > > > Upgrade 4.0 -> 4.1 - KVM host agent.properties is not restored as part of upgrading the binaries from 4.0 to 4.1. > Install 4.1 binaries > Configure Advance Zone with KVM hosts. > Deploy few Vms. > Stop management server. > Upgrade to 4.1 binaries. > Start management server. > From KVM host , > Stop cloud-agent. > Upgrade to 4.1 binaries. > Start cloud-agent. > Agent fails to start because it refers to the /etc/cloudstack/agent/agent.properties which is NOT restored from the original agent.properties. > Following errors seen in the agent.log: > 2013-03-28 19:46:44,294 INFO [cloud.agent.AgentShell] (main:null) Agent started > 2013-03-28 19:46:44,296 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 4.1.0-SNAPSHOT > 2013-03-28 19:46:44,298 INFO [cloud.agent.AgentShell] (main:null) agent.properties found at /etc/cloudstack/agent/agent.properties > 2013-03-28 19:46:44,299 INFO [cloud.agent.AgentShell] (main:null) Defaulting to using properties file for storage > 2013-03-28 19:46:44,301 INFO [cloud.agent.AgentShell] (main:null) Defaulting to the constant time backoff algorithm > 2013-03-28 19:46:44,404 INFO [cloud.agent.Agent] (main:null) id is > 2013-03-28 19:46:44,466 ERROR [cloud.resource.ServerResourceBase] (main:null) Nics are not configured! > 2013-03-28 19:46:44,475 INFO [cloud.resource.ServerResourceBase] (main:null) Designating private to be nic cloudbr0 > 2013-03-28 19:46:44,489 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm > 2013-03-28 19:46:45,370 ERROR [cloud.agent.AgentShell] (main:null) Unable to start agent: Failed to get private nic name > After restoring to the original agent.properties , agent is able to start successfully. -- 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