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 0E9651791D for ; Wed, 21 Oct 2015 21:16:29 +0000 (UTC) Received: (qmail 38751 invoked by uid 500); 21 Oct 2015 21:16:28 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 38652 invoked by uid 500); 21 Oct 2015 21:16:28 -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 38536 invoked by uid 500); 21 Oct 2015 21:16:28 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 38510 invoked by uid 99); 21 Oct 2015 21:16:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2015 21:16:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 442222C1F71 for ; Wed, 21 Oct 2015 21:16:28 +0000 (UTC) Date: Wed, 21 Oct 2015 21:16:28 +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-8933) SSVm and CPVM do not survive a reboot from API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8933?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D14967934#comment-14967934 ]=20 ASF subversion and git services commented on CLOUDSTACK-8933: ------------------------------------------------------------- Commit 698171d210affcface5c38a88ca39fe8b4fc42a0 in cloudstack's branch refs= /heads/master from [~wilder.rodrigues] [ https://git-wip-us.apache.org/repos/asf?p=3Dcloudstack.git;h=3D698171d ] CLOUDSTACK-8933 - Replace infinite loop by a for loop - The loop will also sleep in between iterations, waiting for a couple o= f seconds and being multiplied by factor 2 per iteration > SSVm and CPVM do not survive a reboot from API > ---------------------------------------------- > > Key: CLOUDSTACK-8933 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-893= 3 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: SystemVM > Affects Versions: 4.6.0 > Environment: KVM Advanced / Basic zone > Reporter: Remi Bergsma > Assignee: Wilder Rodrigues > Priority: Blocker > Fix For: 4.6.0 > > Attachments: Console screenshot.png, reboot.4.5.log, reboot.4.6.l= og > > > These tests fail: > - integration.smoke.test_ssvm.TestSSVMs.test_07_reboot_ssvm > - integration.smoke.test_ssvm.TestSSVMs.test_08_reboot_cpvm > Stopping works, then CloudStack successfully deploys a new one. Rebooting= doesn=E2=80=99t work as it doesn=E2=80=99t complete the boot sequence. Loo= king at the agent.log I noticed the systemvm doesn=E2=80=99t get patched so= it is probably waiting for that to happen. > A successful start shows this: > 2015-10-05 21:26:12,748 DEBUG [kvm.resource.LibvirtComputingResource] (ag= entRequest-Handler-4:null) Executing: /usr/share/cloudstack-common/scripts/= vm/hypervisor/kvm/patchviasocket.pl -n v-1-VM -p %template=3DdomP%type=3Dco= nsoleproxy%host=3D192.168.22.61%port=3D8250%name=3Dv-1-VM%zone=3D1%pod=3D1%= guid=3DProxy.1%proxy_vm=3D1%disable_rp_filter=3Dtrue%eth2ip=3D192.168.23.2%= eth2mask=3D255.255.255.0%gateway=3D192.168.23.1%eth0ip=3D169.254.1.20%eth0m= ask=3D255.255.0.0%eth1ip=3D192.168.22.137%eth1mask=3D255.255.255.0%mgmtcidr= =3D192.168.22.0/24%localgw=3D192.168.22.1%internaldns1=3D8.8.4.4%dns1=3D8.8= .8.8 > 2015-10-05 21:26:12,777 DEBUG [kvm.resource.LibvirtComputingResource] (ag= entRequest-Handler-4:null) Execution is successful. > The reboot doesn=E2=80=99t do this. When I hit reboot and run this comman= d manually, it works: > /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl = -n v-1-VM -p %template=3DdomP%type=3Dconsoleproxy%host=3D192.168.22.61%port= =3D8250%name=3Dv-1-VM%zone=3D1%pod=3D1%guid=3DProxy1%proxy_vm=3D1%disable_r= p_filter=3Dtru%eth2ip=3D192.168.23.2%eth2mask=3D255.255.255.0%gateway=3D192= .168.23.1%eth0ip=3D169.254.1.20%eth0mask=3D255.255.0.0%eth1ip=3D192.168.22.= 137%eth1mask=3D255.255.255.0%mgmtcidr=3D192.168.22.0/24%localgw=3D192.168.2= 2.1%internaldns1=3D8.8.4.4%dns1=3D8.8.8.8 > I basically copy/pasted the patch line from the stop/start and used it wh= en rebooting. Now everything works. > We need to figure out why it doesn=E2=80=99t patch the system vms on rebo= ot. -- This message was sent by Atlassian JIRA (v6.3.4#6332)