Re: Unable to shrink a data disk

2020-07-11 Thread Nicolas Vazquez
Hi Fariborz,

Unless the QCOW2 volume is on an RBD storage pool then shrinking is not 
supported, only growing resize.


Regards,

Nicolas Vazquez


From: Fariborz Navidan 
Sent: Thursday, July 9, 2020 6:47 AM
To: users@cloudstack.apache.org 
Subject: Unable to shrink a data disk

Hi,

I'm unable to shrink a data disk on KVM. MS log reports "Unable to shrink
volume of type QCOW2". I'm using CS 4.14.0.0. Doesn't QCOW2 format support
shrinking?

Regards.

nicolas.vazq...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 



Re: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0

2020-07-11 Thread Nicolas Vazquez
+1

Tested:
- Various list/create/update/delete commands
- Display json, table
- Filtering, autocomplete


Regards,

Nicolas Vazquez


From: Gabriel Beims Bräscher 
Sent: Saturday, July 11, 2020 11:16 PM
To: dev 
Cc: users ; priv...@cloudstack.apache.org 

Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0

Sorry for the late VOTE, Rohit.

+1 (binding)

Tests are looking good:
1. build
2. configure a zone profile (admin keys) & sync
4. list hosts and run a few commands
5. create/delete network
6. create/delete VMs
7. list VMs, networks, hosts, clusters, pods, accounts, etc
8. check autocomplete for commands and parameters

Em sáb., 11 de jul. de 2020 às 18:41, Sven Vogel 
escreveu:

> @Daan,
>
>
> I build it and tested it on my macbook catalina with beta state. for
> me thats okay.
>
>
>
> Thanks.
>
>
>
> Cheers,
>
> Sven Vogel
> Apache CloudStack PMC member
>
>
>
>
>
>

nicolas.vazq...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 

> On Saturday, 07/11/2020 at 21:17 Daan Hoogland wrote:
>
>
> Did you do any verification, Sven?
>
> On Sat, Jul 11, 2020 at 8:24 PM Sven Vogel  wrote:
>
> > your changes can always be relied upon :)
> >
> >
> >
> > +1 for me Rohit
> >
> >
> >
> >
> >
> > Cheers,
> >
> > Sven Vogel
> > Apache CloudStack PMC member
> >
> >
> >
> > On Friday, 07/10/2020 at 19:38 Daan Hoogland wrote:
> >
> >
> > sorry Rohit, I have not given this any attention at all. Hopefully
> > over the
> > weekend...
> >
> > On Fri, Jul 10, 2020 at 5:28 PM Rohit Yadav
> > wrote:
> >
> > > Bump - kindly participate.
> > >
> > > We require lazy concensus with at least three PMC +1s to go
> forward.
> > > Thanks.
> > >
> > > Regards,
> > > Rohit Yadav
> > >
> > > 
> > > From: Rohit Yadav
> > > Sent: Wednesday, July 1, 2020 10:21:19 AM
> > > To: d...@cloudstack.apache.org ;
> > > users@cloudstack.apache.org
> > > Subject: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0
> > >
> > > Hi All,
> > >
> > > I've created a 6.1.0 release of CloudMonkey, with the following
> > artifacts
> > > up for a vote:
> > >
> > > Git Branch:
> > >
> > >
> >
> >
>
> https://github.com/apache/cloudstack-cloudmonkey/commits/abc31929e74a9f5b07507db203e75393fffc9f3e
> > > Commit: abc31929e74a9f5b07507db203e75393fffc9f3e
> > >
> > > Commits since last release 6.0.0:
> > >
> > >
> >
> >
>
> https://github.com/apache/cloudstack-cloudmonkey/compare/6.0.0...abc31929e74a9f5b07507db203e75393fffc9f3e
> > >
> > > Source release (checksums and signatures are available at the same
> > > location):
> > >
> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-6.1.0
> > >
> > > To facilitate voting and testing, the builds are uploaded in this
> > > pre-release:
> > >
> https://github.com/apache/cloudstack-cloudmonkey/releases/tag/6.1.0
> > >
> > > List of changes:
> > >
> >
> https://github.com/apache/cloudstack-cloudmonkey/blob/master/CHANGES.md
> > >
> > > PGP release keys (signed using
> > 5ED1E1122DC5E8A4A45112C2484248210EE3D884):
> > > https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> > >
> > > For sanity in tallying the vote, can PMC members please be sure to
> > indicate
> > > "(binding)" with their vote?
> > > [ ] +1 approve
> > > [ ] +0 no opinion
> > > [ ] -1 disapprove (and reason why)
> > >
> > > Vote will be open for till the end of the next week (10 July
> 2020),
> > > otherwise, extend until we reach lazy consensus. Thanks.
> > >
> > > Regards.
> > >
> > > rohit.ya...@shapeblue.com
> > > www.shapeblue.com
> > > 3 London Bridge Street,  3rd floor, News Building, London  SE1
> > 9SGUK
> > > @shapeblue
> > >
> > >
> > >
> > >
> >
> > --
> > Daan
> >
>
>
> --
> Daan
>


Re: VM Settings

2020-07-11 Thread Nicolas Vazquez
Hi Victor,

To allow passing configurations to VMs you first need to set this setting to 
true: 'enable.additional.vm.configuration'.

You have added the value correctly on 
'allow.additional.vm.configuration.list.kvm' but you'll need to encode the XML 
section you want to add to your VM and set it as the 'extraconfig' parameter on 
deploy/update VM API.

Please check this blog post and video for more detailed information:

  *   
https://www.shapeblue.com/cloudstack-feature-first-look-enable-sending-of-arbitrary-configuration-data-to-vms/
  *   https://youtu.be/5QXQJ5asWvI

Regards,

Nicolas Vazquez


From: Victor Racy 
Sent: Thursday, July 9, 2020 12:28 PM
To: users@cloudstack.apache.org 
Subject: VM Settings

Hi,

I use cloudstack with KVM and I'm trying to add new information to the XML
file of one of my VM's, to be more precise I want to add a new disk to it
without using the Storage function.

What I tried so far was using the VM Settings and extraconfig to pass on a
URL with the configuration of my disk (which is actually a LUN) but I'm not
sure how that works and the Documentation did help me much. So as a simpler
question I want to know how I can add new stuff to a VM's XML file through
Cloudstack.

I added a value to
allow.additional.vm.configuration.list.kvm
and used this value ("disk" in this case) as my name when creating a new
Setting in the VM and then put "extraconfig=myURL" in the value for the VM
Setting. Is this right?
I'm not sure what I should put as value in this Global Setting and not sure
if it matters what I put as name in the VM Settings.

If you could explain to me how that works or if there's better
documentation or a video tutorial on VM Settings cause the official one did
not help me.

Thank you!!
--

Victor Racy

Analista de Infraestrutura

+55 (11) 3842-8636

victor.r...@aodigital.com.br 

www.aodigital.com.br

AVISO LEGAL
Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a quem é
dirigida, podendo conter informação confidencial e/ou legalmente
privilegiada. Se você não for destinatário desta mensagem, desde já fica
notificado de abster-se a divulgar, copiar, distribuir, examinar ou, de
qualquer forma, utilizar a informação contida nesta mensagem, por ser
ilegal.  Caso você tenha recebido esta mensagem por engano, pedimos que nos
retorne este E-Mail, promovendo, desde logo, a eliminação do seu conteúdo
em sua base de dados, registros ou sistema de controle.

DISCLAIMER
This message is exclusively destined to the person(s) to whom it is
addressed, and it may contain confidential and/or legally privileged
information. If this message is not addressed to you, you are notified from
now on to not disclose, copy, distribute, examine or, in any other way, use
the information contained in this message, considering that such action is
illegal. In case you received this message due to an error, we beg you to
return this e-mail, immediately promoting the elimination of its content
from your database, records or control system.

nicolas.vazq...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 



Re: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0

2020-07-11 Thread Gabriel Beims Bräscher
Sorry for the late VOTE, Rohit.

+1 (binding)

Tests are looking good:
1. build
2. configure a zone profile (admin keys) & sync
4. list hosts and run a few commands
5. create/delete network
6. create/delete VMs
7. list VMs, networks, hosts, clusters, pods, accounts, etc
8. check autocomplete for commands and parameters

Em sáb., 11 de jul. de 2020 às 18:41, Sven Vogel 
escreveu:

> @Daan,
>
>
> I build it and tested it on my macbook catalina with beta state. for
> me thats okay.
>
>
>
> Thanks.
>
>
>
> Cheers,
>
> Sven Vogel
> Apache CloudStack PMC member
>
>
>
>
>
>
> On Saturday, 07/11/2020 at 21:17 Daan Hoogland wrote:
>
>
> Did you do any verification, Sven?
>
> On Sat, Jul 11, 2020 at 8:24 PM Sven Vogel  wrote:
>
> > your changes can always be relied upon :)
> >
> >
> >
> > +1 for me Rohit
> >
> >
> >
> >
> >
> > Cheers,
> >
> > Sven Vogel
> > Apache CloudStack PMC member
> >
> >
> >
> > On Friday, 07/10/2020 at 19:38 Daan Hoogland wrote:
> >
> >
> > sorry Rohit, I have not given this any attention at all. Hopefully
> > over the
> > weekend...
> >
> > On Fri, Jul 10, 2020 at 5:28 PM Rohit Yadav
> > wrote:
> >
> > > Bump - kindly participate.
> > >
> > > We require lazy concensus with at least three PMC +1s to go
> forward.
> > > Thanks.
> > >
> > > Regards,
> > > Rohit Yadav
> > >
> > > 
> > > From: Rohit Yadav
> > > Sent: Wednesday, July 1, 2020 10:21:19 AM
> > > To: d...@cloudstack.apache.org ;
> > > users@cloudstack.apache.org
> > > Subject: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0
> > >
> > > Hi All,
> > >
> > > I've created a 6.1.0 release of CloudMonkey, with the following
> > artifacts
> > > up for a vote:
> > >
> > > Git Branch:
> > >
> > >
> >
> >
>
> https://github.com/apache/cloudstack-cloudmonkey/commits/abc31929e74a9f5b07507db203e75393fffc9f3e
> > > Commit: abc31929e74a9f5b07507db203e75393fffc9f3e
> > >
> > > Commits since last release 6.0.0:
> > >
> > >
> >
> >
>
> https://github.com/apache/cloudstack-cloudmonkey/compare/6.0.0...abc31929e74a9f5b07507db203e75393fffc9f3e
> > >
> > > Source release (checksums and signatures are available at the same
> > > location):
> > >
> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-6.1.0
> > >
> > > To facilitate voting and testing, the builds are uploaded in this
> > > pre-release:
> > >
> https://github.com/apache/cloudstack-cloudmonkey/releases/tag/6.1.0
> > >
> > > List of changes:
> > >
> >
> https://github.com/apache/cloudstack-cloudmonkey/blob/master/CHANGES.md
> > >
> > > PGP release keys (signed using
> > 5ED1E1122DC5E8A4A45112C2484248210EE3D884):
> > > https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> > >
> > > For sanity in tallying the vote, can PMC members please be sure to
> > indicate
> > > "(binding)" with their vote?
> > > [ ] +1 approve
> > > [ ] +0 no opinion
> > > [ ] -1 disapprove (and reason why)
> > >
> > > Vote will be open for till the end of the next week (10 July
> 2020),
> > > otherwise, extend until we reach lazy consensus. Thanks.
> > >
> > > Regards.
> > >
> > > rohit.ya...@shapeblue.com
> > > www.shapeblue.com
> > > 3 London Bridge Street,  3rd floor, News Building, London  SE1
> > 9SGUK
> > > @shapeblue
> > >
> > >
> > >
> > >
> >
> > --
> > Daan
> >
>
>
> --
> Daan
>


Re: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0

2020-07-11 Thread Sven Vogel
@Daan,


I build it and tested it on my macbook catalina with beta state. for
me thats okay.



Thanks.



Cheers,

Sven Vogel
Apache CloudStack PMC member






On Saturday, 07/11/2020 at 21:17 Daan Hoogland wrote:


Did you do any verification, Sven?

On Sat, Jul 11, 2020 at 8:24 PM Sven Vogel  wrote:

> your changes can always be relied upon :)
>
>
>
> +1 for me Rohit
>
>
>
>
>
> Cheers,
>
> Sven Vogel
> Apache CloudStack PMC member
>
>
>
> On Friday, 07/10/2020 at 19:38 Daan Hoogland wrote:
>
>
> sorry Rohit, I have not given this any attention at all. Hopefully
> over the
> weekend...
>
> On Fri, Jul 10, 2020 at 5:28 PM Rohit Yadav
> wrote:
>
> > Bump - kindly participate.
> >
> > We require lazy concensus with at least three PMC +1s to go
forward.
> > Thanks.
> >
> > Regards,
> > Rohit Yadav
> >
> > 
> > From: Rohit Yadav
> > Sent: Wednesday, July 1, 2020 10:21:19 AM
> > To: d...@cloudstack.apache.org ;
> > users@cloudstack.apache.org
> > Subject: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0
> >
> > Hi All,
> >
> > I've created a 6.1.0 release of CloudMonkey, with the following
> artifacts
> > up for a vote:
> >
> > Git Branch:
> >
> >
>
>
https://github.com/apache/cloudstack-cloudmonkey/commits/abc31929e74a9f5b07507db203e75393fffc9f3e
> > Commit: abc31929e74a9f5b07507db203e75393fffc9f3e
> >
> > Commits since last release 6.0.0:
> >
> >
>
>
https://github.com/apache/cloudstack-cloudmonkey/compare/6.0.0...abc31929e74a9f5b07507db203e75393fffc9f3e
> >
> > Source release (checksums and signatures are available at the same
> > location):
> >
https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-6.1.0
> >
> > To facilitate voting and testing, the builds are uploaded in this
> > pre-release:
> >
https://github.com/apache/cloudstack-cloudmonkey/releases/tag/6.1.0
> >
> > List of changes:
> >
>
https://github.com/apache/cloudstack-cloudmonkey/blob/master/CHANGES.md
> >
> > PGP release keys (signed using
> 5ED1E1122DC5E8A4A45112C2484248210EE3D884):
> > https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> >
> > For sanity in tallying the vote, can PMC members please be sure to
> indicate
> > "(binding)" with their vote?
> > [ ] +1 approve
> > [ ] +0 no opinion
> > [ ] -1 disapprove (and reason why)
> >
> > Vote will be open for till the end of the next week (10 July
2020),
> > otherwise, extend until we reach lazy consensus. Thanks.
> >
> > Regards.
> >
> > rohit.ya...@shapeblue.com
> > www.shapeblue.com
> > 3 London Bridge Street,  3rd floor, News Building, London  SE1
> 9SGUK
> > @shapeblue
> >
> >
> >
> >
>
> --
> Daan
>


-- 
Daan


Re: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0

2020-07-11 Thread Daan Hoogland
checked checksum,
did a test on darwin on
- local and remote profiles
- basic list users and filter.
looks good: +1 (binding)

On Sat, Jul 11, 2020 at 9:17 PM Daan Hoogland 
wrote:

> Did you do any verification, Sven?
>
> On Sat, Jul 11, 2020 at 8:24 PM Sven Vogel  wrote:
>
>> your changes can always be relied upon :)
>>
>>
>>
>> +1 for me Rohit
>>
>>
>>
>>
>>
>> Cheers,
>>
>> Sven Vogel
>> Apache CloudStack PMC member
>>
>>
>>
>> On Friday, 07/10/2020 at 19:38 Daan Hoogland wrote:
>>
>>
>> sorry Rohit, I have not given this any attention at all. Hopefully
>> over the
>> weekend...
>>
>> On Fri, Jul 10, 2020 at 5:28 PM Rohit Yadav
>> wrote:
>>
>> > Bump - kindly participate.
>> >
>> > We require lazy concensus with at least three PMC +1s to go forward.
>> > Thanks.
>> >
>> > Regards,
>> > Rohit Yadav
>> >
>> > 
>> > From: Rohit Yadav
>> > Sent: Wednesday, July 1, 2020 10:21:19 AM
>> > To: d...@cloudstack.apache.org ;
>> > users@cloudstack.apache.org
>> > Subject: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0
>> >
>> > Hi All,
>> >
>> > I've created a 6.1.0 release of CloudMonkey, with the following
>> artifacts
>> > up for a vote:
>> >
>> > Git Branch:
>> >
>> >
>>
>> https://github.com/apache/cloudstack-cloudmonkey/commits/abc31929e74a9f5b07507db203e75393fffc9f3e
>> > Commit: abc31929e74a9f5b07507db203e75393fffc9f3e
>> >
>> > Commits since last release 6.0.0:
>> >
>> >
>>
>> https://github.com/apache/cloudstack-cloudmonkey/compare/6.0.0...abc31929e74a9f5b07507db203e75393fffc9f3e
>> >
>> > Source release (checksums and signatures are available at the same
>> > location):
>> > https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-6.1.0
>> >
>> > To facilitate voting and testing, the builds are uploaded in this
>> > pre-release:
>> > https://github.com/apache/cloudstack-cloudmonkey/releases/tag/6.1.0
>> >
>> > List of changes:
>> >
>> https://github.com/apache/cloudstack-cloudmonkey/blob/master/CHANGES.md
>> >
>> > PGP release keys (signed using
>> 5ED1E1122DC5E8A4A45112C2484248210EE3D884):
>> > https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>> >
>> > For sanity in tallying the vote, can PMC members please be sure to
>> indicate
>> > "(binding)" with their vote?
>> > [ ] +1 approve
>> > [ ] +0 no opinion
>> > [ ] -1 disapprove (and reason why)
>> >
>> > Vote will be open for till the end of the next week (10 July 2020),
>> > otherwise, extend until we reach lazy consensus. Thanks.
>> >
>> > Regards.
>> >
>> > rohit.ya...@shapeblue.com
>> > www.shapeblue.com
>> > 3 London Bridge Street,  3rd floor, News Building, London  SE1
>> 9SGUK
>> > @shapeblue
>> >
>> >
>> >
>> >
>>
>> --
>> Daan
>>
>
>
> --
> Daan
>


-- 
Daan


Re: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0

2020-07-11 Thread Daan Hoogland
Did you do any verification, Sven?

On Sat, Jul 11, 2020 at 8:24 PM Sven Vogel  wrote:

> your changes can always be relied upon :)
>
>
>
> +1 for me Rohit
>
>
>
>
>
> Cheers,
>
> Sven Vogel
> Apache CloudStack PMC member
>
>
>
> On Friday, 07/10/2020 at 19:38 Daan Hoogland wrote:
>
>
> sorry Rohit, I have not given this any attention at all. Hopefully
> over the
> weekend...
>
> On Fri, Jul 10, 2020 at 5:28 PM Rohit Yadav
> wrote:
>
> > Bump - kindly participate.
> >
> > We require lazy concensus with at least three PMC +1s to go forward.
> > Thanks.
> >
> > Regards,
> > Rohit Yadav
> >
> > 
> > From: Rohit Yadav
> > Sent: Wednesday, July 1, 2020 10:21:19 AM
> > To: d...@cloudstack.apache.org ;
> > users@cloudstack.apache.org
> > Subject: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0
> >
> > Hi All,
> >
> > I've created a 6.1.0 release of CloudMonkey, with the following
> artifacts
> > up for a vote:
> >
> > Git Branch:
> >
> >
>
> https://github.com/apache/cloudstack-cloudmonkey/commits/abc31929e74a9f5b07507db203e75393fffc9f3e
> > Commit: abc31929e74a9f5b07507db203e75393fffc9f3e
> >
> > Commits since last release 6.0.0:
> >
> >
>
> https://github.com/apache/cloudstack-cloudmonkey/compare/6.0.0...abc31929e74a9f5b07507db203e75393fffc9f3e
> >
> > Source release (checksums and signatures are available at the same
> > location):
> > https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-6.1.0
> >
> > To facilitate voting and testing, the builds are uploaded in this
> > pre-release:
> > https://github.com/apache/cloudstack-cloudmonkey/releases/tag/6.1.0
> >
> > List of changes:
> >
> https://github.com/apache/cloudstack-cloudmonkey/blob/master/CHANGES.md
> >
> > PGP release keys (signed using
> 5ED1E1122DC5E8A4A45112C2484248210EE3D884):
> > https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> >
> > For sanity in tallying the vote, can PMC members please be sure to
> indicate
> > "(binding)" with their vote?
> > [ ] +1 approve
> > [ ] +0 no opinion
> > [ ] -1 disapprove (and reason why)
> >
> > Vote will be open for till the end of the next week (10 July 2020),
> > otherwise, extend until we reach lazy consensus. Thanks.
> >
> > Regards.
> >
> > rohit.ya...@shapeblue.com
> > www.shapeblue.com
> > 3 London Bridge Street,  3rd floor, News Building, London  SE1
> 9SGUK
> > @shapeblue
> >
> >
> >
> >
>
> --
> Daan
>


-- 
Daan


Re: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0

2020-07-11 Thread Sven Vogel
your changes can always be relied upon :) 



+1 for me Rohit





Cheers,

Sven Vogel
Apache CloudStack PMC member



On Friday, 07/10/2020 at 19:38 Daan Hoogland wrote:


sorry Rohit, I have not given this any attention at all. Hopefully
over the
weekend...

On Fri, Jul 10, 2020 at 5:28 PM Rohit Yadav 
wrote:

> Bump - kindly participate.
>
> We require lazy concensus with at least three PMC +1s to go forward.
> Thanks.
>
> Regards,
> Rohit Yadav
>
> 
> From: Rohit Yadav 
> Sent: Wednesday, July 1, 2020 10:21:19 AM
> To: d...@cloudstack.apache.org ;
> users@cloudstack.apache.org 
> Subject: [VOTE] Release Apache CloudStack CloudMonkey 6.1.0
>
> Hi All,
>
> I've created a 6.1.0 release of CloudMonkey, with the following
artifacts
> up for a vote:
>
> Git Branch:
>
>
https://github.com/apache/cloudstack-cloudmonkey/commits/abc31929e74a9f5b07507db203e75393fffc9f3e
> Commit: abc31929e74a9f5b07507db203e75393fffc9f3e
>
> Commits since last release 6.0.0:
>
>
https://github.com/apache/cloudstack-cloudmonkey/compare/6.0.0...abc31929e74a9f5b07507db203e75393fffc9f3e
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-6.1.0
>
> To facilitate voting and testing, the builds are uploaded in this
> pre-release:
> https://github.com/apache/cloudstack-cloudmonkey/releases/tag/6.1.0
>
> List of changes:
>
https://github.com/apache/cloudstack-cloudmonkey/blob/master/CHANGES.md
>
> PGP release keys (signed using
5ED1E1122DC5E8A4A45112C2484248210EE3D884):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> For sanity in tallying the vote, can PMC members please be sure to
indicate
> "(binding)" with their vote?
> [ ] +1 approve
> [ ] +0 no opinion
> [ ] -1 disapprove (and reason why)
>
> Vote will be open for till the end of the next week (10 July 2020),
> otherwise, extend until we reach lazy consensus. Thanks.
>
> Regards.
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1
9SGUK
> @shapeblue
>
>
>
>

-- 
Daan


RE: Initial SystemVM Creation Failing

2020-07-11 Thread cristian.c
I thought that you are using NFS. I had the same issue in 4.14 but I did the 
copy manually for the systemvm and this has fixed the problem for me, maybe it 
is a bug.

Regards,
Cristian

-Original Message-
From: Corey, Mike  
Sent: Friday, July 10, 2020 9:11 PM
To: users@cloudstack.apache.org
Subject: RE: Initial SystemVM Creation Failing

I appreciate the response, but I'm not sure where you are going.

My secondary and primary storage are mounts from a NetApp filer.  Both the 
CentOS (CloudStack Management) and the ESXi hosts can read/write to the 
secondary volume.  I don't understand why cloudstack is setting the ownership 
and permissions to nobody when it creates the systemvm folder.  That doesn't 
seem right.

Again, being new to CloudStack I'm not sure of the underlying mechanics of the 
systemvm builds.  

-Original Message-
From: cristian.c@istream.today 
Sent: Friday, July 10, 2020 12:30 PM
To: users@cloudstack.apache.org
Subject: RE: Initial SystemVM Creation Failing

Hello


   If you check your NFS configuration you will see that somewhere you have : 
/etc/idmapd.conf  "nobody"


Regards,
Cristian

-Original Message-
From: Corey, Mike 
Sent: Friday, July 10, 2020 7:01 PM
To: users@cloudstack.apache.org
Subject: RE: Initial SystemVM Creation Failing

The system VM folder is being created as owner & permissions nobody:nobody.  I 
have to believe that is NOT SUPPOSED to be the case.

Because the directory /var/cloudstack/mnt/VM/345050029058.4f87a734 is locked 
down, no other steps in the systemvm creation can continue.

I need help figuring out WHY the systemVM folder in the above directory is 
being created as nobody:nobody.  

I can't chown that directory once CloudStack creates it during the zone 
enablement.  I can't modify the permissions to that directory once CloudStack 
creates it during the zone enablement.  I can't copy files to that directory 
once CloudStack creates it during the zone enablement.

Please identify what is occurring during the creation of the systemvm directory 
that would cause the ownership to be set as nobody:nobody.

Mike

Message: Unable to copy systemvm ISO on secondary storage. src location: 
/usr/share/cloudstack-common/vms/systemvm.iso, dest location: 
/var/cloudstack/mnt/VM/345050029058.4f87a734/systemvm/systemvm-4.14.0.0.iso

[root@usphlmvcsmt01 VM]# pwd
/var/cloudstack/mnt/VM
[root@usphlmvcsmt01 VM]# ls -al
total 80864
drwxr-xr-x. 3 cloud  cloud55 Jul 10 11:46 .
drwxrwx---. 3 root   cloud16 Jul  9 14:40 ..
drwxr-xr-x. 5 nobody nobody 4096 Jul 10 11:31 345050029058.4f87a734
-rw-r--r--. 1 cloud  cloud  82800640 Jul 10 11:43 systemvm.iso


-Original Message-
From: Cristian Ciobanu 
Sent: Friday, July 10, 2020 5:26 AM
To: users@cloudstack.apache.org
Subject: Re: Initial SystemVM Creation Failing

Just try to execute the command manually, copy the system.iso from source to 
the destination. I had a similar issue but is was caused by the NFS permissions.

On Wed, 8 Jul 2020, 21:44 Corey, Mike,  wrote:

> Gone over the installation now twice (reverted to snapshot of CentOS
> VM) and still getting weird storage/permission type issues.
>
> The permissions and ownership of the systemvm folder looks correct.
> [root@ ~]# ls -al /mnt/secondary/
> total 16
> drwxr-xr-x.  4 root  root  4096 Jul  8 11:15 .
> drwxr-xr-x.  4 root  root38 Jul  8 11:15 ..
> drwxrwxrwx. 12 root  root  4096 Jul  8 11:05 .snapshot
> drwxrwxr-x.  2 cloud cloud 4096 Jul  8 10:58 systemvm
> drwxr-xr-x.  3 root  root  4096 Jul  8 11:15 template
>
> However, I'm still seeing the copy iso error and the VMs keep creating 
> and deleting with the log suggesting the vmx file of the VM doesn't 
> exist on the datastore (can create files/folder on datastore 
> identified in errror from vCenter).
>
> 2020-07-08 14:22:36,486 INFO  [c.c.h.v.m.DatastoreMO]
> (DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap,
> job-6/job-37, cmd: StartCommand) (logid:b828ac16) Folder v-6-VM does 
> not exist on datastore
> 2020-07-08 14:22:36,494 INFO  [c.c.h.v.m.DatastoreMO]
> (DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap,
> job-6/job-37, cmd: StartCommand) (logid:b828ac16) Search file 
> v-6-VM.vmx on [50cc970ffbe23b459cb5b8bcdb6dbff5]
> 2020-07-08 14:22:36,522 INFO  [c.c.h.v.m.DatastoreMO]
> (DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap,
> job-6/job-37, cmd: StartCommand) (logid:b828ac16) File 
> [50cc970ffbe23b459cb5b8bcdb6dbff5] v-6-VM.vmx does not exist on 
> datastore
> 2020-07-08 14:22:36,522 INFO  [c.c.h.v.m.DatastoreMO]
> (DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap,
> job-6/job-37, cmd: StartCommand) (logid:b828ac16) Searching file 
> v-6-VM.vmx in [50cc970ffbe23b459cb5b8bcdb6dbff5]
> 2020-07-08 14:22:36,641 INFO  [c.c.h.v.m.HypervisorHostHelper]
> (DirectAgent-51:ctx-7e6d5dc9