Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 14B3D200C33 for ; Sat, 11 Mar 2017 21:56:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 13382160B7B; Sat, 11 Mar 2017 20:56:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0A0AF160B64 for ; Sat, 11 Mar 2017 21:56:33 +0100 (CET) Received: (qmail 37588 invoked by uid 500); 11 Mar 2017 20:56:33 -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 37576 invoked by uid 99); 11 Mar 2017 20:56:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2017 20:56:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 23690C00E1 for ; Sat, 11 Mar 2017 20:56:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.18 X-Spam-Level: * X-Spam-Status: No, score=1.18 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2Lc1Hadngq54 for ; Sat, 11 Mar 2017 20:56:29 +0000 (UTC) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 0C59D5F295 for ; Sat, 11 Mar 2017 20:56:29 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id j90so51921907lfk.2 for ; Sat, 11 Mar 2017 12:56:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=QK+oalpGmE/wiUY5b+Utf0cJgIxS+sp7a5EoIFS0qao=; b=B0cLDhwrdbqgxW2PRUx64AbRHxhbsSx4OxvEnR62Dx79v3gVYukf4vx6dZoLtL+XL+ I3QHwNQi3dPoRyvFxq2ep+ZfetBVok0R/ScFy1komSUoSUCnEhj1KqeBw1tBA6JuwYRq 3bKPDI47TTBBc3U4o1cGiY+zFtpyoDj+66r9wzriG659mIr4bVs1zH5u20SkVaF8ruDo 4CeGRHwhY2stUtYT04IdhdKzsSIce4km8J5n1X7hcrIF7gZqqW31yD9+emRaj5oNNJZx 0FBcB+Me4LoBUTIOoFMlVLqhdwWed938kz/I/QR8UOwAkFMMJ6497mUPfJaZNLfPD9mF j/zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=QK+oalpGmE/wiUY5b+Utf0cJgIxS+sp7a5EoIFS0qao=; b=IdDCqmVfLKp0KmeV0eKuZzkM4eBDb5CIdD9ldWk3nuOmybE2s1l70mxQaOAloyQzbX prn++k9ILm74Tch5VGSQjP7Of9rtlnX8vArHsjKZ1osffcoXullc80qlTz8YpZ3Lfn3o ztANFNpm2tX3SGqEoUwqLOzk53WqI78qVRW9OuODLsxkK3GQ6W1KO6DuCuuN+xm6FOZe bLbbQBgSXpYhgCU9gCriZN4OC1Cai6Uw/Zr1UUBuXrb/4rZI0RzrfgA9+pTmsrbgnKdS bI1xHMg3LTKzvbqgI3JKUlc7ygVhlRtPcRkO2snS60pxF13x/8sQ7Zd4iGahdsCAKK2R gPPA== X-Gm-Message-State: AMke39l8a8dbHMeqpAwMROAiaxjQkX/pPzmhazsWlxPvFgvDnLNIsBVqaXgbelgOsuUS4ErXpAlkNvmcKX2qnA== X-Received: by 10.46.33.136 with SMTP id h8mr7189434lji.57.1489265434572; Sat, 11 Mar 2017 12:50:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.165.17 with HTTP; Sat, 11 Mar 2017 12:50:13 -0800 (PST) In-Reply-To: References: From: Lucas Berri Cristofolini Date: Sat, 11 Mar 2017 17:50:13 -0300 Message-ID: Subject: Re: Problem Adding the Host To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a1142c2ea344100054a7aa1e3 archived-at: Sat, 11 Mar 2017 20:56:35 -0000 --001a1142c2ea344100054a7aa1e3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think the 'tutorial' Muhammad is referring to is this: https://help.ubuntu.com/community/KVM/Networking#Private_Virtual_Switch_.28= Guest-Only_Network.29 In which case, as far as the specific section Rafael linked, there isn't anything Ubuntu-specific and should work for any Linux distribution. On Sat, Mar 11, 2017 at 4:15 PM, Rafael Weing=C3=A4rtner < rafaelweingartner@gmail.com> wrote: > What tutorial? > > I only shared a figure to examplify the deploymennt I was using > > On Sat, Mar 11, 2017 at 2:13 PM, Muhammad Adeel Zahid < > 16030053@lums.edu.pk> > wrote: > > > I was going through the tutorial you shared. It is basically for Ubuntu= . > > Does it work for CentOS as well? Is there an equivalent guide for CentO= S? > > > > > > ________________________________ > > From: Muhammad Adeel Zahid <16030053@lums.edu.pk> > > Sent: Saturday, March 11, 2017 2:31:10 AM > > To: users@cloudstack.apache.org > > Subject: Re: Problem Adding the Host > > > > Yep, I was talking about that. Sorry for my ignorence [??] > > > > ________________________________ > > From: Rafael Weing=C3=A4rtner > > Sent: Saturday, March 11, 2017 2:18:34 AM > > To: users@cloudstack.apache.org > > Subject: Re: Problem Adding the Host > > > > Are you talking about this sentence "I have created an environment just > > like that using Virtualbox"? Virtualbox here, is the Virtualbox itself = a > > hosted hypervisor. > > > > Ah, now I got your deployment scenario. Here is a picture of the > scenario I > > described [2]. > > > > [1] https://www.virtualbox.org/ > > [2] > > https://docs.google.com/drawings/d/1_o6KtjAel3rH5hCJbuBdjU1u0M- > > dIXOr0MpJXuV40JQ/edit?usp=3Dsharing > > > > On Fri, Mar 10, 2017 at 3:56 PM, Muhammad Adeel Zahid < > > 16030053@lums.edu.pk> > > wrote: > > > > > I am not sure, I understand it in entirety but I can see the big > picture > > > nevertheless. A bit of terminology confuses me. When you say the > virtual > > > box, do you take the assumption that I am using some kind of VM like > > VMWare > > > or something for installing KVM and ACS? > > > > > > To clarify a bit, I have installed ACS and KVM natively on a single > > > machine and this single machine is acting both as management server a= nd > > > KVM. I am banking on ACS and KVM to do all the virtualization. Before > > this > > > there is no virtual machine. > > > > > > ________________________________ > > > From: Rafael Weing=C3=A4rtner > > > Sent: Saturday, March 11, 2017 1:48:47 AM > > > To: users@cloudstack.apache.org > > > Subject: Re: Problem Adding the Host > > > > > > Ok, I think you can take a look here: > > > https://help.ubuntu.com/community/KVM/Networking# > Private_Virtual_Switch_ > > . > > > 28Guest-Only_Network.29 > > > > > > What I meant is the following: create four networks of that type. The= se > > > networks will be between your KVM box and the VMs, which will run ACS= , > > NFS, > > > and hypervisors hosts (KVM?). Let=E2=80=99s call them Network1, Netwo= rk2, > > Network3, > > > Network4. > > > > > > You then attach each one of these VMs in each one of the networks, > every > > VM > > > will have 4 NICs. Then, you select a network to be the public one > (let=E2=80=99s > > > say network 4). Then, you can create a forwarding rule for your KVM > box, > > to > > > forward packets from the public network (network 4) to the world. You= r > > box > > > will then work as a router for the VMs public network. Do not forget, > > that > > > the NIC attached Network 4 has to be the Public NIC configured in ACS= . > > > > > > I have created an environment just like that using Virtualbox, I used= 4 > > > VMs, one for ACS, one for the NFS, and two for hosts (I used XenServe= r) > > > > > > Did you understand what I tried to explain? > > > > > > On Fri, Mar 10, 2017 at 3:37 PM, Muhammad Adeel Zahid < > > > 16030053@lums.edu.pk> > > > wrote: > > > > > > > I am using KVM > > > > > > > > ________________________________ > > > > From: Rafael Weing=C3=A4rtner > > > > Sent: Saturday, March 11, 2017 1:36:12 AM > > > > To: users@cloudstack.apache.org > > > > Subject: Re: Problem Adding the Host > > > > > > > > What technology are you using to create these VMs in the box you > have? > > > > Virtualbox? KVM? > > > > > > > > On Fri, Mar 10, 2017 at 3:34 PM, Muhammad Adeel Zahid < > > > > 16030053@lums.edu.pk> > > > > wrote: > > > > > > > > > Why are tyring to use external network system? > > > > > > > > > > > > > > > To gain the internet access for download/install all the require= d > > ACS > > > > > pacakges. > > > > > > > > > > > > > > > You can configure 4 virtual network devices........ > > > > > > > > > > I am not sure, I understand this part. I am very new to Linux > > > environment > > > > > and don't know how to do what you just said. Can you point me to > some > > > > > relevant readings/tutorials for the said configuration so I can > keep > > > > > bothering frequently [??] > > > > > > > > > > > > > > > Regards > > > > > > > > > > Adeel > > > > > > > > > > ________________________________ > > > > > From: Rafael Weing=C3=A4rtner > > > > > Sent: Saturday, March 11, 2017 12:51:38 AM > > > > > To: users@cloudstack.apache.org > > > > > Subject: Re: Problem Adding the Host > > > > > > > > > > Hmm, so why are trying to use the external network system? > > > > > > > > > > You can configure 4 virtual network devices between your host and > the > > > > > virtual machines you created to deploy ACS (attach ACS and hosts > VMs > > to > > > > > these networks). Then, you select one of these networks to be the > > > public > > > > > one. For the public network, you can create iptables (or other > > routing > > > > > mechanism) to forward packets coming from the public virtual > network > > to > > > > > your box public network. Then, you would be independent of the > > external > > > > > network. > > > > > > > > > > On Fri, Mar 10, 2017 at 2:23 PM, Muhammad Adeel Zahid < > > > > > 16030053@lums.edu.pk> > > > > > wrote: > > > > > > > > > > > Yes, in a single box > > > > > > > > > > > > ________________________________ > > > > > > From: Rafael Weing=C3=A4rtner > > > > > > Sent: Friday, March 10, 2017 11:54:03 PM > > > > > > To: users@cloudstack.apache.org > > > > > > Subject: Re: Problem Adding the Host > > > > > > > > > > > > Are you trying to setup everything in a single box? > > > > > > > > > > > > On Fri, Mar 10, 2017 at 1:44 PM, Muhammad Adeel Zahid < > > > > > > 16030053@lums.edu.pk> > > > > > > wrote: > > > > > > > > > > > > > I am just creating the environment for testing purposes and I > am > > > > > behind a > > > > > > > network on which I have no control. > > > > > > > > > > > > > > ________________________________ > > > > > > > From: Rafael Weing=C3=A4rtner > > > > > > > Sent: Friday, March 10, 2017 10:13:29 PM > > > > > > > To: users@cloudstack.apache.org > > > > > > > Subject: Re: Problem Adding the Host > > > > > > > > > > > > > > I got a little confused now. > > > > > > > Are you creating a POC? Just an environment for testing > purpose? > > > > > > > > > > > > > > On Fri, Mar 10, 2017 at 11:56 AM, Muhammad Adeel Zahid < > > > > > > > 16030053@lums.edu.pk > > > > > > > > wrote: > > > > > > > > > > > > > > > Yep, my SSVM is running and I can connect to it using ssh > from > > > the > > > > > > > > management server. The mount problem is solved by stopping > the > > > > > > Iptables > > > > > > > > service on the nfs server. After that, SSVM was able to mou= nt > > the > > > > > > storage > > > > > > > > successfully. > > > > > > > > > > > > > > > > Next problem I am having is that the SSVM fails when > > downloading > > > > the > > > > > > > > template. It cannot resolve the dns for download.cloud.com, > > > which > > > > is > > > > > > > > understandable to me because, as I posted the EDIT 1 in my = SO > > > > > question, > > > > > > > My > > > > > > > > CentOS machine (only one machine running both management > server > > > and > > > > > > kvm) > > > > > > > is > > > > > > > > connected to a windows network that assigns addresses using > > dhcp. > > > > > Even > > > > > > > > worse, the addresses are /23. > > > > > > > > > > > > > > > > > > > > > > > > To work around the problem, I do not change the network > > > > configuration > > > > > > > > (static IP of /24) until I install the required packages. > > Because > > > > if > > > > > I > > > > > > > do, > > > > > > > > I lose the internet connection that comes through /23 > network. > > So > > > > > when > > > > > > > all > > > > > > > > my packages are installed, I change the IP to static like > > > > 172.16.10.2 > > > > > > > (same > > > > > > > > as in the guide) which obviously disconnects me from > internet. > > > > After > > > > > > > that I > > > > > > > > run the database setup, management setup and agent setup as > > > > described > > > > > > in > > > > > > > > the guide. Everything is working fine but tmpelates fail to > > > > download > > > > > > due > > > > > > > to > > > > > > > > this network & IP problem. > > > > > > > > > > > > > > > > > > > > > > > > Any ideas, what are the options for me under given > constraints? > > > > > > > > > > > > > > > > > > > > > > > > Regards > > > > > > > > > > > > > > > > Adeel > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > From: Rafael Weing=C3=A4rtner > > > > > > > > Sent: Friday, March 10, 2017 6:05:15 PM > > > > > > > > To: users@cloudstack.apache.org > > > > > > > > Subject: Re: Problem Adding the Host > > > > > > > > > > > > > > > > Is your SSVM running? Does it have access to the world? Do > your > > > > hosts > > > > > > > have > > > > > > > > access to the primary/secondary storage? Have you tried to > > mount > > > > the > > > > > > > > storage mounts in your hosts manually to check if they are > > > working? > > > > > > > > > > > > > > > > On Fri, Mar 10, 2017 at 7:34 AM, Muhammad Adeel Zahid < > > > > > > > > 16030053@lums.edu.pk> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > I just installed the apache cloudstack on CentOS 6.8 > machine > > > with > > > > > KVM > > > > > > > > > hypervisor. I am using the version 4.9 of the cloudstack. > The > > > > > > > management > > > > > > > > > server is up and running and but I am unable to add the > > > instances > > > > > > from > > > > > > > > the > > > > > > > > > web UI interface. I have put down my problem in detail on > > this > > > SO > > > > > > > > question< > > > > > > > > > http://stackoverflow.com/questions/42704388/apache- > > > > > > > > > cloudstack-no-templates-showing-when-adding-instance>. Ca= n > > you > > > > > > please > > > > > > > > > guide me how do I solve this problem? > > > > > > > > > > > > > > > > > > > > > > > > > > > Regards > > > > > > > > > > > > > > > > > > Adeel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > -- > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > -- > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > -- > > Rafael Weing=C3=A4rtner > > > > > > -- > Rafael Weing=C3=A4rtner > --001a1142c2ea344100054a7aa1e3--