Re: L2+ConfigDrive
Hi Jfn, Yes, it's true that hosting the config drive on primary storage is currently only supported for the NFS storage pool type. To make it work for Ceph, the logic needs to be implemented on how the iso file is managed on a ceph based primary storage pool. Regards, Rohit Yadav Software Architect, ShapeBlue https://www.shapeblue.com From: Jean-Francois Nadeau Sent: Tuesday, February 12, 2019 6:14:59 PM To: users@cloudstack.apache.org Cc: pi...@piszki.pl Subject: Re: L2+ConfigDrive Paul, Is it true to say that parameter can only be enabled if you have NFS primary storage enabled in the zone ?Or is there any chance this works with managed storage ? best, Jfn rohit.ya...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue On Tue, Feb 12, 2019 at 4:29 AM Paul Angus wrote: > Great to hear that, thanks for letting us know! > > paul.an...@shapeblue.com > www.shapeblue.com<http://www.shapeblue.com> > Amadeus House, Floral Street, London WC2E 9DPUK > @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 12 February 2019 06:54 > To: users@cloudstack.apache.org > Subject: RE: L2+ConfigDrive > > Hi Angus, > > After changing the parameter vm.configdrive.primarypool.enabled to false > everything works fine for the RBD pool. > Thank you for your help :-) > > Regards, > Piotr > > > -Original Message- > From: Paul Angus > Sent: Monday, February 11, 2019 7:31 PM > To: users@cloudstack.apache.org; pi...@piszki.pl > Subject: RE: L2+ConfigDrive > > In the global settings it is possible to specify whether you wish the > config drive to be located on either primary or secondary storage. Perhaps > you could check that the iso is being served from secondary storage, that > was Ceph wouldn’t be involved. > If it still doesn't work, please could you create a github issue for the > problem. > > Kind regards > > > Paul Angus > > paul.an...@shapeblue.com > www.shapeblue.com<http://www.shapeblue.com> > Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 11 February 2019 09:03 > To: users@cloudstack.apache.org > Subject: RE: L2+ConfigDrive > > Hey Angus, > > My ACS is 4.11.2 with advanced network on KVM, config drive is enabled as > network provider. > I have done more tests, I have two ACS installations, one has Primary > Storage as Ceph RBD and the other as SharedMountPoint. > The error is for the RBD pool (see log), everything works fine for SMP. > > Piotr > > > -Original Message- > From: Paul Angus > Sent: Monday, February 11, 2019 9:25 AM > To: users@cloudstack.apache.org; pi...@piszki.pl > Subject: RE: L2+ConfigDrive > > Hi Piotr, > > Which version of CloudStack are you looking at? > And, have you checked that configdrive is enabled as a network provider? > > paul.an...@shapeblue.com > www.shapeblue.com<http://www.shapeblue.com> > Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 10 February 2019 16:04 > To: users@cloudstack.apache.org > Subject: L2+ConfigDrive > > Hello! > > I am interested in using Config Drive with the L2 network, unfortunately > there is no word in the documentation for this topic. > Has anyone used this and can guide me? > Service offering L2 + ConfigDrive does not work, it is clearly missing (?) > of the iso file. > I have an error: Unable to start VM instance. > > Regards, > Piotr > > >
RE: L2+ConfigDrive
Hi Jean-Francois, I suspect some extra work would need to be done in the managed storage plugin to create the iso on primary storage as storage 'locations' are only created on demand. paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Jean-Francois Nadeau Sent: 12 February 2019 12:45 To: users@cloudstack.apache.org Cc: pi...@piszki.pl Subject: Re: L2+ConfigDrive Paul, Is it true to say that parameter can only be enabled if you have NFS primary storage enabled in the zone ?Or is there any chance this works with managed storage ? best, Jfn On Tue, Feb 12, 2019 at 4:29 AM Paul Angus wrote: > Great to hear that, thanks for letting us know! > > paul.an...@shapeblue.com > www.shapeblue.com > Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 12 February 2019 06:54 > To: users@cloudstack.apache.org > Subject: RE: L2+ConfigDrive > > Hi Angus, > > After changing the parameter vm.configdrive.primarypool.enabled to false > everything works fine for the RBD pool. > Thank you for your help :-) > > Regards, > Piotr > > > -Original Message- > From: Paul Angus > Sent: Monday, February 11, 2019 7:31 PM > To: users@cloudstack.apache.org; pi...@piszki.pl > Subject: RE: L2+ConfigDrive > > In the global settings it is possible to specify whether you wish the > config drive to be located on either primary or secondary storage. Perhaps > you could check that the iso is being served from secondary storage, that > was Ceph wouldn’t be involved. > If it still doesn't work, please could you create a github issue for the > problem. > > Kind regards > > > Paul Angus > > paul.an...@shapeblue.com > www.shapeblue.com > Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 11 February 2019 09:03 > To: users@cloudstack.apache.org > Subject: RE: L2+ConfigDrive > > Hey Angus, > > My ACS is 4.11.2 with advanced network on KVM, config drive is enabled as > network provider. > I have done more tests, I have two ACS installations, one has Primary > Storage as Ceph RBD and the other as SharedMountPoint. > The error is for the RBD pool (see log), everything works fine for SMP. > > Piotr > > > -Original Message- > From: Paul Angus > Sent: Monday, February 11, 2019 9:25 AM > To: users@cloudstack.apache.org; pi...@piszki.pl > Subject: RE: L2+ConfigDrive > > Hi Piotr, > > Which version of CloudStack are you looking at? > And, have you checked that configdrive is enabled as a network provider? > > paul.an...@shapeblue.com > www.shapeblue.com > Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 10 February 2019 16:04 > To: users@cloudstack.apache.org > Subject: L2+ConfigDrive > > Hello! > > I am interested in using Config Drive with the L2 network, unfortunately > there is no word in the documentation for this topic. > Has anyone used this and can guide me? > Service offering L2 + ConfigDrive does not work, it is clearly missing (?) > of the iso file. > I have an error: Unable to start VM instance. > > Regards, > Piotr > > >
Re: L2+ConfigDrive
Paul, Is it true to say that parameter can only be enabled if you have NFS primary storage enabled in the zone ?Or is there any chance this works with managed storage ? best, Jfn On Tue, Feb 12, 2019 at 4:29 AM Paul Angus wrote: > Great to hear that, thanks for letting us know! > > paul.an...@shapeblue.com > www.shapeblue.com > Amadeus House, Floral Street, London WC2E 9DPUK > @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 12 February 2019 06:54 > To: users@cloudstack.apache.org > Subject: RE: L2+ConfigDrive > > Hi Angus, > > After changing the parameter vm.configdrive.primarypool.enabled to false > everything works fine for the RBD pool. > Thank you for your help :-) > > Regards, > Piotr > > > -Original Message- > From: Paul Angus > Sent: Monday, February 11, 2019 7:31 PM > To: users@cloudstack.apache.org; pi...@piszki.pl > Subject: RE: L2+ConfigDrive > > In the global settings it is possible to specify whether you wish the > config drive to be located on either primary or secondary storage. Perhaps > you could check that the iso is being served from secondary storage, that > was Ceph wouldn’t be involved. > If it still doesn't work, please could you create a github issue for the > problem. > > Kind regards > > > Paul Angus > > paul.an...@shapeblue.com > www.shapeblue.com > Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 11 February 2019 09:03 > To: users@cloudstack.apache.org > Subject: RE: L2+ConfigDrive > > Hey Angus, > > My ACS is 4.11.2 with advanced network on KVM, config drive is enabled as > network provider. > I have done more tests, I have two ACS installations, one has Primary > Storage as Ceph RBD and the other as SharedMountPoint. > The error is for the RBD pool (see log), everything works fine for SMP. > > Piotr > > > -Original Message- > From: Paul Angus > Sent: Monday, February 11, 2019 9:25 AM > To: users@cloudstack.apache.org; pi...@piszki.pl > Subject: RE: L2+ConfigDrive > > Hi Piotr, > > Which version of CloudStack are you looking at? > And, have you checked that configdrive is enabled as a network provider? > > paul.an...@shapeblue.com > www.shapeblue.com > Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue > > > > > -Original Message- > From: Piotr Pisz > Sent: 10 February 2019 16:04 > To: users@cloudstack.apache.org > Subject: L2+ConfigDrive > > Hello! > > I am interested in using Config Drive with the L2 network, unfortunately > there is no word in the documentation for this topic. > Has anyone used this and can guide me? > Service offering L2 + ConfigDrive does not work, it is clearly missing (?) > of the iso file. > I have an error: Unable to start VM instance. > > Regards, > Piotr > > >
RE: L2+ConfigDrive
Great to hear that, thanks for letting us know! paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 12 February 2019 06:54 To: users@cloudstack.apache.org Subject: RE: L2+ConfigDrive Hi Angus, After changing the parameter vm.configdrive.primarypool.enabled to false everything works fine for the RBD pool. Thank you for your help :-) Regards, Piotr -Original Message- From: Paul Angus Sent: Monday, February 11, 2019 7:31 PM To: users@cloudstack.apache.org; pi...@piszki.pl Subject: RE: L2+ConfigDrive In the global settings it is possible to specify whether you wish the config drive to be located on either primary or secondary storage. Perhaps you could check that the iso is being served from secondary storage, that was Ceph wouldn’t be involved. If it still doesn't work, please could you create a github issue for the problem. Kind regards Paul Angus paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 11 February 2019 09:03 To: users@cloudstack.apache.org Subject: RE: L2+ConfigDrive Hey Angus, My ACS is 4.11.2 with advanced network on KVM, config drive is enabled as network provider. I have done more tests, I have two ACS installations, one has Primary Storage as Ceph RBD and the other as SharedMountPoint. The error is for the RBD pool (see log), everything works fine for SMP. Piotr -Original Message- From: Paul Angus Sent: Monday, February 11, 2019 9:25 AM To: users@cloudstack.apache.org; pi...@piszki.pl Subject: RE: L2+ConfigDrive Hi Piotr, Which version of CloudStack are you looking at? And, have you checked that configdrive is enabled as a network provider? paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 10 February 2019 16:04 To: users@cloudstack.apache.org Subject: L2+ConfigDrive Hello! I am interested in using Config Drive with the L2 network, unfortunately there is no word in the documentation for this topic. Has anyone used this and can guide me? Service offering L2 + ConfigDrive does not work, it is clearly missing (?) of the iso file. I have an error: Unable to start VM instance. Regards, Piotr
RE: L2+ConfigDrive
Hi Angus, After changing the parameter vm.configdrive.primarypool.enabled to false everything works fine for the RBD pool. Thank you for your help :-) Regards, Piotr -Original Message- From: Paul Angus Sent: Monday, February 11, 2019 7:31 PM To: users@cloudstack.apache.org; pi...@piszki.pl Subject: RE: L2+ConfigDrive In the global settings it is possible to specify whether you wish the config drive to be located on either primary or secondary storage. Perhaps you could check that the iso is being served from secondary storage, that was Ceph wouldn’t be involved. If it still doesn't work, please could you create a github issue for the problem. Kind regards Paul Angus paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 11 February 2019 09:03 To: users@cloudstack.apache.org Subject: RE: L2+ConfigDrive Hey Angus, My ACS is 4.11.2 with advanced network on KVM, config drive is enabled as network provider. I have done more tests, I have two ACS installations, one has Primary Storage as Ceph RBD and the other as SharedMountPoint. The error is for the RBD pool (see log), everything works fine for SMP. Piotr -Original Message- From: Paul Angus Sent: Monday, February 11, 2019 9:25 AM To: users@cloudstack.apache.org; pi...@piszki.pl Subject: RE: L2+ConfigDrive Hi Piotr, Which version of CloudStack are you looking at? And, have you checked that configdrive is enabled as a network provider? paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 10 February 2019 16:04 To: users@cloudstack.apache.org Subject: L2+ConfigDrive Hello! I am interested in using Config Drive with the L2 network, unfortunately there is no word in the documentation for this topic. Has anyone used this and can guide me? Service offering L2 + ConfigDrive does not work, it is clearly missing (?) of the iso file. I have an error: Unable to start VM instance. Regards, Piotr
RE: L2+ConfigDrive
In the global settings it is possible to specify whether you wish the config drive to be located on either primary or secondary storage. Perhaps you could check that the iso is being served from secondary storage, that was Ceph wouldn’t be involved. If it still doesn't work, please could you create a github issue for the problem. Kind regards Paul Angus paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 11 February 2019 09:03 To: users@cloudstack.apache.org Subject: RE: L2+ConfigDrive Hey Angus, My ACS is 4.11.2 with advanced network on KVM, config drive is enabled as network provider. I have done more tests, I have two ACS installations, one has Primary Storage as Ceph RBD and the other as SharedMountPoint. The error is for the RBD pool (see log), everything works fine for SMP. Piotr -Original Message- From: Paul Angus Sent: Monday, February 11, 2019 9:25 AM To: users@cloudstack.apache.org; pi...@piszki.pl Subject: RE: L2+ConfigDrive Hi Piotr, Which version of CloudStack are you looking at? And, have you checked that configdrive is enabled as a network provider? paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 10 February 2019 16:04 To: users@cloudstack.apache.org Subject: L2+ConfigDrive Hello! I am interested in using Config Drive with the L2 network, unfortunately there is no word in the documentation for this topic. Has anyone used this and can guide me? Service offering L2 + ConfigDrive does not work, it is clearly missing (?) of the iso file. I have an error: Unable to start VM instance. Regards, Piotr
RE: L2+ConfigDrive
Hey Angus, My ACS is 4.11.2 with advanced network on KVM, config drive is enabled as network provider. I have done more tests, I have two ACS installations, one has Primary Storage as Ceph RBD and the other as SharedMountPoint. The error is for the RBD pool (see log), everything works fine for SMP. Piotr -Original Message- From: Paul Angus Sent: Monday, February 11, 2019 9:25 AM To: users@cloudstack.apache.org; pi...@piszki.pl Subject: RE: L2+ConfigDrive Hi Piotr, Which version of CloudStack are you looking at? And, have you checked that configdrive is enabled as a network provider? paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 10 February 2019 16:04 To: users@cloudstack.apache.org Subject: L2+ConfigDrive Hello! I am interested in using Config Drive with the L2 network, unfortunately there is no word in the documentation for this topic. Has anyone used this and can guide me? Service offering L2 + ConfigDrive does not work, it is clearly missing (?) of the iso file. I have an error: Unable to start VM instance. Regards, Piotr 2019-02-11 09:49:46,055 DEBUG [c.c.n.e.ConfigDriveNetworkElement] (Work-Job-Executor-2:ctx-58d87bcf job-677/job-683 ctx-bd7e2a24) (logid:8cbf7dac) Creating config drive ISO for vm: i-2-17-VM 2019-02-11 09:49:46,150 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-58d87bcf job-677/job-683 ctx-bd7e2a24) (logid:8cbf7dac) Seq 5-6917247552664371212: Sending { Cmd , MgmtId: 345049913471, via: 5(cstack-1), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.HandleConfigDriveIsoCommand":{"isoFile":"configdrive/i-2-17-VM.iso","create":true,"destStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"01cfa0c5-32a0-37c6-bc10-f1d9e5bcd1f5","id":17,"poolType":"RBD","host":"192.168.70.71","path":"cloudstack","port":6789,"url":"RBD://192.168.70.71/cloudstack/?ROLE=Primary=01cfa0c5-32a0-37c6-bc10-f1d9e5bcd1f5","isManaged":false}},"wait":0}}] } 2019-02-11 09:49:46,380 DEBUG [c.c.a.t.Request] (AgentManager-Handler-7:null) (logid:) Seq 5-6917247552664371212: Processing: { Ans: , MgmtId: 345049913471, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] } 2019-02-11 09:49:46,380 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-58d87bcf job-677/job-683 ctx-bd7e2a24) (logid:8cbf7dac) Seq 5-6917247552664371212: Received: { Ans: , MgmtId: 345049913471, via: 5(cstack-1), Ver: v1, Flags: 10, { Answer } } 2019-02-11 09:49:46,381 DEBUG [c.c.n.NetworkModelImpl] (Work-Job-Executor-2:ctx-58d87bcf job-677/job-683 ctx-bd7e2a24) (logid:8cbf7dac) Service SecurityGroup is not supported in the network id=208 2019-02-11 09:49:46,492 DEBUG [c.c.a.t.Request] (Work-Job-Executor-2:ctx-58d87bcf job-677/job-683 ctx-bd7e2a24) (logid:8cbf7dac) Seq 5-6917247552664371213: Sending { Cmd , MgmtId: 345049913471, via: 5(cstack-1), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StartCommand":{"vm":{"id":17,"name":"i-2-17-VM","type":"User","cpus":1,"minSpeed":2000,"maxSpeed":2000,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"CentOS 7","platformEmulator":"CentOS 7","bootArgs":"","enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"8zdqKN7xqjRLALvsixuCtQ","params":{"cpuNumber":"1","deployvm":"true","memory":"256","cpuSpeed":"2000","Message.ReservedCapacityFreed.Flag":"false","rootDiskController":"osdefault"},"uuid":"e0d3cc29-3de4-496e-b45f-ef0e20399d6c","disks":[{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"configdrive/i-2-17-VM.iso","uuid":"e0d3cc29-3de4-496e-b45f-ef0e20399d6c","id":0,"format":"ISO","accountId":0,"hvm":false,"imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"01cfa0c5-32a0-37c6-bc10-f1d9e5bcd1f5","id":17,"poolType":"RBD","host":"192.168.70.71","path":"cloudstack","port":6789,"url":"RBD://192.168.70.71/cloudstack/?ROLE=Primary=01cfa0c5-32a0-37c6-bc10-f1d9e5bcd1f5","isManaged":false}},"bootable":false,"directDownload"
RE: L2+ConfigDrive
Hi Piotr, Which version of CloudStack are you looking at? And, have you checked that configdrive is enabled as a network provider? paul.an...@shapeblue.com www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Piotr Pisz Sent: 10 February 2019 16:04 To: users@cloudstack.apache.org Subject: L2+ConfigDrive Hello! I am interested in using Config Drive with the L2 network, unfortunately there is no word in the documentation for this topic. Has anyone used this and can guide me? Service offering L2 + ConfigDrive does not work, it is clearly missing (?) of the iso file. I have an error: Unable to start VM instance. Regards, Piotr
L2+ConfigDrive
Hello! I am interested in using Config Drive with the L2 network, unfortunately there is no word in the documentation for this topic. Has anyone used this and can guide me? Service offering L2 + ConfigDrive does not work, it is clearly missing (?) of the iso file. I have an error: Unable to start VM instance. Regards, Piotr