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 8421F17A83 for ; Tue, 3 Feb 2015 16:30:37 +0000 (UTC) Received: (qmail 25530 invoked by uid 500); 3 Feb 2015 16:29:38 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 25490 invoked by uid 500); 3 Feb 2015 16:29:38 -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 25479 invoked by uid 99); 3 Feb 2015 16:29:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 16:29:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andrei@arhont.com designates 178.248.108.132 as permitted sender) Received: from [178.248.108.132] (HELO mail.arhont.com) (178.248.108.132) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 16:29:13 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.arhont.com (Postfix) with ESMTP id 20720980036 for ; Tue, 3 Feb 2015 16:28:38 +0000 (GMT) Received: from mail.arhont.com ([127.0.0.1]) by localhost (mail1.arhont.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id YMDFMAuansHy for ; Tue, 3 Feb 2015 16:28:36 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by mail1.arhont.com (Postfix) with ESMTP id 372999800F5 for ; Tue, 3 Feb 2015 16:28:36 +0000 (GMT) X-Virus-Scanned: amavisd-new at arhont.com Received: from mail.arhont.com ([127.0.0.1]) by localhost (mail1.arhont.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KmHYkVvGzWeQ for ; Tue, 3 Feb 2015 16:28:35 +0000 (GMT) Received: from mail1.arhont.com (mail1.arhont.com [178.248.108.132]) by mail1.arhont.com (Postfix) with ESMTP id D78E7980036 for ; Tue, 3 Feb 2015 16:28:35 +0000 (GMT) Date: Tue, 3 Feb 2015 16:28:35 +0000 (GMT) From: Andrei Mikhailovsky To: users@cloudstack.apache.org Message-ID: <30380449.827.1422980916439.JavaMail.andrei@tuchka> In-Reply-To: References: <1079545166.45014.1422666488431.JavaMail.zimbra@li.nux.ro> <2029012799.45027.1422666972538.JavaMail.zimbra@li.nux.ro> <12431175.543.1422750468339.JavaMail.andrei@tuchka> <552C4EA7-0C01-43B3-A01F-CD88EA5D204D@gmail.com> Subject: Re: Docker Support? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_826_12675308.1422980916438" X-Mailer: Zimbra 8.0.7_GA_6021 (Zimbra Desktop/7.2.5_12038_Linux) Thread-Topic: Docker Support? Thread-Index: KAIoKaf+ze3MYYk64EcpzMefZt/R6g== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_826_12675308.1422980916438 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think there is an API call for that (cloudmonkey should also do that). th= e ACS GUI currently doesn't have that ability.=20 Andrei=20 ----- Original Message ----- > From: "Osay Osman Yuuni" > To: users@cloudstack.apache.org > Sent: Tuesday, 3 February, 2015 4:11:57 PM > Subject: Re: Docker Support? > Thanks Seb. Sorry forbabdb question but how do I specify the key > during > instance creation based on the template? > Osay > On Feb 3, 2015 6:05 PM, "Sebastien Goasguen" > wrote: > > > > On Feb 3, 2015, at 9:39 AM, Osay Osman Yuuni > > wrote: > > > > > Hi, > > > What do you mean "works totally out of the box?". Without > > > injecting ssh > > > keys how does it work or are you referring to running docker and > > > related > > > stuff straight out of the box? > > > > I am saying that you don't need to tweak the template. > > > > if you register ssh keys in cloudstack and deploy a VM based on > > that > > template specifying your ssh keys, you will be logged in =E2=80=A6.out = of > > the box=E2=80=A6 > > > > no need to install additional scripts in the templates, etc... > > > > > > > > Osay > > > > > > On 2 February 2015 at 15:31, Sebastien Goasguen > > > > > wrote: > > > > > >> > > >> On Jan 31, 2015, at 7:27 PM, Andrei Mikhailovsky > > >> > > >> wrote: > > >> > > >>> I guess there has been a lot of changes since i've last > > >>> checked. When I > > >> was testing it about half a year ago, the ssh keys did not work > > >> out of > > the > > >> box and had to be scipted into the image itself before uploading > > >> to acs. > > >>> > > >> > > >> it works totally out of the box. As Lucian mentioned if you > > >> start an > > >> instance specifying an SSH key, the instance will get it from > > >> the VR > > >> userdata=E2=80=A6. > > >> > > >> as easy as pie and exactly like on AWS or EC2 > > >> > > >> I pointed to the automated builds from coreOS directly and the > > >> scripts > > >> used to setup the keys automatically. > > >> > > >> > > >>> Andrei > > >>> From: "Nux!" > > >>> To: users@cloudstack.apache.org > > >>> Cc: runseb@gmail.com > > >>> Sent: Saturday, 31 January, 2015 1:16:12 AM > > >>> Subject: Re: Docker Support? > > >>> > > >>> Oh, forgot to add that userdata scripts have also worked upon > > >>> VM > > >> deployment out of the box, so if you'd like your CoreOS instance > > >> to do > > some > > >> action you can script it here. > > >>> > > >>> Not sure how exactly it would work better on Openstack as > > >>> Andrei > > >> intimated. Pretty much everything seemed to work to the best of > > >> my > > (limited > > >> Coreos) knowledge. > > >>> > > >>> Lucian > > >>> > > >>> -- > > >>> Sent from the Delta quadrant using Borg technology! > > >>> > > >>> Nux! > > >>> www.nux.ro > > >>> > > >>> ----- Original Message ----- > > >>>> From: "Nux!" > > >>>> To: users@cloudstack.apache.org > > >>>> Cc: runseb@gmail.com > > >>>> Sent: Saturday, 31 January, 2015 01:08:08 > > >>>> Subject: Re: Docker Support? > > >>> > > >>>> What I needed to do in order to get it working is convert the > > >>>> image to > > >> QCOW2 (I > > >>>> use KVM). > > >>>> > > >>>> After that I have registered the template with SSH key enabled > > >>>> (You > > >> can also > > >>>> enable this feature in the DB if you would like to avoid > > >> re-downloading the > > >>>> template). > > >>>> > > >>>> Once an instance was created with one of my ssh keys, I could > > >>>> login > > >> via ssh as > > >>>> core@IP with the said keypair. > > >>>> The template has also nicely expanded to fit my custom root > > >>>> disk size. > > >>>> > > >>>> For future convenience I've added a daily jenkins job to build > > >> Cloudstack > > >>>> CoreOS, they should be available shortly at: > > >>>> http://dl.openvm.eu/cloudstack/coreos/x86_64/ > > >>>> > > >>>> HTH > > >>>> Lucian > > >>>> > > >>>> -- > > >>>> Sent from the Delta quadrant using Borg technology! > > >>>> > > >>>> Nux! > > >>>> www.nux.ro > > >>>> > > >>>> ----- Original Message ----- > > >>>>> From: "Andrei Mikhailovsky" > > >>>>> To: users@cloudstack.apache.org > > >>>>> Cc: runseb@gmail.com > > >>>>> Sent: Friday, 30 January, 2015 14:39:32 > > >>>>> Subject: Re: Docker Support? > > >>>> > > >>>>> Osay, > > >>>>> > > >>>>> You need to check the documentation on how to install your > > >>>>> ssh keys > > >> into the > > >>>>> template. Once you've done this, you should be able to login > > >>>>> with ssh > > >> keys. > > >>>>> I've done this once about 6 months back and it worked > > >>>>> perfectly well. > > >>>>> > > >>>>> I think the coreos is works much better with openstack as it > > >> integrates well > > >>>>> with the environment and automatically get's the user keys > > >>>>> from > > >> openstack. So, > > >>>>> you don't have to mess about the recreating the template. I > > >>>>> think > > >> similar is > > >>>>> done for major cloud providers like amazon and rackspace, > > >>>>> etc. > > >>>>> > > >>>>> Andrei > > >>>>> ----- Original Message ----- > > >>>>> > > >>>>>> From: "Osay Osman Yuuni" > > >>>>>> To: users@cloudstack.apache.org, runseb@gmail.com > > >>>>>> Sent: Friday, 30 January, 2015 8:22:28 AM > > >>>>>> Subject: Re: Docker Support? > > >>>>> > > >>>>>> Hi Seb, > > >>>>> > > >>>>>> I've converted the .bin file into a .vhd file and > > >>>>>> successfully > > >>>>>> registered > > >>>>>> this in Cloudstack. However when I create an instance I'm > > >>>>>> unable to > > >>>>>> login. > > >>>>>> I've tried core but it asks for a password (which I don't > > >>>>>> have). Do > > >>>>>> you by > > >>>>>> any chance know how this template is used? > > >>>>> > > >>>>>> Cheers, > > >>>>> > > >>>>>> Osay > > >>>>> > > >>>>>> On 28 January 2015 at 09:50, sebgoa > > >>>>>> wrote: > > >>>>> > > >>>>>>> > > >>>>>>> On Jan 28, 2015, at 1:12 AM, Phillip Kent > > >>>>>>> > > >>>>>>> wrote: > > >>>>>>> > > >>>>>>>> Sorry for naive question... I did not catch if there is a > > >>>>>>>> simple > > >>>>>>>> way > > >>>>>>>> to convert from the .bin file offered by CoreOS to an OVA > > >>>>>>>> file > > >>>>>>>> that > > >>>>>>>> would upload to ESX hypervisor in CloudStack ? > > >>>>>>>> > > >>>>>>>> > > >>>>>>> > > >>>>>>> The .bin file is just a raw image (last time I checked). > > >>>>>>> You can > > >>>>>>> use > > >>>>>>> things like qemu-convert to get it in the format you want. > > >>>>>>> > > >>>>>>>> ---------- Forwarded message ---------- > > >>>>>>>> From: Osay Osman Yuuni > > >>>>>>>> To: users@cloudstack.apache.org > > >>>>>>>> Cc: > > >>>>>>>> Date: Tue, 27 Jan 2015 09:09:15 +0200 > > >>>>>>>> Subject: Re: Docker Support? > > >>>>>>>> Hi Nux!, > > >>>>>>>> > > >>>>>>>> I got it at last. > > >>>>>>>> > > >>>>>>>> Thx. > > >>>>>>>> > > >>>>>>>> On 26 January 2015 at 17:46, Nux! wrote: > > >>>>>>>> > > >>>>>>>>> Osay, > > >>>>>>>>> > > >>>>>>>>> You might want to get in touch with its creator, I do not > > >>>>>>>>> know > > >>>>>>>>> any > > >>>>>>> details. > > >>>>>>>>> https://github.com/svanharmelen > > >>>>>>>>> > > >>>>>>>>> HTH > > >>>>>>>>> > > >>>>>>>>> -- > > >>>>>>>>> Sent from the Delta quadrant using Borg technology! > > >>>>>>>>> > > >>>>>>>>> Nux! > > >>>>>>>>> www.nux.ro > > >>>>>>>>> > > >>>>>>>>> ----- Original Message ----- > > >>>>>>>>>> From: "Osay Osman Yuuni" > > >>>>>>>>>> To: users@cloudstack.apache.org > > >>>>>>>>>> Sent: Monday, 26 January, 2015 14:25:48 > > >>>>>>>>>> Subject: Re: Docker Support? > > >>>>>>>>> > > >>>>>>>>>> Hi Lucian, > > >>>>>>>>>> > > >>>>>>>>>> Thanks for the pointer. I seem to be blind to the > > >>>>>>>>>> updated > > >>>>>>>>>> README > > >>>>>>>>> referred > > >>>>>>>>>> to in the pull request. I don't see any entry for > > >>>>>>>>>> cloudstack. > > >>>>>>>>>> Still > > >>>>>>>>>> searching. Also I just found that there is an image for > > >>>>>>>>>> cloudstact at > > >>>>>>>>>> CoreOS ( > > >>>>>>>>>> > > >>>>>>>>> > > >>>>>>> > > >> > > http://stable.release.core-os.net/amd64-usr/current/coreos_production_c= loudstack_image.bin.bz2 > > >>>>>>>>> ). > > >>>>>>>>>> I'm now wondering how this gets into a template. > > >>>>>>>>>> > > >>>>>>>>>> Cheers > > >>>>>>>>>> > > >>>>>>>>>> Osay > > >>>>>>>>>> > > >>>>>>>>>> On 26 January 2015 at 15:22, Nux! wrote: > > >>>>>>>>>> > > >>>>>>>>>>> I've just stumbled upon this recently > > >>>>>>>>>>> https://github.com/docker/machine/pull/129 > > >>>>>>>>>>> > > >>>>>>>>>>> HTH > > >>>>>>>>>>> Lucian > > >>>>>>>>>>> > > >>>>>>>>>>> -- > > >>>>>>>>>>> Sent from the Delta quadrant using Borg technology! > > >>>>>>>>>>> > > >>>>>>>>>>> Nux! > > >>>>>>>>>>> www.nux.ro > > >>>>>>>>>>> > > >> > > >> > > > > ------=_Part_826_12675308.1422980916438--