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 1EAA818BFB for ; Mon, 9 Nov 2015 16:41:12 +0000 (UTC) Received: (qmail 59401 invoked by uid 500); 9 Nov 2015 16:41:11 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 59292 invoked by uid 500); 9 Nov 2015 16:41:11 -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 59132 invoked by uid 500); 9 Nov 2015 16:41:11 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 59097 invoked by uid 99); 9 Nov 2015 16:41:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2015 16:41:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 433B02C1F68 for ; Mon, 9 Nov 2015 16:41:11 +0000 (UTC) Date: Mon, 9 Nov 2015 16:41:11 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9046) Fix upgrade path from 4.4 and 4.5 to 4.6 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-9046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996835#comment-14996835 ] ASF subversion and git services commented on CLOUDSTACK-9046: ------------------------------------------------------------- Commit 4b503b45821976ada42a4f6cdd1894caa8794505 in cloudstack's branch refs/heads/master from [~wilder.rodrigues] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4b503b4 ] CLOUDSTACK-9046 - Add SystemVM upgrade from 4.5 to 4.6 in the Upgrade452to460.java file > Fix upgrade path from 4.4 and 4.5 to 4.6 > ---------------------------------------- > > Key: CLOUDSTACK-9046 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9046 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Upgrade > Affects Versions: 4.6.0 > Reporter: Wilder Rodrigues > Assignee: Wilder Rodrigues > Priority: Blocker > Fix For: 4.6.0 > > > When upgrading to 4.6 from 4.5 or earlier, the systemvm template that is registered upfront is not marked as SYSTEM and set as the template for the existing systemvms. Therefore, new systemvms work fine but existing ones don't. > RCA is missing code in the upgrade path, as is present when upgrading from 4.4 to 4.5 for example. > The code in the Upgrade442to450.java is not generic, as the name suggests, and simply configures the whole SystemVM and all the existing Domain VMs to use the SystemVM-4.5.0 that was registered. It means that after the upgrade all the routers were marked okay, but they were using the old stuff, from 4.5.0. The attempt to deploy a new VM was also failing with the following error (on the host): > 2015-11-07 18:17:31,135 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Exit value is 1 > 2015-11-07 18:17:31,135 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) Traceback (most recent call last): File "/opt/cloud/bin/update_con > fig.py", line 20, in from merge import QueueFile File "/opt/cloud/bin/merge.py", line 23, in import cs_ip File "/opt/cloud/bin/cs_ip.py", lin > e 19, in from netaddr import *ImportError: No module named netaddr > Why that? Because the KVM host has the new systemvm.iso, which contains all the new python stuff, but the systemvm template, which installs the Guest OS (Debian) is old and does not contain the modules we now need. -- This message was sent by Atlassian JIRA (v6.3.4#6332)