Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AD781095F for ; Tue, 23 Jul 2013 16:27:58 +0000 (UTC) Received: (qmail 55034 invoked by uid 500); 23 Jul 2013 16:27:57 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 55009 invoked by uid 500); 23 Jul 2013 16:27:56 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 54997 invoked by uid 99); 23 Jul 2013 16:27:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 16:27:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [208.91.199.216] (HELO us2.outbound.mailhostbox.com) (208.91.199.216) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 16:27:51 +0000 Received: from localhost (unknown [49.205.181.238]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tsp@v0g0n.org) by us2.outbound.mailhostbox.com (Postfix) with ESMTPSA id 04EEE69A88A for ; Tue, 23 Jul 2013 16:27:09 +0000 (GMT) Date: Tue, 23 Jul 2013 21:57:05 +0530 From: Prasanna Santhanam To: users@cloudstack.apache.org Subject: Re: Unable to migrate VM to another host Message-ID: <20130723162705.GB3584@cloud-2.local> Mail-Followup-To: users@cloudstack.apache.org References: <20130722064444.GA6525@cloud-2.local> <20130722071512.GA8051@cloud-2.local> <20130722135402.GB1325@cloud-2.local> <20130723104358.GA13610@cloud-2.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CTCH-RefID: str=0001.0A020209.51EEAEDE.01B2,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CTCH-SenderID: tsp@apache.org X-CTCH-SenderID-TotalMessages: 1 X-CTCH-SenderID-TotalSpam: 0 X-CTCH-SenderID-TotalSuspected: 0 X-CTCH-SenderID-TotalBulk: 0 X-CTCH-SenderID-TotalConfirmed: 0 X-CTCH-SenderID-TotalRecipients: 0 X-CTCH-SenderID-TotalVirus: 0 X-CTCH-SenderID-BlueWhiteFlag: 0 X-Scanned-By: MIMEDefang 2.72 on 172.16.214.9 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Jul 23, 2013 at 08:18:31AM -0600, Marcus Sorensen wrote: > There is no cloud user on the host/agent side. Agent runs as root. Or is > this an experiment to try to run the agent as another user? That was entirely my mistake. I just went about thinking the agents ran as cloud (ssvm, cpvm, kvm agent). Looking at my deployment it seems that /etc/sudoers has an entry for cloud but the service runs as root. My apologies for misleading on that. > On Jul 23, 2013 4:44 AM, "Prasanna Santhanam" wrote: > > > On Tue, Jul 23, 2013 at 06:19:06PM +0800, Indra Pramana wrote: > > > Dear Prasanna and all, > > > > > > I have tried to remove the host from CloudStack, uninstall and reinstall > > > cloudstack-agent and added the host back into CloudStack. The "cloud" > > > user-id is still not yet created. I then tried to add the "cloud" user > > > manually, using exactly the same credentials as the "cloud" user on the > > > other host. > > > > > > >From the host, I tried to do a virsh connect qemu+ssh to the other host > > > using the "cloud" user (instead of root), and getting this error: > > > > > > cloud@hv-kvm-01:~$ virsh --connect qemu+ssh://cloud@10.237.3.22/systemlist > > > cloud@10.237.3.22's password: > > > error: failed to connect to the hypervisor > > > error: no valid connection > > > error: End of file while reading data: : Input/output error However - the issue still remains that migration between two KVM hosts seems to be failing. The log indicates the error shown above which was tried by hand here. Deployment contains KVM hosts with Ceph+RBD as primary storage. -- Prasanna., ------------------------ Powered by BigRock.com