Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97EFF1853E for ; Mon, 16 Nov 2015 11:14:37 +0000 (UTC) Received: (qmail 33738 invoked by uid 500); 16 Nov 2015 11:14:37 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 33675 invoked by uid 500); 16 Nov 2015 11:14:37 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 33663 invoked by uid 99); 16 Nov 2015 11:14:36 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2015 11:14:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4D6BBC10AB for ; Mon, 16 Nov 2015 11:14:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.901 X-Spam-Level: *** X-Spam-Status: No, score=3.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ijOep2Ez7XQA for ; Mon, 16 Nov 2015 11:14:23 +0000 (UTC) Received: from mail-io0-f177.google.com (mail-io0-f177.google.com [209.85.223.177]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id AB70C43E20 for ; Mon, 16 Nov 2015 11:14:22 +0000 (UTC) Received: by iofh3 with SMTP id h3so156234704iof.3 for ; Mon, 16 Nov 2015 03:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GkUkmSptpXIBipLl94WKgXN7UVnSQ7aIZMoZ+u/Mgh4=; b=XqDqgcBvUydoUv50vGpZnNqEkca4+VSbY3Augq2tEKWSPOS8oGFHiv5FMONIqSwuqE jnLln9requac9RLji/g1bzGEgTY2zqlpnudOIwPCvRiHcZniZ99euCjaP1XPiK0o2fKz CCKcGaNZgUS2vdD3yLO6GDJtiqj7WjTWsSsE6hy9gMzdlV/NrH7H5h+WIdQkM/c0gtxO p1P0FhLO8nXpFqc56con+gXisXVQeeJZv/7e48txG9NFCLpGwza0DuLWK3QSj1s2Wy46 LpnQRuV/mpoABrH+qgESxwUO1HC7fC9S1wsRd1+6gIrVTTqzWAgxVqIHqgS5xMGXiLm9 RQjw== MIME-Version: 1.0 X-Received: by 10.107.165.202 with SMTP id o193mr30346045ioe.69.1447672456023; Mon, 16 Nov 2015 03:14:16 -0800 (PST) Received: by 10.36.58.81 with HTTP; Mon, 16 Nov 2015 03:14:15 -0800 (PST) In-Reply-To: References: Date: Mon, 16 Nov 2015 17:14:15 +0600 Message-ID: Subject: Re: DevCloud deployment From: =?UTF-8?B?0JjQu9GM0Y8g0KLQvtC70YHRgtC40YXQuNC9?= To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a1141f2787e11f80524a682b6 --001a1141f2787e11f80524a682b6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks. 2015-11-16 10:28 GMT+06:00 Rajani Karuturi : > I find it easier to use devcloud4[1]. It the easiest way for xen6.2 > devcloud setup. > The documentation is also good. Just install the required tools/IP config= s > mentioned in README [2]. Then, go to the advanced and follow the readme[3= ] > there for a advanced zone setup. > > [1] https://github.com/apache/cloudstack/tree/master/tools/devcloud4 > [2] > https://github.com/apache/cloudstack/blob/master/tools/devcloud4/README.m= d > [3] > > https://github.com/apache/cloudstack/blob/master/tools/devcloud4/advanced= /README.md > > ~Rajani > > On Fri, Nov 13, 2015 at 12:52 PM, Daan Hoogland > wrote: > > > From your log it seems the host can be reached but doesn't respond s > > expected. First guess :wrong version of vhd-utils? > > > > Sorry for the late reaction. Stuck in traffic > > > > Biligual auto correct use. Read at your own risico > > Op 12-nov.-2015 10:28 schreef "=D0=98=D0=BB=D1=8C=D1=8F =D0=A2=D0=BE=D0= =BB=D1=81=D1=82=D0=B8=D1=85=D0=B8=D0=BD" : > > > > > This is fragment of vmops.log file of MS. > > > > > > 2015-11-12 0:49 GMT+06:00 Daan Hoogland : > > > > > >> Ilya, Can you share the log of your management server? There must be > > some > > >> more info in there. And maybe you can check SRLog on the host To see > if > > >> anything happened there at all. > > >> > > >> On Wed, Nov 11, 2015 at 6:43 PM, =D0=98=D0=BB=D1=8C=D1=8F =D0=A2=D0= =BE=D0=BB=D1=81=D1=82=D0=B8=D1=85=D0=B8=D0=BD > > >> wrote: > > >> > > >> > Yes, this is Xen. > > >> > > > >> > 2015-11-11 22:00 GMT+06:00 Daan Hoogland = : > > >> > > > >> > > this is a xen host, right? > > >> > > > > >> > > On Wed, Nov 11, 2015 at 3:43 PM, =D0=98=D0=BB=D1=8C=D1=8F =D0=A2= =D0=BE=D0=BB=D1=81=D1=82=D0=B8=D1=85=D0=B8=D0=BD < > inosinum@gmail.com > > > > > >> > > wrote: > > >> > > > > >> > > > On host ssh is up with 22 port only. > > >> > > > > > >> > > > 2015-11-11 20:03 GMT+06:00 =D0=98=D0=BB=D1=8C=D1=8F =D0=A2=D0= =BE=D0=BB=D1=81=D1=82=D0=B8=D1=85=D0=B8=D0=BD : > > >> > > > > > >> > > > > Cloudstack 4.6.0 > > >> > > > > Yes, I can ssh to host > > >> > > > > > > >> > > > > 2015-11-11 19:41 GMT+06:00 Daan Hoogland < > > daan.hoogland@gmail.com > > >> >: > > >> > > > > > > >> > > > >> what version of ACS? > > >> > > > >> It sounds like a network issue between ms and host? can you > ssh > > >> from > > >> > > ms > > >> > > > to > > >> > > > >> host on the right port? (i think it was 3922, might be 3022= ) > > >> > > > >> > > >> > > > >> On Wed, Nov 11, 2015 at 1:42 PM, =D0=98=D0=BB=D1=8C=D1=8F = =D0=A2=D0=BE=D0=BB=D1=81=D1=82=D0=B8=D1=85=D0=B8=D0=BD < > > >> inosinum@gmail.com > > >> > > > > >> > > > >> wrote: > > >> > > > >> > > >> > > > >> > Hi all, > > >> > > > >> > Could you please help with the DevCloud deployment. > > >> > > > >> > > > >> > > > >> > I imported devcloud into virtualbox, in settings *enabled > > PAE* > > >> and > > >> > > > >> > created *host-only > > >> > > > >> > network 192.168.56.1/24 * > > >> > > > >> > Devcloud is pinged now. > > >> > > > >> > > > >> > > > >> > I built and run cloudstack on my local machine with > commands > > >> > > > >> > *mvn -Pdeveloper,systemvm clean install* > > >> > > > >> > *mvn -Pdeveloper -pl developer,tools/devcloud -Ddeploydb* > > >> > > > >> > *mvn -pl :cloud-client-ui jetty:run* > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > Then I installed marvin and tried to deploy datacenter wi= th > > >> > command > > >> > > > >> > *mvn -P developer -pl tools/devcloud -Ddeploysvr* > > >> > > > >> > and got exception > > >> > > > >> > > > >> > > > >> > *=3D=3D=3D=3D Deploy DC Started =3D=3D=3D=3D* > > >> > > > >> > *Exception Occurred :['Traceback (most recent call > > last):\n', ' > > >> > > File > > >> > > > >> > "../marvin/marvin/deployDataCenter.py", line 136, in > > addHosts\n > > >> > > > ret =3D > > >> > > > >> > self.__apiClient.addHost(hostcmd)\n', ' File > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > >> > > > > > >> > > > > >> > > > >> > > > "/usr/local/lib/python2.7/dist-packages/Marvin-4.6.0_SNAPSHOT-py2.7.egg/m= arvin/cloudstackAPI/cloudstackAPIClient.py", > > >> > > > >> > line 1572, in addHost\n response =3D > > >> > > > >> > self.connection.marvinRequest(command, > > response_type=3Dresponse, > > >> > > > >> > method=3Dmethod)\n', ' File > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > >> > > > > > >> > > > > >> > > > >> > > > "/usr/local/lib/python2.7/dist-packages/Marvin-4.6.0_SNAPSHOT-py2.7.egg/m= arvin/cloudstackConnection.py", > > >> > > > >> > line 379, in marvinRequest\n raise e\n', > > >> > 'CloudstackAPIException: > > >> > > > >> > Execute cmd: addhost failed, due to: errorCode: 530, > > >> > > errorText:Cannot > > >> > > > >> > transit agent status with event AgentDisconnected for hos= t > 1, > > >> > > > mangement > > >> > > > >> > server id is 18413734744879,Unable to transition to a new > > state > > >> > from > > >> > > > >> > Creating via AgentDisconnected\n']* > > >> > > > >> > > > >> > > > >> > *=3D=3D=3Ddeploy dc failed, so cleaning the created entri= es=3D=3D=3D* > > >> > > > >> > > > >> > > > >> > *=3D=3D=3D=3DDeployDC: CleanUp Started=3D=3D=3D=3D* > > >> > > > >> > > > >> > > > >> > *=3D=3D=3D=3DClean Up Entries=3D=3D=3D {'Network': > > >> > > > >> > [u'5720be8d-f8eb-4dee-af4f-9551409c8722'], 'Zone': > > >> > > > >> > [u'd05cb102-2766-4d59-a94b-0998842b3717'], > 'PhysicalNetwork': > > >> > > > >> > [u'd641f7e3-0996-4064-a6ce-54620c0524e2'], 'Cluster': > > >> > > > >> > [u'eb213a95-4b5b-4a7d-9b4d-be1754a3b932'], 'Pod': > > >> > > > >> > [u'659bc864-4d10-48c9-83ef-30ee40f1ce8d'], 'order': > > ['Cluster', > > >> > > 'Pod', > > >> > > > >> > 'Network', 'PhysicalNetwork', 'Zone']}* > > >> > > > >> > > > >> > > > >> > *=3D=3D=3DRemoving DataCenter Failed=3D=3D=3D* > > >> > > > >> > > > >> > > > >> > As a result in cloudstack were created zone, cluster, pod= , > > and > > >> a > > >> > > host > > >> > > > >> with > > >> > > > >> > state "Alert". > > >> > > > >> > > > >> > > > >> > Also I run > > >> > > > >> > *python tools/marvin/marvin/deployDataCenter.py -i > > >> > > > >> > tools/devcloud/devcloud.cfg* > > >> > > > >> > that gave same result. > > >> > > > >> > > > >> > > > >> > What am I doing wrong? > > >> > > > >> > > > >> > > > >> > > >> > > > >> > > >> > > > >> > > >> > > > >> -- > > >> > > > >> Daan > > >> > > > >> > > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > >> > > > > >> > > -- > > >> > > Daan > > >> > > > > >> > > > >> > > >> > > >> > > >> -- > > >> Daan > > >> > > > > > > > > > --001a1141f2787e11f80524a682b6--