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 D3E8F11C4F for ; Fri, 21 Feb 2014 19:19:28 +0000 (UTC) Received: (qmail 77866 invoked by uid 500); 21 Feb 2014 19:19:26 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 77726 invoked by uid 500); 21 Feb 2014 19:19:25 -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 77615 invoked by uid 99); 21 Feb 2014 19:19:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Feb 2014 19:19:24 +0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mphilli7823@hotmail.com designates 65.55.111.107 as permitted sender) Received: from [65.55.111.107] (HELO blu0-omc2-s32.blu0.hotmail.com) (65.55.111.107) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Feb 2014 19:19:19 +0000 Received: from BLU176-W37 ([65.55.111.73]) by blu0-omc2-s32.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 21 Feb 2014 11:18:58 -0800 X-TMN: [MWddNpw8pPds2dvrnKQR1UVNcGLYer3o] X-Originating-Email: [mphilli7823@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_a3a41ed2-aac6-4bde-a459-cf1dac34d04e_" From: Michael Phillips To: "dev@cloudstack.apache.org" Subject: RE: VMware and NFS Date: Fri, 21 Feb 2014 13:18:58 -0600 Importance: Normal In-Reply-To: References: ,,,,,,,,, MIME-Version: 1.0 X-OriginalArrivalTime: 21 Feb 2014 19:18:58.0244 (UTC) FILETIME=[C509F840:01CF2F39] X-Virus-Checked: Checked by ClamAV on apache.org --_a3a41ed2-aac6-4bde-a459-cf1dac34d04e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Gotcha=2C thought about trying to upload my own template or iso to see how = that worked.. > Date: Fri=2C 21 Feb 2014 12:16:15 -0700 > Subject: Re: VMware and NFS > From: mike.tutkowski@solidfire.com > To: dev@cloudstack.apache.org >=20 > If you look in the vm_template table in the cloud DB=2C you should be abl= e to > find a URL for that template. >=20 >=20 > On Fri=2C Feb 21=2C 2014 at 12:12 PM=2C Michael Phillips > wrote: >=20 > > How would you go about manually downloading it? > > > > > Date: Fri=2C 21 Feb 2014 12:05:20 -0700 > > > Subject: Re: VMware and NFS > > > From: mike.tutkowski@solidfire.com > > > To: dev@cloudstack.apache.org > > > > > > Have you tried manually downloading it (outside of CloudStack) to see= if > > > that works? > > > > > > > > > On Fri=2C Feb 21=2C 2014 at 12:01 PM=2C Michael Phillips > > > wrote: > > > > > > > Any idea why the default centos5.3 template would be "stuck" > > downloading > > > > at 88%?? > > > > The secondary storage where it is getting downloaded to has 44GB of > > free > > > > space. > > > > > > > > > Date: Fri=2C 21 Feb 2014 11:34:18 -0700 > > > > > Subject: Re: VMware and NFS > > > > > From: mike.tutkowski@solidfire.com > > > > > To: dev@cloudstack.apache.org > > > > > > > > > > I believe I had trouble with that in my development environment > > about 10 > > > > or > > > > > so months ago. I think it turned out to be a permissions issue. > > Perhaps I > > > > > didn't have my username in the sudoers file or something. My > > thinking is > > > > > the management server is supposed to create /mnt/sec for you. > > > > > > > > > > I wonder which NFS share it maps /mnt/sec to if you have multiple= NFS > > > > > secondary storages? > > > > > > > > > > > > > > > On Fri=2C Feb 21=2C 2014 at 11:31 AM=2C Mike Tutkowski < > > > > > mike.tutkowski@solidfire.com> wrote: > > > > > > > > > > > Thanks for the clarification. > > > > > > > > > > > > I was pretty confident an ESX host creates an NFS datastore (wi= th a > > > > UUID > > > > > > for a name) that maps to the NFS share. This is similar to how = a > > > > XenServer > > > > > > host creates an NFS storage repository that maps to the NFS sha= re. > > > > > > > > > > > > > > > > > > On Fri=2C Feb 21=2C 2014 at 9:12 AM=2C Michael Phillips < > > > > mphilli7823@hotmail.com > > > > > > > wrote: > > > > > > > > > > > >> Actually I am pretty sure that is what it does....So I changed > > like > > > > 4-5 > > > > > >> things "my mistake"=2C then I noticed a datastore with a "GUID= " > > looking > > > > name > > > > > >> popped up on my hosts. This datastore was mapped to my NFS sha= re. > > > > Once that > > > > > >> showed up CS started creating the system VMs. So I am trying t= o > > back > > > > track > > > > > >> and see what setting made it kick in...Stay tuned... > > > > > >> > Date: Fri=2C 21 Feb 2014 08:40:13 -0700 > > > > > >> > Subject: Re: VMware and NFS > > > > > >> > From: mike.tutkowski@solidfire.com > > > > > >> > To: dev@cloudstack.apache.org > > > > > >> > > > > > > >> > So=2C just curious here=2C but why wouldn't the ESX(i) host = simply > > be > > > > able > > > > > >> to > > > > > >> > create an NFS datastore that points to the NFS share on the > > > > secondary > > > > > >> > storage location directly? > > > > > >> > > > > > > >> > > > > > > >> > On Thu=2C Feb 20=2C 2014 at 10:31 PM=2C Nitin Mehta < > > > > Nitin.Mehta@citrix.com > > > > > >> >wrote: > > > > > >> > > > > > > >> > > For XS that=B9s not required as its pushed into XS directl= y. > > > > > >> > > > > > > > >> > > I also think secondary storage is mounted for Vmware on MS= to > > > > copy the > > > > > >> > > system vm template to Primary storage. > > > > > >> > > > > > > > >> > > On 20/02/14 9:13 PM=2C "Mike Tutkowski" < > > > > mike.tutkowski@solidfire.com> > > > > > >> > > wrote: > > > > > >> > > > > > > > >> > > >So=2C just to be sure I have this correct=2C the manageme= nt > > server > > > > mounts > > > > > >> > > >secondary storage regardless of hypervisor type due to > > > > systemvm.iso. > > > > > >> Is > > > > > >> > > >that correct? > > > > > >> > > > > > > > > >> > > >Thanks > > > > > >> > > > > > > > > >> > > > > > > > > >> > > >On Thu=2C Feb 20=2C 2014 at 9:46 PM=2C Sateesh Chodapunee= di < > > > > > >> > > >sateesh.chodapuneedi@citrix.com> wrote: > > > > > >> > > > > > > > > >> > > >> > -----Original Message----- > > > > > >> > > >> > From: Mike Tutkowski [mailto: > > mike.tutkowski@solidfire.com] > > > > > >> > > >> > Sent: 21 February 2014 09:54 > > > > > >> > > >> > To: dev@cloudstack.apache.org > > > > > >> > > >> > Subject: Re: VMware and NFS > > > > > >> > > >> > > > > > > >> > > >> > Yes=2C the hypervisor does need to mount the NFS shar= e=2C > > but I > > > > seem > > > > > >> to > > > > > >> > > >> remember there being something unusual about VMware in > > that the > > > > > >> > > >> > management server needed to be able to mount the NFS > > share=2C > > > > as > > > > > >> well. > > > > > >> > > >> > > > > > >> > > >> Yeah=2C management server mount secondary storage. > > > > > >> > > >> Reason behind this is CS does patching of system vms by > > > > injecting > > > > > >> > > >> systemvm.iso into system vm. In this process=2C managem= ent > > server > > > > > >> mounts > > > > > >> > > >> secondary storage and copies systemvm.iso image into > > secondary > > > > > >> storage > > > > > >> > > >> inside "systemvm" folder. Later that would be mounted b= y > > > > system vm. > > > > > >> > > >>During > > > > > >> > > >> system vm startup there is a script "cloud-early-config= " > > which > > > > > >> installs > > > > > >> > > >>the > > > > > >> > > >> content of mounted iso inside the system vm. > > > > > >> > > >> > > > > > >> > > >> Hope that clarifies. > > > > > >> > > >> > > > > > >> > > >> Regards=2C > > > > > >> > > >> Sateesh > > > > > >> > > >> > > > > > >> > > >> > > > > > > >> > > >> > > > > > > >> > > >> > On Thu=2C Feb 20=2C 2014 at 8:59 PM=2C Michael Philli= ps > > > > > >> > > >> > wrote: > > > > > >> > > >> > > > > > > >> > > >> > > Interesting as I do see errors in the mgmt log in > > regards > > > > to > > > > > >> > > >> > > /mnt/sec...however if I am understanding the > > architecture > > > > > >> correctly > > > > > >> > > >> > > isn't it the hypervisor that needs access to the > > secondary > > > > > >> storage? > > > > > >> > > >> > > The mgmt server only needs to access secondary stor= age > > to > > > > be > > > > > >> able to > > > > > >> > > >> > > seed the templates right? > > > > > >> > > >> > > > > > > > >> > > >> > > > > > > > >> > > >> > > > > > > > >> > > >> > > > Date: Thu=2C 20 Feb 2014 19:43:32 -0700 > > > > > >> > > >> > > > Subject: Re: VMware and NFS > > > > > >> > > >> > > > From: mike.tutkowski@solidfire.com > > > > > >> > > >> > > > To: dev@cloudstack.apache.org > > > > > >> > > >> > > > > > > > > >> > > >> > > > I may be remembering this incorrectly=2C but for = VMware > > > > > >> doesn't the > > > > > >> > > >> > > > management server have to be able to mount the > > secondary > > > > > >> storage > > > > > >> > > >>NFS > > > > > >> > > >> > > share > > > > > >> > > >> > > > to /mnt/sec? > > > > > >> > > >> > > > > > > > > >> > > >> > > > > > > > > >> > > >> > > > On Thu=2C Feb 20=2C 2014 at 7:39 PM=2C Nitin Meht= a > > > > > >> > > >> > > > > > > > > >> > > >> > > wrote: > > > > > >> > > >> > > > > > > > > >> > > >> > > > > Couple of questions. > > > > > >> > > >> > > > > Did you seed the system vm template onto the se= c. > > > > storage > > > > > >> ? And > > > > > >> > > >> > > > > can you mount that template location in sec. > > storage on > > > > > >> your > > > > > >> > > >> > > > > management server > > > > > >> > > >> > > ? > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > On 20/02/14 6:32 PM=2C "Michael Phillips" > > > > > >> > > >> > > > > > >> > > >> > > wrote: > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > >Hey dev guys=2C I just recently got CS up and > > running > > > > with > > > > > >> > > >>vmware. > > > > > >> > > >> > > However > > > > > >> > > >> > > > > >I am running into an issue where it seems my e= sxi > > > > hosts > > > > > >> are not > > > > > >> > > >> > > mounting > > > > > >> > > >> > > > > >the secondary NFS storage. > > > > > >> > > >> > > > > >NFS is working as I can mount to it from other > > linux > > > > > >> boxes=2C > > > > > >> > > >>and I > > > > > >> > > >> > > > > >can mount a NFS datastore from the hypervisors= . > > In my > > > > log > > > > > >> I see > > > > > >> > > >> > > > > >the > > > > > >> > > >> > > following > > > > > >> > > >> > > > > >few errors: > > > > > >> > > >> > > > > >"Unable to create mount point for > > > > > >> > > >> > > > > >nfs://172.16.25.85/export/secondary > > > > > >> > > >> > > "=2C > > > > > >> > > >> > > > > >"Secondary storage mount point: /mnt/sec"=2C "= in > > > > directory > > > > > >> > > >> > > > > >"/mnt/sec/template/tmpl/1/8"): > > java.io.IOException: > > > > > >> error=3D2=2C No > > > > > >> > > >> > > > > >such > > > > > >> > > >> > > file > > > > > >> > > >> > > > > >or directory" > > > > > >> > > >> > > > > >Adding secondary storage seemed straight forwa= rd > > and I > > > > > >> even was > > > > > >> > > >> > > > > >able > > > > > >> > > >> > > to > > > > > >> > > >> > > > > >make it work using XEN as the hypervisor=2C so= the > > > > problem > > > > > >> > > >> > > > > >definitely > > > > > >> > > >> > > seems > > > > > >> > > >> > > > > >to be esxi... > > > > > >> > > >> > > > > >Any tricks to making esxi work with cloudstack= and > > > > NFS? > > > > > >> > > >> > > > > >Thanks in advance for any help! > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > >> > > >> > > > > > > > > >> > > >> > > > -- > > > > > >> > > >> > > > *Mike Tutkowski* > > > > > >> > > >> > > > *Senior CloudStack Developer=2C SolidFire Inc.* > > > > > >> > > >> > > > e: mike.tutkowski@solidfire.com > > > > > >> > > >> > > > o: 303.746.7302 > > > > > >> > > >> > > > Advancing the way the world uses the > > > > > >> > > >> > > > cloud< > > http://solidfire.com/solution/overview/?video=3Dplay > > > > > > > > > > >> > > >> > > > *(tm)* > > > > > >> > > >> > > > > > > > >> > > >> > > > > > > >> > > >> > > > > > > >> > > >> > > > > > > >> > > >> > > > > > > >> > > >> > -- > > > > > >> > > >> > *Mike Tutkowski* > > > > > >> > > >> > *Senior CloudStack Developer=2C SolidFire Inc.* > > > > > >> > > >> > e: mike.tutkowski@solidfire.com > > > > > >> > > >> > o: 303.746.7302 > > > > > >> > > >> > Advancing the way the world uses the > > > > > >> > > >> > cloud > > > > > > > >> > > >> > *(tm)* > > > > > >> > > >> > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > >-- > > > > > >> > > >*Mike Tutkowski* > > > > > >> > > >*Senior CloudStack Developer=2C SolidFire Inc.* > > > > > >> > > >e: mike.tutkowski@solidfire.com > > > > > >> > > >o: 303.746.7302 > > > > > >> > > >Advancing the way the world uses the > > > > > >> > > >cloud > > > > > >> > > >*(tm)* > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > >> > -- > > > > > >> > *Mike Tutkowski* > > > > > >> > *Senior CloudStack Developer=2C SolidFire Inc.* > > > > > >> > e: mike.tutkowski@solidfire.com > > > > > >> > o: 303.746.7302 > > > > > >> > Advancing the way the world uses the > > > > > >> > cloud > > > > > >> > *(tm)* > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > *Mike Tutkowski* > > > > > > *Senior CloudStack Developer=2C SolidFire Inc.* > > > > > > e: mike.tutkowski@solidfire.com > > > > > > o: 303.746.7302 > > > > > > Advancing the way the world uses the cloud< > > > > http://solidfire.com/solution/overview/?video=3Dplay> > > > > > > *(tm)* > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > *Mike Tutkowski* > > > > > *Senior CloudStack Developer=2C SolidFire Inc.* > > > > > e: mike.tutkowski@solidfire.com > > > > > o: 303.746.7302 > > > > > Advancing the way the world uses the > > > > > cloud > > > > > *(tm)* > > > > > > > > > > > > > > > > > > > > -- > > > *Mike Tutkowski* > > > *Senior CloudStack Developer=2C SolidFire Inc.* > > > e: mike.tutkowski@solidfire.com > > > o: 303.746.7302 > > > Advancing the way the world uses the > > > cloud > > > *(tm)* > > > > >=20 >=20 >=20 > --=20 > *Mike Tutkowski* > *Senior CloudStack Developer=2C SolidFire Inc.* > e: mike.tutkowski@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud > *(tm)* = --_a3a41ed2-aac6-4bde-a459-cf1dac34d04e_--