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 AB0BD107EC for ; Tue, 17 Feb 2015 12:58:45 +0000 (UTC) Received: (qmail 83447 invoked by uid 500); 17 Feb 2015 12:58:28 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 83406 invoked by uid 500); 17 Feb 2015 12:58:28 -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 83389 invoked by uid 99); 17 Feb 2015 12:58:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2015 12:58:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of runseb@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2015 12:58:03 +0000 Received: by mail-wi0-f176.google.com with SMTP id h11so32775248wiw.3 for ; Tue, 17 Feb 2015 04:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=6CnQrnHhZ9lrqKMA/08o94FcdXaZC8rhJ0Ij2pyoXeg=; b=MbsxJWmDEIKKAgO43t3hVboMog/Lx7GAjMn6Z4c/QnrO15aG2WmB2sH6WYNrdfoTXa BkNaVB1tCewZ605levqxTDugjr2jJnbGjRFLZPPnQ2C2adGS2xIOF91vStu2tioZBmaA mG8O8yCrPx8H0M1L7E0v+PBCkY4UNWoAKybVO+dosqavscGiHnEju0w6CMWz5jhFZwI6 TFUZIPZipHbMBmphUv374awDpd24vbpYTPAe9ovuRI4R+S+Ox/EUb9cQGmTL0+QvtAOb nc5sVhnldNMAic21IbCUuktrhioE8iv6bOx4IjpLAg8SCQ/h5ArKWfi9Hqc/P2kQ810R /ibA== X-Received: by 10.180.72.98 with SMTP id c2mr57310495wiv.87.1424177882247; Tue, 17 Feb 2015 04:58:02 -0800 (PST) Received: from [10.0.0.6] (131.177.199.178.dynamic.wline.res.cust.swisscom.ch. [178.199.177.131]) by mx.google.com with ESMTPSA id df8sm20107504wib.2.2015.02.17.04.58.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Feb 2015 04:58:00 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: CoreOS/Docker - a new blog series From: sebgoa In-Reply-To: <14660139.82.1424176170764.JavaMail.andrei@tuchka> Date: Tue, 17 Feb 2015 13:58:00 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <88027AE7-978C-49B9-9735-2625ABCA0C96@gmail.com> References: <54E24544.1000304@gmail.com> <16074039.709.1424121826237.JavaMail.andrei@tuchka> <299852040.67543.1424124367557.JavaMail.zimbra@li.nux.ro> <1954099.754.1424125932720.JavaMail.andrei@tuchka> <22E12893-A4B3-4425-9EEA-3F253780CADC@gmail.com> <14660139.82.1424176170764.JavaMail.andrei@tuchka> To: users@cloudstack.apache.org X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 17, 2015, at 1:29 PM, Andrei Mikhailovsky = wrote: >>> etcd: >>> name: >>> discovery: https://discovery.etcd.io/ >>> addr: :4001 >>> peer-addr: :7001 >>>=20 >>> You need to change the values between <> to suite your environment. >>>=20 >>> I've read that there should be variable $private_ipv4 to >>> automatically inject your private IP, however, it doesn't seem to >>> work for some reason. Will need to investigate further >>>=20 >=20 >> try with $public_ipv4 >=20 >>> Andrei >>>=20 >=20 > Seb,=20 >=20 > I've tried to use the $public_ipv4 and it seems to have made the = sabstitube to the public ip. At least I can see the messages in journal:=20= >=20 > Feb 17 12:15:10 coreos-04022015-6 etcd[614]: [etcd] Feb 17 = 12:15:10.537 INFO | coreos-04022015-6 joined the cluster via peer = 10.0.1.45:7001=20 > Feb 17 12:15:10 coreos-04022015-6 etcd[614]: [etcd] Feb 17 = 12:15:10.539 INFO | etcd server [name coreos-04022015-6, listen on = :4001, advertised url http://178.248.xxx.xxx:4001]=20 > Feb 17 12:15:10 coreos-04022015-6 etcd[614]: [etcd] Feb 17 = 12:15:10.540 INFO | peer server [name coreos-04022015-6, listen on = :7001, advertised url http://178.248.xxx.xxx:7001]=20 >=20 > However, I would like to use the private ip range for that. The = substitution did not work when i've tried the $private_ipv4. Is it = working you you?=20 >=20 I haven't looked deep into it, my guess is there might be a problem with = the cloudstack metadata. Can you check if private_ipv4 exists and is what you expect it to be: curl your virtual router to get the metadata: = http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.= 4/api.html?highlight=3Dmetadata#user-data-and-meta-data I have a hunch it's not defined and thus coreOS does not work with it. I = could be wrong but could be a cloudstack bug. > Thanks=20 >=20 > Andrei=20