Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Wido den Hollander



On 1/4/21 2:05 PM, Rohit Yadav wrote:
> On comparing git history, turns out the double escaping was added in this PR:
> https://github.com/apache/cloudstack/pull/4231
> 

The double-escape was only wrapped into an if-statement in that PR, it
was always there it seems.

So we might be facing a different situation here.

Wido

> @Wido Hollander<mailto:w...@pcextreme.nl> can you advise how this was tested 
> and can you advise mitigation of the double escape issue or send a PR?
> 
> 
> Regards.
> 
> 
> From: Rohit Yadav 
> Sent: Monday, January 4, 2021 18:20
> To: users ; d...@cloudstack.apache.org 
> ; Wido Hollander ; Wei Zhou 
> 
> Cc: li jerry ; Gabriel Beims Bräscher 
> ; Wei ZHOU ; Daan Hoogland 
> 
> Subject: Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> 
> All,
> 
> I've tested a toy Ubuntu 20.04.1 + Ceph 15.2.7 + ACS 4.15RC3 env, and I think 
> the issue is coming from libvirt or rados java. This was seen on an existing 
> Ceph cluster added prior to upgrade (upgrade to both ACS 4.15RC3 which 
> bundles a new rados-java v0.6.0 dependency) where VM deployment previously 
> used to work but now does not:
> 
> 2021-01-04 12:43:57,151 ERROR [kvm.storage.LibvirtStorageAdaptor] 
> (agentRequest-Handler-4:null) (logid:1594715e) Failed to convert from 
> /mnt/cbd31927-e6e2-3c53-92b2-2e16d74ce36c/a87a71f5--371c-867c-ca96abe58395.qcow2
>  to 
> rbd:meowceph/d9eb3660-23e5-4b37-85ec-b6ad4978bf22:mon_host=192.168.1.10\\:6789:auth_supported=cephx:id=meowceph:key=AQA6U5VfIY1lFRAAFTgZvKhyQrYHyTRrdnTsrg==:rbd_default_format=2:client_mount_timeout=30
>  the error was: qemu-img: 
> rbd:meowceph/d9eb3660-23e5-4b37-85ec-b6ad4978bf22:mon_host=192.168.1.10\\:6789:auth_supported=cephx:id=meowceph:key=AQA6U5VfIY1lFRAAFTgZvKhyQrYHyTRrdnTsrg==:rbd_default_format=2:client_mount_timeout=30:
>  error while converting raw: invalid conf option 6789:auth_supported: No such 
> file or directory
> 
> Env details:
> # ceph --version
> ceph version 15.2.7 (88e41c6c49beb18add4fdb6b4326ca466d931db8) octopus 
> (stable)
> # lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 20.04.1 LTS
> Release: 20.04
> Codename: focal
> # virsh version
> Compiled against library: libvirt 6.0.0
> Using library: libvirt 6.0.0
> Using API: QEMU 6.0.0
> Running hypervisor: QEMU 4.2.1
> 
> Since both Ubuntu 20.04 and Ceph 15.2.x are new, we need a regression test of 
> 4.15RC3 with an working/older env say 18.04 (with older and stable 
> qemu/libvirt) + Ceph 13.x/14.x. Can you help - @Wido 
> Hollander<mailto:w...@pcextreme.nl> @Gabriel Beims 
> Bräscher<mailto:gabr...@pcextreme.nl> @Wei 
> Zhou<mailto:w.z...@global.leaseweb.com> and other ceph users/experts? Thanks.
> 
> Regards.
> 
> ____________
> From: Andrija Panic 
> Sent: Monday, January 4, 2021 18:12
> To: users 
> Cc: dev ; li jerry ; Gabriel 
> Beims Bräscher ; Wei ZHOU ; Daan 
> Hoogland 
> Subject: Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> 
> Side question, has anyone (Wido, Garbiel) ever tested Ceph 15.x to work
> with any CloudStack version so far?
> 
> 
> 
> rohit.ya...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
> 
> 
> 
> 
> rohit.ya...@shapeblue.com 
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>   
>  
> 
> On Mon, 4 Jan 2021 at 13:13, Wido den Hollander  wrote:
> 
>>
>>
>> On 1/4/21 12:25 PM, li jerry wrote:
>>> Hi Rohit and Wido
>>>
>>>
>>> According to the document description, I re-tested adding RBD primary
>> storage
>>> monitor: 10.100.250.14:6789
>>>
>>> (createStoragePool api :
>>>   url: rbd://hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==@
>> 10.100.250.14:6789/rbd
>>> )
>>> The primary storage is added successfully.
>>>
>>> But, now there are new problems.
>>>
>>> Error when executing template copy from secondary to primary storage
>> (rbd)
>>> (This operation is creating system VM SSVM/CPVM)
>>>
>>> Here is the error message:
>>> 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:587f5b34) copyPhysicalDisk: disk
>> size:(356.96 MB) 374304768, virtualsize:(2.44 GB) 262144 format:qcow2
>>> 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:587f5b34) The 

Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Rohit Yadav
On comparing git history, turns out the double escaping was added in this PR:
https://github.com/apache/cloudstack/pull/4231

@Wido Hollander<mailto:w...@pcextreme.nl> can you advise how this was tested 
and can you advise mitigation of the double escape issue or send a PR?


Regards.


From: Rohit Yadav 
Sent: Monday, January 4, 2021 18:20
To: users ; d...@cloudstack.apache.org 
; Wido Hollander ; Wei Zhou 

Cc: li jerry ; Gabriel Beims Bräscher 
; Wei ZHOU ; Daan Hoogland 

Subject: Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

All,

I've tested a toy Ubuntu 20.04.1 + Ceph 15.2.7 + ACS 4.15RC3 env, and I think 
the issue is coming from libvirt or rados java. This was seen on an existing 
Ceph cluster added prior to upgrade (upgrade to both ACS 4.15RC3 which bundles 
a new rados-java v0.6.0 dependency) where VM deployment previously used to work 
but now does not:

2021-01-04 12:43:57,151 ERROR [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:1594715e) Failed to convert from 
/mnt/cbd31927-e6e2-3c53-92b2-2e16d74ce36c/a87a71f5--371c-867c-ca96abe58395.qcow2
 to 
rbd:meowceph/d9eb3660-23e5-4b37-85ec-b6ad4978bf22:mon_host=192.168.1.10\\:6789:auth_supported=cephx:id=meowceph:key=AQA6U5VfIY1lFRAAFTgZvKhyQrYHyTRrdnTsrg==:rbd_default_format=2:client_mount_timeout=30
 the error was: qemu-img: 
rbd:meowceph/d9eb3660-23e5-4b37-85ec-b6ad4978bf22:mon_host=192.168.1.10\\:6789:auth_supported=cephx:id=meowceph:key=AQA6U5VfIY1lFRAAFTgZvKhyQrYHyTRrdnTsrg==:rbd_default_format=2:client_mount_timeout=30:
 error while converting raw: invalid conf option 6789:auth_supported: No such 
file or directory

Env details:
# ceph --version
ceph version 15.2.7 (88e41c6c49beb18add4fdb6b4326ca466d931db8) octopus (stable)
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
# virsh version
Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.1

Since both Ubuntu 20.04 and Ceph 15.2.x are new, we need a regression test of 
4.15RC3 with an working/older env say 18.04 (with older and stable 
qemu/libvirt) + Ceph 13.x/14.x. Can you help - @Wido 
Hollander<mailto:w...@pcextreme.nl> @Gabriel Beims 
Bräscher<mailto:gabr...@pcextreme.nl> @Wei 
Zhou<mailto:w.z...@global.leaseweb.com> and other ceph users/experts? Thanks.

Regards.


From: Andrija Panic 
Sent: Monday, January 4, 2021 18:12
To: users 
Cc: dev ; li jerry ; Gabriel 
Beims Bräscher ; Wei ZHOU ; Daan 
Hoogland 
Subject: Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Side question, has anyone (Wido, Garbiel) ever tested Ceph 15.x to work
with any CloudStack version so far?



rohit.ya...@shapeblue.com
www.shapeblue.com<http://www.shapeblue.com>
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue




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

On Mon, 4 Jan 2021 at 13:13, Wido den Hollander  wrote:

>
>
> On 1/4/21 12:25 PM, li jerry wrote:
> > Hi Rohit and Wido
> >
> >
> > According to the document description, I re-tested adding RBD primary
> storage
> > monitor: 10.100.250.14:6789
> >
> > (createStoragePool api :
> >   url: rbd://hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==@
> 10.100.250.14:6789/rbd
> > )
> > The primary storage is added successfully.
> >
> > But, now there are new problems.
> >
> > Error when executing template copy from secondary to primary storage
> (rbd)
> > (This operation is creating system VM SSVM/CPVM)
> >
> > Here is the error message:
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) copyPhysicalDisk: disk
> size:(356.96 MB) 374304768, virtualsize:(2.44 GB) 262144 format:qcow2
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) The source image is not RBD,
> but the destination is. We will convert into RBD format 2
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) Starting copy from source
> image
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
> to RBD image rbd/40165b83-896c-4693-abe7-9fd96b40ce9a
> > 2021-01-04 11:20:26,302 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) Executing: qemu-img convert
> -O raw
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:

Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Rohit Yadav
All,

I've tested a toy Ubuntu 20.04.1 + Ceph 15.2.7 + ACS 4.15RC3 env, and I think 
the issue is coming from libvirt or rados java. This was seen on an existing 
Ceph cluster added prior to upgrade (upgrade to both ACS 4.15RC3 which bundles 
a new rados-java v0.6.0 dependency) where VM deployment previously used to work 
but now does not:

2021-01-04 12:43:57,151 ERROR [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:null) (logid:1594715e) Failed to convert from 
/mnt/cbd31927-e6e2-3c53-92b2-2e16d74ce36c/a87a71f5--371c-867c-ca96abe58395.qcow2
 to 
rbd:meowceph/d9eb3660-23e5-4b37-85ec-b6ad4978bf22:mon_host=192.168.1.10\\:6789:auth_supported=cephx:id=meowceph:key=AQA6U5VfIY1lFRAAFTgZvKhyQrYHyTRrdnTsrg==:rbd_default_format=2:client_mount_timeout=30
 the error was: qemu-img: 
rbd:meowceph/d9eb3660-23e5-4b37-85ec-b6ad4978bf22:mon_host=192.168.1.10\\:6789:auth_supported=cephx:id=meowceph:key=AQA6U5VfIY1lFRAAFTgZvKhyQrYHyTRrdnTsrg==:rbd_default_format=2:client_mount_timeout=30:
 error while converting raw: invalid conf option 6789:auth_supported: No such 
file or directory

Env details:
# ceph --version
ceph version 15.2.7 (88e41c6c49beb18add4fdb6b4326ca466d931db8) octopus (stable)
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
# virsh version
Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.1

Since both Ubuntu 20.04 and Ceph 15.2.x are new, we need a regression test of 
4.15RC3 with an working/older env say 18.04 (with older and stable 
qemu/libvirt) + Ceph 13.x/14.x. Can you help - @Wido 
Hollander<mailto:w...@pcextreme.nl> @Gabriel Beims 
Bräscher<mailto:gabr...@pcextreme.nl> @Wei 
Zhou<mailto:w.z...@global.leaseweb.com> and other ceph users/experts? Thanks.

Regards.


From: Andrija Panic 
Sent: Monday, January 4, 2021 18:12
To: users 
Cc: dev ; li jerry ; Gabriel 
Beims Bräscher ; Wei ZHOU ; Daan 
Hoogland 
Subject: Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Side question, has anyone (Wido, Garbiel) ever tested Ceph 15.x to work
with any CloudStack version so far?



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

On Mon, 4 Jan 2021 at 13:13, Wido den Hollander  wrote:

>
>
> On 1/4/21 12:25 PM, li jerry wrote:
> > Hi Rohit and Wido
> >
> >
> > According to the document description, I re-tested adding RBD primary
> storage
> > monitor: 10.100.250.14:6789
> >
> > (createStoragePool api :
> >   url: rbd://hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==@
> 10.100.250.14:6789/rbd
> > )
> > The primary storage is added successfully.
> >
> > But, now there are new problems.
> >
> > Error when executing template copy from secondary to primary storage
> (rbd)
> > (This operation is creating system VM SSVM/CPVM)
> >
> > Here is the error message:
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) copyPhysicalDisk: disk
> size:(356.96 MB) 374304768, virtualsize:(2.44 GB) 262144 format:qcow2
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) The source image is not RBD,
> but the destination is. We will convert into RBD format 2
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) Starting copy from source
> image
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
> to RBD image rbd/40165b83-896c-4693-abe7-9fd96b40ce9a
> > 2021-01-04 11:20:26,302 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) Executing: qemu-img convert
> -O raw
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
> > 2021-01-04 11:20:26,303 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) Executing while with timeout
> : 1080
> > 2021-01-04 11:20:26,383 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) Exit value is 1
> > 2021-01-04 11:20:26,383 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) qemu-img:
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
> error while converting raw: invalid conf opt

Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Wido den Hollander



On 1/4/21 1:42 PM, Andrija Panic wrote:
> Side question, has anyone (Wido, Garbiel) ever tested Ceph 15.x to work
> with any CloudStack version so far?
> 

Yes. Running it in production on Ubuntu 18.04 hypervisors and Ceph servers.

This is with CloudStack 4.13.1

Wido

> 
> On Mon, 4 Jan 2021 at 13:13, Wido den Hollander  wrote:
> 
>>
>>
>> On 1/4/21 12:25 PM, li jerry wrote:
>>> Hi Rohit and Wido
>>>
>>>
>>> According to the document description, I re-tested adding RBD primary
>> storage
>>> monitor: 10.100.250.14:6789
>>>
>>> (createStoragePool api :
>>>   url: rbd://hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==@
>> 10.100.250.14:6789/rbd
>>> )
>>> The primary storage is added successfully.
>>>
>>> But, now there are new problems.
>>>
>>> Error when executing template copy from secondary to primary storage
>> (rbd)
>>> (This operation is creating system VM SSVM/CPVM)
>>>
>>> Here is the error message:
>>> 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:587f5b34) copyPhysicalDisk: disk
>> size:(356.96 MB) 374304768, virtualsize:(2.44 GB) 262144 format:qcow2
>>> 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:587f5b34) The source image is not RBD,
>> but the destination is. We will convert into RBD format 2
>>> 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:587f5b34) Starting copy from source
>> image
>> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
>> to RBD image rbd/40165b83-896c-4693-abe7-9fd96b40ce9a
>>> 2021-01-04 11:20:26,302 DEBUG [utils.script.Script]
>> (agentRequest-Handler-2:null) (logid:587f5b34) Executing: qemu-img convert
>> -O raw
>> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
>> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
>>> 2021-01-04 11:20:26,303 DEBUG [utils.script.Script]
>> (agentRequest-Handler-2:null) (logid:587f5b34) Executing while with timeout
>> : 1080
>>> 2021-01-04 11:20:26,383 DEBUG [utils.script.Script]
>> (agentRequest-Handler-2:null) (logid:587f5b34) Exit value is 1
>>> 2021-01-04 11:20:26,383 DEBUG [utils.script.Script]
>> (agentRequest-Handler-2:null) (logid:587f5b34) qemu-img:
>> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
>> error while converting raw: invalid conf option 6789:auth_supported: No
>> such file or directory
>>
>> There seems to be a double-escape here. That might the culprit.
>>
>> 'mon_host=10.100.250.14\:6789:auth_supported=cephx:id=hyperx'
>>
>> It might be that it needs to be that string.
>>
>> Wido
>>
>>> 2021-01-04 11:20:26,384 ERROR [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:587f5b34) Failed to convert from
>> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
>> to
>> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
>> the error was: qemu-img:
>> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
>> error while converting raw: invalid conf option 6789:auth_supported: No
>> such file or directory
>>> 2021-01-04 11:20:26,384 INFO  [kvm.storage.LibvirtStorageAdaptor]
>> (agentRequest-Handler-2:null) (logid:587f5b34) Attempting to remove storage
>> pool 466f03d4-9dfe-3af4-a042-33a00dae0e97 from libvirt
>>> 2021-01-04 11:20:26,384 DEBUG [kvm.resource.LibvirtConnection]
>> (agentRequest-Handler-2:null) (logid:587f5b34) Looking for libvirtd
>> connection at: qemu:///system
>>>
>>>
>>> -邮件原件-
>>> 发件人: Rohit Yadav 
>>> 发送时间: 2021年1月4日 19:09
>>> 收件人: Wido den Hollander ; d...@cloudstack.apache.org;
>> users@cloudstack.apache.org; Gabriel Beims Bräscher ;
>> Wei ZHOU ; Daan Hoogland <
>> daan.hoogl...@shapeblue.com>
>

Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Andrija Panic
Side question, has anyone (Wido, Garbiel) ever tested Ceph 15.x to work
with any CloudStack version so far?


On Mon, 4 Jan 2021 at 13:13, Wido den Hollander  wrote:

>
>
> On 1/4/21 12:25 PM, li jerry wrote:
> > Hi Rohit and Wido
> >
> >
> > According to the document description, I re-tested adding RBD primary
> storage
> > monitor: 10.100.250.14:6789
> >
> > (createStoragePool api :
> >   url: rbd://hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==@
> 10.100.250.14:6789/rbd
> > )
> > The primary storage is added successfully.
> >
> > But, now there are new problems.
> >
> > Error when executing template copy from secondary to primary storage
> (rbd)
> > (This operation is creating system VM SSVM/CPVM)
> >
> > Here is the error message:
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) copyPhysicalDisk: disk
> size:(356.96 MB) 374304768, virtualsize:(2.44 GB) 262144 format:qcow2
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) The source image is not RBD,
> but the destination is. We will convert into RBD format 2
> > 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) Starting copy from source
> image
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
> to RBD image rbd/40165b83-896c-4693-abe7-9fd96b40ce9a
> > 2021-01-04 11:20:26,302 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) Executing: qemu-img convert
> -O raw
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
> > 2021-01-04 11:20:26,303 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) Executing while with timeout
> : 1080
> > 2021-01-04 11:20:26,383 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) Exit value is 1
> > 2021-01-04 11:20:26,383 DEBUG [utils.script.Script]
> (agentRequest-Handler-2:null) (logid:587f5b34) qemu-img:
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
> error while converting raw: invalid conf option 6789:auth_supported: No
> such file or directory
>
> There seems to be a double-escape here. That might the culprit.
>
> 'mon_host=10.100.250.14\:6789:auth_supported=cephx:id=hyperx'
>
> It might be that it needs to be that string.
>
> Wido
>
> > 2021-01-04 11:20:26,384 ERROR [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) Failed to convert from
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
> to
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
> the error was: qemu-img:
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
> error while converting raw: invalid conf option 6789:auth_supported: No
> such file or directory
> > 2021-01-04 11:20:26,384 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-2:null) (logid:587f5b34) Attempting to remove storage
> pool 466f03d4-9dfe-3af4-a042-33a00dae0e97 from libvirt
> > 2021-01-04 11:20:26,384 DEBUG [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-2:null) (logid:587f5b34) Looking for libvirtd
> connection at: qemu:///system
> >
> >
> > -邮件原件-
> > 发件人: Rohit Yadav 
> > 发送时间: 2021年1月4日 19:09
> > 收件人: Wido den Hollander ; d...@cloudstack.apache.org;
> users@cloudstack.apache.org; Gabriel Beims Bräscher ;
> Wei ZHOU ; Daan Hoogland <
> daan.hoogl...@shapeblue.com>
> > 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> >
> > Jerry, Wido, Daan - kindly review
> https://github.com/apache/cloudstack-documentation/pull/175/files
> >
> >
> > Regards.
> >
> > 
> > From: Rohit Yadav 
> > Sent: Monday, January 4, 2021 16:25
> > To: Wido den Hollander ; d...@cloudstack.apache.org <
> d...@cloudstack.apache.org>; users@cloudstack.apache.org <

Re: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Wido den Hollander



On 1/4/21 12:25 PM, li jerry wrote:
> Hi Rohit and Wido
> 
> 
> According to the document description, I re-tested adding RBD primary storage
> monitor: 10.100.250.14:6789
> 
> (createStoragePool api :
>   url: 
> rbd://hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==@10.100.250.14:6789/rbd
> )
> The primary storage is added successfully.
> 
> But, now there are new problems.
> 
> Error when executing template copy from secondary to primary storage (rbd)
> (This operation is creating system VM SSVM/CPVM)
> 
> Here is the error message:
> 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor] 
> (agentRequest-Handler-2:null) (logid:587f5b34) copyPhysicalDisk: disk 
> size:(356.96 MB) 374304768, virtualsize:(2.44 GB) 262144 format:qcow2
> 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor] 
> (agentRequest-Handler-2:null) (logid:587f5b34) The source image is not RBD, 
> but the destination is. We will convert into RBD format 2
> 2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor] 
> (agentRequest-Handler-2:null) (logid:587f5b34) Starting copy from source 
> image 
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
>  to RBD image rbd/40165b83-896c-4693-abe7-9fd96b40ce9a
> 2021-01-04 11:20:26,302 DEBUG [utils.script.Script] 
> (agentRequest-Handler-2:null) (logid:587f5b34) Executing: qemu-img convert -O 
> raw 
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
>  
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
> 2021-01-04 11:20:26,303 DEBUG [utils.script.Script] 
> (agentRequest-Handler-2:null) (logid:587f5b34) Executing while with timeout : 
> 1080
> 2021-01-04 11:20:26,383 DEBUG [utils.script.Script] 
> (agentRequest-Handler-2:null) (logid:587f5b34) Exit value is 1
> 2021-01-04 11:20:26,383 DEBUG [utils.script.Script] 
> (agentRequest-Handler-2:null) (logid:587f5b34) qemu-img: 
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
>  error while converting raw: invalid conf option 6789:auth_supported: No such 
> file or directory

There seems to be a double-escape here. That might the culprit.

'mon_host=10.100.250.14\:6789:auth_supported=cephx:id=hyperx'

It might be that it needs to be that string.

Wido

> 2021-01-04 11:20:26,384 ERROR [kvm.storage.LibvirtStorageAdaptor] 
> (agentRequest-Handler-2:null) (logid:587f5b34) Failed to convert from 
> /mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
>  to 
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
>  the error was: qemu-img: 
> rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
>  error while converting raw: invalid conf option 6789:auth_supported: No such 
> file or directory
> 2021-01-04 11:20:26,384 INFO  [kvm.storage.LibvirtStorageAdaptor] 
> (agentRequest-Handler-2:null) (logid:587f5b34) Attempting to remove storage 
> pool 466f03d4-9dfe-3af4-a042-33a00dae0e97 from libvirt
> 2021-01-04 11:20:26,384 DEBUG [kvm.resource.LibvirtConnection] 
> (agentRequest-Handler-2:null) (logid:587f5b34) Looking for libvirtd 
> connection at: qemu:///system
> 
> 
> -邮件原件-
> 发件人: Rohit Yadav 
> 发送时间: 2021年1月4日 19:09
> 收件人: Wido den Hollander ; d...@cloudstack.apache.org; 
> users@cloudstack.apache.org; Gabriel Beims Bräscher ; 
> Wei ZHOU ; Daan Hoogland 
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> 
> Jerry, Wido, Daan - kindly review 
> https://github.com/apache/cloudstack-documentation/pull/175/files
> 
> 
> Regards.
> 
> ________
> From: Rohit Yadav 
> Sent: Monday, January 4, 2021 16:25
> To: Wido den Hollander ; d...@cloudstack.apache.org 
> ; users@cloudstack.apache.org 
> ; Gabriel Beims Bräscher ; 
> Wei ZHOU ; Daan Hoogland 
> Subject: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> 
> Great thanks for replying Wido. @Daan 
> Hoogland<mailto:daan.hoogl...@shapeblue.com> I think we can continue with RC3 
> vote/tally, I'll send a doc PR.
> 
> 
> Regards.
> 
> ____________
> From: Wido den Hollander 
> Sent: Monday, January 4, 2021 14:35
> To: d...@cloudstack.

回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread li jerry
Hi Rohit and Wido


According to the document description, I re-tested adding RBD primary storage
monitor: 10.100.250.14:6789

(createStoragePool api :
  url: 
rbd://hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==@10.100.250.14:6789/rbd
)
The primary storage is added successfully.

But, now there are new problems.

Error when executing template copy from secondary to primary storage (rbd)
(This operation is creating system VM SSVM/CPVM)

Here is the error message:
2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:587f5b34) copyPhysicalDisk: disk 
size:(356.96 MB) 374304768, virtualsize:(2.44 GB) 262144 format:qcow2
2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:587f5b34) The source image is not RBD, but 
the destination is. We will convert into RBD format 2
2021-01-04 11:20:26,302 DEBUG [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:587f5b34) Starting copy from source image 
/mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
 to RBD image rbd/40165b83-896c-4693-abe7-9fd96b40ce9a
2021-01-04 11:20:26,302 DEBUG [utils.script.Script] 
(agentRequest-Handler-2:null) (logid:587f5b34) Executing: qemu-img convert -O 
raw 
/mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
 
rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
2021-01-04 11:20:26,303 DEBUG [utils.script.Script] 
(agentRequest-Handler-2:null) (logid:587f5b34) Executing while with timeout : 
1080
2021-01-04 11:20:26,383 DEBUG [utils.script.Script] 
(agentRequest-Handler-2:null) (logid:587f5b34) Exit value is 1
2021-01-04 11:20:26,383 DEBUG [utils.script.Script] 
(agentRequest-Handler-2:null) (logid:587f5b34) qemu-img: 
rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
 error while converting raw: invalid conf option 6789:auth_supported: No such 
file or directory
2021-01-04 11:20:26,384 ERROR [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:587f5b34) Failed to convert from 
/mnt/466f03d4-9dfe-3af4-a042-33a00dae0e97/40165b83-896c-4693-abe7-9fd96b40ce9a.qcow2
 to 
rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30
 the error was: qemu-img: 
rbd:rbd/40165b83-896c-4693-abe7-9fd96b40ce9a:mon_host=10.100.250.14\\:6789:auth_supported=cephx:id=hyperx:key=AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==:rbd_default_format=2:client_mount_timeout=30:
 error while converting raw: invalid conf option 6789:auth_supported: No such 
file or directory
2021-01-04 11:20:26,384 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-2:null) (logid:587f5b34) Attempting to remove storage 
pool 466f03d4-9dfe-3af4-a042-33a00dae0e97 from libvirt
2021-01-04 11:20:26,384 DEBUG [kvm.resource.LibvirtConnection] 
(agentRequest-Handler-2:null) (logid:587f5b34) Looking for libvirtd connection 
at: qemu:///system


-邮件原件-
发件人: Rohit Yadav 
发送时间: 2021年1月4日 19:09
收件人: Wido den Hollander ; d...@cloudstack.apache.org; 
users@cloudstack.apache.org; Gabriel Beims Bräscher ; Wei 
ZHOU ; Daan Hoogland 
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Jerry, Wido, Daan - kindly review 
https://github.com/apache/cloudstack-documentation/pull/175/files


Regards.


From: Rohit Yadav 
Sent: Monday, January 4, 2021 16:25
To: Wido den Hollander ; d...@cloudstack.apache.org 
; users@cloudstack.apache.org 
; Gabriel Beims Bräscher ; 
Wei ZHOU ; Daan Hoogland 
Subject: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Great thanks for replying Wido. @Daan 
Hoogland<mailto:daan.hoogl...@shapeblue.com> I think we can continue with RC3 
vote/tally, I'll send a doc PR.


Regards.


From: Wido den Hollander 
Sent: Monday, January 4, 2021 14:35
To: d...@cloudstack.apache.org ; Rohit Yadav 
; users@cloudstack.apache.org 
; Gabriel Beims Bräscher ; 
Wei ZHOU ; Daan Hoogland 
Subject: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]



On 1/4/21 9:50 AM, Rohit Yadav wrote:
> Thanks for replying Jerry - for now, the workaround you can use is to specify 
> the rados monitor port (such as 10.100.250.14:6789) in the UI form when you 
> add a ceph rbd pool. For example, via API the url parameter would look like: 
> "rbd://cephtest:AQC3u_JfhipzGBAACiILEFKembN8gTJsIvu6nQ==@192.168.1.10:6789/cephtest"
>
> @Daan Hoogland<mailto:daan.hoogl...@shapeblue.com> @Gabriel Beims 
> Bräscher<mailto:gabr...@pcextreme.nl> @Wido

[RESULT][VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Daan Hoogland
I forgot to rename the thread so for archive purposes, this.

On Mon, Jan 4, 2021 at 11:18 AM Daan Hoogland 
wrote:

> Hi all,
>
> After 72 hours (+the holidays), the vote for CloudStack 4.15.0.0 *passes* with
> 4 PMC + 1 non-PMC votes.
>
> +1 (PMC / binding)
> * Wei, Boris, Rohit, Gabriel
>
> +1 (non binding)
> * Abhishek
>
> 0
> none
>
> -1
> none
>
> Thanks to everyone participating.
>
> I will now prepare the release announcement to go out after 24 hours to give 
> the mirrors time to catch up.
>
>
> On Wed, Dec 23, 2020 at 5:43 PM Daan Hoogland 
> wrote:
>
>> LS,
>> After fixing another few blockers, we have an RC3, The changes (other
>> than bundling) are mostly interesting for those working with templates and
>> on vmware.
>>
>> We are voting for the new UI and the main code.
>>
>> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
>> separate but as agreed upon before this will be merged in coming releases,
>> at least from a version management point of view.
>> I've created a 4.15.0.0 release candidate, with the following artifacts
>> up for a vote:Git Branches:
>> main code:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
>> 
>> ui code:
>> 
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
>> and Commit SH:
>> main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
>> ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1
>>
>> Source release (checksums and signatures are available at the same
>> location):
>> https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
>> PGP release keys (signed using 7975062401944786):
>> https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be
>> open for (at least) 72 hours.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)
>>
>> I will work with community members to provide convenience packaging over
>> the next few days.
>> The documentation repo will be updated as we move along.
>>
>>
>>
>> --
>> Daan
>>
>
>
> --
> Daan
>


-- 
Daan


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Daan Hoogland
Hi all,

After 72 hours (+the holidays), the vote for CloudStack 4.15.0.0 *passes* with
4 PMC + 1 non-PMC votes.

+1 (PMC / binding)
* Wei, Boris, Rohit, Gabriel

+1 (non binding)
* Abhishek

0
none

-1
none

Thanks to everyone participating.

I will now prepare the release announcement to go out after 24 hours
to give the mirrors time to catch up.


On Wed, Dec 23, 2020 at 5:43 PM Daan Hoogland 
wrote:

> LS,
> After fixing another few blockers, we have an RC3, The changes (other than
> bundling) are mostly interesting for those working with templates and on
> vmware.
>
> We are voting for the new UI and the main code.
>
> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
> separate but as agreed upon before this will be merged in coming releases,
> at least from a version management point of view.
> I've created a 4.15.0.0 release candidate, with the following artifacts up
> for a vote:Git Branches:
> main code:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
> 
> ui code:
> 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
> and Commit SH:
> main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
> ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
> PGP release keys (signed using 7975062401944786):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be
> open for (at least) 72 hours.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)
>
> I will work with community members to provide convenience packaging over
> the next few days.
> The documentation repo will be updated as we move along.
>
>
>
> --
> Daan
>


-- 
Daan


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Rohit Yadav
Jerry, Wido, Daan - kindly review 
https://github.com/apache/cloudstack-documentation/pull/175/files


Regards.


From: Rohit Yadav 
Sent: Monday, January 4, 2021 16:25
To: Wido den Hollander ; d...@cloudstack.apache.org 
; users@cloudstack.apache.org 
; Gabriel Beims Bräscher ; 
Wei ZHOU ; Daan Hoogland 
Subject: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Great thanks for replying Wido. @Daan 
Hoogland<mailto:daan.hoogl...@shapeblue.com> I think we can continue with RC3 
vote/tally, I'll send a doc PR.


Regards.


From: Wido den Hollander 
Sent: Monday, January 4, 2021 14:35
To: d...@cloudstack.apache.org ; Rohit Yadav 
; users@cloudstack.apache.org 
; Gabriel Beims Bräscher ; 
Wei ZHOU ; Daan Hoogland 
Subject: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]



On 1/4/21 9:50 AM, Rohit Yadav wrote:
> Thanks for replying Jerry - for now, the workaround you can use is to specify 
> the rados monitor port (such as 10.100.250.14:6789) in the UI form when you 
> add a ceph rbd pool. For example, via API the url parameter would look like: 
> "rbd://cephtest:AQC3u_JfhipzGBAACiILEFKembN8gTJsIvu6nQ==@192.168.1.10:6789/cephtest"
>
> @Daan Hoogland<mailto:daan.hoogl...@shapeblue.com> @Gabriel Beims 
> Bräscher<mailto:gabr...@pcextreme.nl> @Wido 
> Hollander<mailto:w...@pcextreme.nl> @Wei ZHOU<mailto:ustcweiz...@gmail.com> - 
> the issue seems to be rbd pool fails to be added if a port is not specified - 
> what do you think, should we treat this as blocker or document it (i.e. ask 
> admins to specify rados monitor port)?

I would not say this is a blocker for now. Ceph is moving away from port
6789 as the default and libvirt is already handling this.

This needs to be fixed though and I see that a ticket is open for this.
I'll look into this with Gabriel.

Keep in mind that port numer 6789 is not the default for Ceph! Messenger
v2 uses port 3300 and therefor it's best not to specify any port and
have the Ceph client sort this out.

In addition I would always suggest to use a hostname with Ceph and not a
static IP of a monitor. Round Robin DNS pointing to the monitors is the
most reliable solution.

Wido

>
>
> Regards.
>
> 
> From: li jerry 
> Sent: Monday, January 4, 2021 13:10
> To: d...@cloudstack.apache.org ; 
> users@cloudstack.apache.org 
> Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Hi Rohit
>
> Yes, I didn't specify a port when I added primary storage;
>
> After r failed, I checked with virsh and found that the pool had been created 
> successfully, and the capacity, allocation and available of RBD could be 
> displayed.
> So I'm sure it's not the wrong key.
>
>
> Please note that:
> In the output pool dump, I see that there is no port target under host
> But the code gets port and converts it to int
>
> String port = Integer.parseInt(getAttrValue("host", "port", source));
>
>
>
> virsh pool-dumpxml d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> 
> d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> 12122373201920
> 912457728
> 11998204379136
> 
> 
> rbd
> 
> 
> 
> 
> 
>
> -Jerry
>
> 发件人: Rohit Yadav<mailto:rohit.ya...@shapeblue.com>
> 发送时间: 2021年1月4日 15:32
> 收件人: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>; 
> d...@cloudstack.apache.org<mailto:d...@cloudstack.apache.org>
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Hi Jerry,
>
> Can you see my reply? I'm able to add a RBD primary storage if I specify the 
> port, should we still consider it a blocker then?
>
>
> Regards.
>
> 
> From: li jerry 
> Sent: Monday, January 4, 2021 12:52
> To: users@cloudstack.apache.org 
> Cc: dev 
> Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> I'm creating PR to fix this.
>
> I think we should block, because it will cause the RBD primary storage to be 
> unable to be added.
>
> -邮件原件-
> 发件人: Daan Hoogland 
> 发送时间: 2021年1月4日 14:57
> 收件人: users 
> 抄送: dev 
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> looks good Jerry,
> Are you making a PR? It seems to me that this would not be a blocker and 
> should go in future releases. Please argue against me if you disagree.
>
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Rohit Yadav
Great thanks for replying Wido. @Daan 
Hoogland<mailto:daan.hoogl...@shapeblue.com> I think we can continue with RC3 
vote/tally, I'll send a doc PR.


Regards.


From: Wido den Hollander 
Sent: Monday, January 4, 2021 14:35
To: d...@cloudstack.apache.org ; Rohit Yadav 
; users@cloudstack.apache.org 
; Gabriel Beims Bräscher ; 
Wei ZHOU ; Daan Hoogland 
Subject: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]



On 1/4/21 9:50 AM, Rohit Yadav wrote:
> Thanks for replying Jerry - for now, the workaround you can use is to specify 
> the rados monitor port (such as 10.100.250.14:6789) in the UI form when you 
> add a ceph rbd pool. For example, via API the url parameter would look like: 
> "rbd://cephtest:AQC3u_JfhipzGBAACiILEFKembN8gTJsIvu6nQ==@192.168.1.10:6789/cephtest"
>
> @Daan Hoogland<mailto:daan.hoogl...@shapeblue.com> @Gabriel Beims 
> Bräscher<mailto:gabr...@pcextreme.nl> @Wido 
> Hollander<mailto:w...@pcextreme.nl> @Wei ZHOU<mailto:ustcweiz...@gmail.com> - 
> the issue seems to be rbd pool fails to be added if a port is not specified - 
> what do you think, should we treat this as blocker or document it (i.e. ask 
> admins to specify rados monitor port)?

I would not say this is a blocker for now. Ceph is moving away from port
6789 as the default and libvirt is already handling this.

This needs to be fixed though and I see that a ticket is open for this.
I'll look into this with Gabriel.

Keep in mind that port numer 6789 is not the default for Ceph! Messenger
v2 uses port 3300 and therefor it's best not to specify any port and
have the Ceph client sort this out.

In addition I would always suggest to use a hostname with Ceph and not a
static IP of a monitor. Round Robin DNS pointing to the monitors is the
most reliable solution.

Wido

>
>
> Regards.
>
> 
> From: li jerry 
> Sent: Monday, January 4, 2021 13:10
> To: d...@cloudstack.apache.org ; 
> users@cloudstack.apache.org 
> Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Hi Rohit
>
> Yes, I didn't specify a port when I added primary storage;
>
> After r failed, I checked with virsh and found that the pool had been created 
> successfully, and the capacity, allocation and available of RBD could be 
> displayed.
> So I'm sure it's not the wrong key.
>
>
> Please note that:
> In the output pool dump, I see that there is no port target under host
> But the code gets port and converts it to int
>
> String port = Integer.parseInt(getAttrValue("host", "port", source));
>
>
>
> virsh pool-dumpxml d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> 
> d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> 12122373201920
> 912457728
> 11998204379136
> 
> 
> rbd
> 
> 
> 
> 
> 
>
> -Jerry
>
> 发件人: Rohit Yadav<mailto:rohit.ya...@shapeblue.com>
> 发送时间: 2021年1月4日 15:32
> 收件人: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>; 
> d...@cloudstack.apache.org<mailto:d...@cloudstack.apache.org>
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Hi Jerry,
>
> Can you see my reply? I'm able to add a RBD primary storage if I specify the 
> port, should we still consider it a blocker then?
>
>
> Regards.
>
> 
> From: li jerry 
> Sent: Monday, January 4, 2021 12:52
> To: users@cloudstack.apache.org 
> Cc: dev 
> Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> I'm creating PR to fix this.
>
> I think we should block, because it will cause the RBD primary storage to be 
> unable to be added.
>
> -邮件原件-
> 发件人: Daan Hoogland 
> 发送时间: 2021年1月4日 14:57
> 收件人: users 
> 抄送: dev 
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> looks good Jerry,
> Are you making a PR? It seems to me that this would not be a blocker and 
> should go in future releases. Please argue against me if you disagree.
>
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>

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

> On Mon, Jan 4, 2021 at 6:48 AM li jerry  wrote:
>
>> - Is this a setup that does work with a prior version?
>> - Did you fresh install or upgrade?
>>
>> No, This is a new deployment, there

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Wido den Hollander



On 1/4/21 9:50 AM, Rohit Yadav wrote:
> Thanks for replying Jerry - for now, the workaround you can use is to specify 
> the rados monitor port (such as 10.100.250.14:6789) in the UI form when you 
> add a ceph rbd pool. For example, via API the url parameter would look like: 
> "rbd://cephtest:AQC3u_JfhipzGBAACiILEFKembN8gTJsIvu6nQ==@192.168.1.10:6789/cephtest"
> 
> @Daan Hoogland<mailto:daan.hoogl...@shapeblue.com> @Gabriel Beims 
> Bräscher<mailto:gabr...@pcextreme.nl> @Wido 
> Hollander<mailto:w...@pcextreme.nl> @Wei ZHOU<mailto:ustcweiz...@gmail.com> - 
> the issue seems to be rbd pool fails to be added if a port is not specified - 
> what do you think, should we treat this as blocker or document it (i.e. ask 
> admins to specify rados monitor port)?

I would not say this is a blocker for now. Ceph is moving away from port
6789 as the default and libvirt is already handling this.

This needs to be fixed though and I see that a ticket is open for this.
I'll look into this with Gabriel.

Keep in mind that port numer 6789 is not the default for Ceph! Messenger
v2 uses port 3300 and therefor it's best not to specify any port and
have the Ceph client sort this out.

In addition I would always suggest to use a hostname with Ceph and not a
static IP of a monitor. Round Robin DNS pointing to the monitors is the
most reliable solution.

Wido

> 
> 
> Regards.
> 
> 
> From: li jerry 
> Sent: Monday, January 4, 2021 13:10
> To: d...@cloudstack.apache.org ; 
> users@cloudstack.apache.org 
> Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> 
> Hi Rohit
> 
> Yes, I didn't specify a port when I added primary storage;
> 
> After r failed, I checked with virsh and found that the pool had been created 
> successfully, and the capacity, allocation and available of RBD could be 
> displayed.
> So I'm sure it's not the wrong key.
> 
> 
> Please note that:
> In the output pool dump, I see that there is no port target under host
> But the code gets port and converts it to int
> 
> String port = Integer.parseInt(getAttrValue("host", "port", source));
> 
> 
> 
> virsh pool-dumpxml d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> 
> d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> 12122373201920
> 912457728
> 11998204379136
> 
> 
> rbd
> 
> 
> 
> 
> 
> 
> -Jerry
> 
> 发件人: Rohit Yadav<mailto:rohit.ya...@shapeblue.com>
> 发送时间: 2021年1月4日 15:32
> 收件人: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>; 
> d...@cloudstack.apache.org<mailto:d...@cloudstack.apache.org>
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> 
> Hi Jerry,
> 
> Can you see my reply? I'm able to add a RBD primary storage if I specify the 
> port, should we still consider it a blocker then?
> 
> 
> Regards.
> 
> 
> From: li jerry 
> Sent: Monday, January 4, 2021 12:52
> To: users@cloudstack.apache.org 
> Cc: dev 
> Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> 
> I'm creating PR to fix this.
> 
> I think we should block, because it will cause the RBD primary storage to be 
> unable to be added.
> 
> -邮件原件-
> 发件人: Daan Hoogland 
> 发送时间: 2021年1月4日 14:57
> 收件人: users 
> 抄送: dev 
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> 
> looks good Jerry,
> Are you making a PR? It seems to me that this would not be a blocker and 
> should go in future releases. Please argue against me if you disagree.
> 
> 
> rohit.ya...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
> 
> 
> 
> 
> rohit.ya...@shapeblue.com 
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>   
>  
> 
> On Mon, Jan 4, 2021 at 6:48 AM li jerry  wrote:
> 
>> - Is this a setup that does work with a prior version?
>> - Did you fresh install or upgrade?
>>
>> No, This is a new deployment, there are no upgrades
>>
>> I have changed two methods. At present, RBD storage is running
>>
>>
>> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
>> //String _xmlPort = Integer.parseInt(getAttrValue("host",
>> "port", source));
>> int port = 0;
>> String _xmlPort = getAttrValue("host", "port", source);
>> if ( ! _xmlPort.isEmpty()) {
>> port =

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-04 Thread Rohit Yadav
Thanks for replying Jerry - for now, the workaround you can use is to specify 
the rados monitor port (such as 10.100.250.14:6789) in the UI form when you add 
a ceph rbd pool. For example, via API the url parameter would look like: 
"rbd://cephtest:AQC3u_JfhipzGBAACiILEFKembN8gTJsIvu6nQ==@192.168.1.10:6789/cephtest"

@Daan Hoogland<mailto:daan.hoogl...@shapeblue.com> @Gabriel Beims 
Bräscher<mailto:gabr...@pcextreme.nl> @Wido Hollander<mailto:w...@pcextreme.nl> 
@Wei ZHOU<mailto:ustcweiz...@gmail.com> - the issue seems to be rbd pool fails 
to be added if a port is not specified - what do you think, should we treat 
this as blocker or document it (i.e. ask admins to specify rados monitor port)?


Regards.


From: li jerry 
Sent: Monday, January 4, 2021 13:10
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org 
Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Hi Rohit

Yes, I didn't specify a port when I added primary storage;

After r failed, I checked with virsh and found that the pool had been created 
successfully, and the capacity, allocation and available of RBD could be 
displayed.
So I'm sure it's not the wrong key.


Please note that:
In the output pool dump, I see that there is no port target under host
But the code gets port and converts it to int

String port = Integer.parseInt(getAttrValue("host", "port", source));



virsh pool-dumpxml d9b976cb-bcaf-320a-94e6-b337e65dd4f5

d9b976cb-bcaf-320a-94e6-b337e65dd4f5
d9b976cb-bcaf-320a-94e6-b337e65dd4f5
12122373201920
912457728
11998204379136


rbd






-Jerry

发件人: Rohit Yadav<mailto:rohit.ya...@shapeblue.com>
发送时间: 2021年1月4日 15:32
收件人: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>; 
d...@cloudstack.apache.org<mailto:d...@cloudstack.apache.org>
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Hi Jerry,

Can you see my reply? I'm able to add a RBD primary storage if I specify the 
port, should we still consider it a blocker then?


Regards.


From: li jerry 
Sent: Monday, January 4, 2021 12:52
To: users@cloudstack.apache.org 
Cc: dev 
Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

I'm creating PR to fix this.

I think we should block, because it will cause the RBD primary storage to be 
unable to be added.

-邮件原件-
发件人: Daan Hoogland 
发送时间: 2021年1月4日 14:57
收件人: users 
抄送: dev 
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

looks good Jerry,
Are you making a PR? It seems to me that this would not be a blocker and should 
go in future releases. Please argue against me if you disagree.


rohit.ya...@shapeblue.com
www.shapeblue.com<http://www.shapeblue.com>
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue




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

On Mon, Jan 4, 2021 at 6:48 AM li jerry  wrote:

> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
>
> No, This is a new deployment, there are no upgrades
>
> I have changed two methods. At present, RBD storage is running
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
> //String _xmlPort = Integer.parseInt(getAttrValue("host",
> "port", source));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", source);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
> }
>
>
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
> //int port = Integer.parseInt(getAttrValue("host",
> "port", disk));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", disk);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
>         }
>
>
> -Jerry
>
> 发件人: Daan Hoogland<mailto:daan.hoogl...@gmail.com>
> 发送时间: 2021年1月4日 14:41
> 收件人: users<mailto:users@cloudstack.apache.org>
> 抄送: dev<mailto:d...@cloudstack.apache.org>
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Jerry,
> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
> @list is there any RDB user that can advise on the missing
> configuration causing the NumberFormatException, please?
>
>
> On Sun, Jan 3, 2021 at 1:25 PM li jerry  wrote:
>
> > Happy New Year to all.
> >
> >
> > Sorry, I can't add RB

回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread li jerry
Hi Rohit

Yes, I didn't specify a port when I added primary storage;

After r failed, I checked with virsh and found that the pool had been created 
successfully, and the capacity, allocation and available of RBD could be 
displayed.
So I'm sure it's not the wrong key.


Please note that:
In the output pool dump, I see that there is no port target under host
But the code gets port and converts it to int

String port = Integer.parseInt(getAttrValue("host", "port", source));



virsh pool-dumpxml d9b976cb-bcaf-320a-94e6-b337e65dd4f5

d9b976cb-bcaf-320a-94e6-b337e65dd4f5
d9b976cb-bcaf-320a-94e6-b337e65dd4f5
12122373201920
912457728
11998204379136


rbd






-Jerry

发件人: Rohit Yadav<mailto:rohit.ya...@shapeblue.com>
发送时间: 2021年1月4日 15:32
收件人: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>; 
d...@cloudstack.apache.org<mailto:d...@cloudstack.apache.org>
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Hi Jerry,

Can you see my reply? I'm able to add a RBD primary storage if I specify the 
port, should we still consider it a blocker then?


Regards.


From: li jerry 
Sent: Monday, January 4, 2021 12:52
To: users@cloudstack.apache.org 
Cc: dev 
Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

I'm creating PR to fix this.

I think we should block, because it will cause the RBD primary storage to be 
unable to be added.

-邮件原件-
发件人: Daan Hoogland 
发送时间: 2021年1月4日 14:57
收件人: users 
抄送: dev 
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

looks good Jerry,
Are you making a PR? It seems to me that this would not be a blocker and should 
go in future releases. Please argue against me if you disagree.


rohit.ya...@shapeblue.com
www.shapeblue.com<http://www.shapeblue.com>
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue



On Mon, Jan 4, 2021 at 6:48 AM li jerry  wrote:

> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
>
> No, This is a new deployment, there are no upgrades
>
> I have changed two methods. At present, RBD storage is running
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
> //String _xmlPort = Integer.parseInt(getAttrValue("host",
> "port", source));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", source);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
> }
>
>
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
> //int port = Integer.parseInt(getAttrValue("host",
> "port", disk));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", disk);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
>     }
>
>
> -Jerry
>
> 发件人: Daan Hoogland<mailto:daan.hoogl...@gmail.com>
> 发送时间: 2021年1月4日 14:41
> 收件人: users<mailto:users@cloudstack.apache.org>
> 抄送: dev<mailto:d...@cloudstack.apache.org>
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Jerry,
> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
> @list is there any RDB user that can advise on the missing
> configuration causing the NumberFormatException, please?
>
>
> On Sun, Jan 3, 2021 at 1:25 PM li jerry  wrote:
>
> > Happy New Year to all.
> >
> >
> > Sorry, I can't add RBD primary storage when I deploy with 4.15 RC3
> >
> > CloudStack: 4.15 RC3
> >
> > OS : Ubuntu 20.04.01
> >
> > DB: MYSQL 8.0.22
> >
> > CEPH: 15.2.8
> >
> > libvirt:6.0.0
> > hypervisor: QEMU 4.2.1
> >
> >
> > Add main memory to report the following error:
> >
> > 2021-01-03 13:15:32,605 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-2:null) (logid:0fd66f6e) Seq 1-2968153629413867529:
> > { Ans: , MgmtId: 182719176, via: 1, Ver: v1, Flags: 10,
> >
> [{"com.cloud.agent.api.Answer":{"result":"true","details":"success","w
> ait":"0"}}]
> > }
> > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Request:Seq
> > 1-2968153629413867530:  { Cmd , MgmtId: 182719176, via: 1, Ver: v1,
> Flags:
> > 100011,
> >
> [{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":"true"

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread Daan Hoogland
Thanks for the PR Jerry,
Can you try Rohit's way. He seems to provide a way, making this not a
blocker.

On Mon, Jan 4, 2021 at 7:22 AM li jerry  wrote:

> I'm creating PR to fix this.
>
> I think we should block, because it will cause the RBD primary storage to
> be unable to be added.
>
> -邮件原件-
> 发件人: Daan Hoogland 
> 发送时间: 2021年1月4日 14:57
> 收件人: users 
> 抄送: dev 
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> looks good Jerry,
> Are you making a PR? It seems to me that this would not be a blocker and
> should go in future releases. Please argue against me if you disagree.
>
> On Mon, Jan 4, 2021 at 6:48 AM li jerry  wrote:
>
> > - Is this a setup that does work with a prior version?
> > - Did you fresh install or upgrade?
> >
> > No, This is a new deployment, there are no upgrades
> >
> > I have changed two methods. At present, RBD storage is running
> >
> >
> >
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
> > //String _xmlPort = Integer.parseInt(getAttrValue("host",
> > "port", source));
> > int port = 0;
> > String _xmlPort = getAttrValue("host", "port", source);
> > if ( ! _xmlPort.isEmpty()) {
> > port = Integer.parseInt(_xmlPort);
> > }
> >
> >
> >
> >
> >
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
> > //int port = Integer.parseInt(getAttrValue("host",
> > "port", disk));
> > int port = 0;
> > String _xmlPort = getAttrValue("host", "port", disk);
> > if ( ! _xmlPort.isEmpty()) {
> >             port = Integer.parseInt(_xmlPort);
> > }
> >
> >
> > -Jerry
> >
> > 发件人: Daan Hoogland<mailto:daan.hoogl...@gmail.com>
> > 发送时间: 2021年1月4日 14:41
> > 收件人: users<mailto:users@cloudstack.apache.org>
> > 抄送: dev<mailto:d...@cloudstack.apache.org>
> > 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> >
> > Jerry,
> > - Is this a setup that does work with a prior version?
> > - Did you fresh install or upgrade?
> > @list is there any RDB user that can advise on the missing
> > configuration causing the NumberFormatException, please?
> >
> >
> > On Sun, Jan 3, 2021 at 1:25 PM li jerry  wrote:
> >
> > > Happy New Year to all.
> > >
> > >
> > > Sorry, I can't add RBD primary storage when I deploy with 4.15 RC3
> > >
> > > CloudStack: 4.15 RC3
> > >
> > > OS : Ubuntu 20.04.01
> > >
> > > DB: MYSQL 8.0.22
> > >
> > > CEPH: 15.2.8
> > >
> > > libvirt:6.0.0
> > > hypervisor: QEMU 4.2.1
> > >
> > >
> > > Add main memory to report the following error:
> > >
> > > 2021-01-03 13:15:32,605 DEBUG [cloud.agent.Agent]
> > > (agentRequest-Handler-2:null) (logid:0fd66f6e) Seq
> 1-2968153629413867529:
> > > { Ans: , MgmtId: 182719176, via: 1, Ver: v1, Flags: 10,
> > >
> > [{"com.cloud.agent.api.Answer":{"result":"true","details":"success","w
> > ait":"0"}}]
> > > }
> > > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > > (agentRequest-Handler-3:null) (logid:0fd66f6e) Request:Seq
> > > 1-2968153629413867530:  { Cmd , MgmtId: 182719176, via: 1, Ver: v1,
> > Flags:
> > > 100011,
> > >
> > [{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":"true","pool":
> > {"id":"3","uuid":"d9b976cb-bcaf-320a-94e6-b337e65dd4f5","host":"10.100
> > .250.14","path":"rbd","userInfo":"hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9S
> > j22kUBh7g==","port":"0","type":"RBD"},"localPath":"/mnt//5472031c-3588
> > -3e2c-b106-74c8d9f4ca83","wait":"0"}}]
> > > }
> > > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > > (agentRequest-Handler-3:null) (logid:0fd66f6e) Processing command:
> > > com.cloud.agent.api.ModifyStoragePoolCommand
> > > 2021-01-03 13:15:32,632 INFO  [kvm.storage.LibvirtStorageAdaptor]
> > > 

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread Rohit Yadav
Hi Jerry,

Can you see my reply? I'm able to add a RBD primary storage if I specify the 
port, should we still consider it a blocker then?


Regards.


From: li jerry 
Sent: Monday, January 4, 2021 12:52
To: users@cloudstack.apache.org 
Cc: dev 
Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

I'm creating PR to fix this.

I think we should block, because it will cause the RBD primary storage to be 
unable to be added.

-邮件原件-
发件人: Daan Hoogland 
发送时间: 2021年1月4日 14:57
收件人: users 
抄送: dev 
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

looks good Jerry,
Are you making a PR? It seems to me that this would not be a blocker and should 
go in future releases. Please argue against me if you disagree.


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

On Mon, Jan 4, 2021 at 6:48 AM li jerry  wrote:

> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
>
> No, This is a new deployment, there are no upgrades
>
> I have changed two methods. At present, RBD storage is running
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
> //String _xmlPort = Integer.parseInt(getAttrValue("host",
> "port", source));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", source);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
> }
>
>
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
> //int port = Integer.parseInt(getAttrValue("host",
> "port", disk));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", disk);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
> }
>
>
> -Jerry
>
> 发件人: Daan Hoogland<mailto:daan.hoogl...@gmail.com>
> 发送时间: 2021年1月4日 14:41
> 收件人: users<mailto:users@cloudstack.apache.org>
> 抄送: dev<mailto:d...@cloudstack.apache.org>
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Jerry,
> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
> @list is there any RDB user that can advise on the missing
> configuration causing the NumberFormatException, please?
>
>
> On Sun, Jan 3, 2021 at 1:25 PM li jerry  wrote:
>
> > Happy New Year to all.
> >
> >
> > Sorry, I can't add RBD primary storage when I deploy with 4.15 RC3
> >
> > CloudStack: 4.15 RC3
> >
> > OS : Ubuntu 20.04.01
> >
> > DB: MYSQL 8.0.22
> >
> > CEPH: 15.2.8
> >
> > libvirt:6.0.0
> > hypervisor: QEMU 4.2.1
> >
> >
> > Add main memory to report the following error:
> >
> > 2021-01-03 13:15:32,605 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-2:null) (logid:0fd66f6e) Seq 1-2968153629413867529:
> > { Ans: , MgmtId: 182719176, via: 1, Ver: v1, Flags: 10,
> >
> [{"com.cloud.agent.api.Answer":{"result":"true","details":"success","w
> ait":"0"}}]
> > }
> > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Request:Seq
> > 1-2968153629413867530:  { Cmd , MgmtId: 182719176, via: 1, Ver: v1,
> Flags:
> > 100011,
> >
> [{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":"true","pool":
> {"id":"3","uuid":"d9b976cb-bcaf-320a-94e6-b337e65dd4f5","host":"10.100
> .250.14","path":"rbd","userInfo":"hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9S
> j22kUBh7g==","port":"0","type":"RBD"},"localPath":"/mnt//5472031c-3588
> -3e2c-b106-74c8d9f4ca83","wait":"0"}}]
> > }
> > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Processing command:
> > com.cloud.agent.api.ModifyStoragePoolCommand
> > 2021-01-03 13:15:32,632 INFO  [kvm.storage.LibvirtStorageAdaptor]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Attempting to create
> storage
> > pool d9b976cb-bcaf-320a-94e6-b337e65dd4f5 (RBD) in libvirt
> > 2021-01-03 13:15:32,632 DEBUG [kvm.resource.LibvirtConnection]
> > (agentR

回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread li jerry
I'm creating PR to fix this.

I think we should block, because it will cause the RBD primary storage to be 
unable to be added.

-邮件原件-
发件人: Daan Hoogland 
发送时间: 2021年1月4日 14:57
收件人: users 
抄送: dev 
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

looks good Jerry,
Are you making a PR? It seems to me that this would not be a blocker and should 
go in future releases. Please argue against me if you disagree.

On Mon, Jan 4, 2021 at 6:48 AM li jerry  wrote:

> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
>
> No, This is a new deployment, there are no upgrades
>
> I have changed two methods. At present, RBD storage is running
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
> //String _xmlPort = Integer.parseInt(getAttrValue("host",
> "port", source));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", source);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
> }
>
>
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
> //int port = Integer.parseInt(getAttrValue("host",
> "port", disk));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", disk);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
> }
>
>
> -Jerry
>
> 发件人: Daan Hoogland<mailto:daan.hoogl...@gmail.com>
> 发送时间: 2021年1月4日 14:41
> 收件人: users<mailto:users@cloudstack.apache.org>
> 抄送: dev<mailto:d...@cloudstack.apache.org>
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Jerry,
> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
> @list is there any RDB user that can advise on the missing
> configuration causing the NumberFormatException, please?
>
>
> On Sun, Jan 3, 2021 at 1:25 PM li jerry  wrote:
>
> > Happy New Year to all.
> >
> >
> > Sorry, I can't add RBD primary storage when I deploy with 4.15 RC3
> >
> > CloudStack: 4.15 RC3
> >
> > OS : Ubuntu 20.04.01
> >
> > DB: MYSQL 8.0.22
> >
> > CEPH: 15.2.8
> >
> > libvirt:6.0.0
> > hypervisor: QEMU 4.2.1
> >
> >
> > Add main memory to report the following error:
> >
> > 2021-01-03 13:15:32,605 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-2:null) (logid:0fd66f6e) Seq 1-2968153629413867529:
> > { Ans: , MgmtId: 182719176, via: 1, Ver: v1, Flags: 10,
> >
> [{"com.cloud.agent.api.Answer":{"result":"true","details":"success","w
> ait":"0"}}]
> > }
> > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Request:Seq
> > 1-2968153629413867530:  { Cmd , MgmtId: 182719176, via: 1, Ver: v1,
> Flags:
> > 100011,
> >
> [{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":"true","pool":
> {"id":"3","uuid":"d9b976cb-bcaf-320a-94e6-b337e65dd4f5","host":"10.100
> .250.14","path":"rbd","userInfo":"hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9S
> j22kUBh7g==","port":"0","type":"RBD"},"localPath":"/mnt//5472031c-3588
> -3e2c-b106-74c8d9f4ca83","wait":"0"}}]
> > }
> > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Processing command:
> > com.cloud.agent.api.ModifyStoragePoolCommand
> > 2021-01-03 13:15:32,632 INFO  [kvm.storage.LibvirtStorageAdaptor]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Attempting to create
> storage
> > pool d9b976cb-bcaf-320a-94e6-b337e65dd4f5 (RBD) in libvirt
> > 2021-01-03 13:15:32,632 DEBUG [kvm.resource.LibvirtConnection]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Looking for libvirtd
> > connection at: qemu:///system
> > 2021-01-03 13:15:32,654 WARN  [kvm.storage.LibvirtStorageAdaptor]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Storage pool
> > d9b976cb-bcaf-320a-94e6-b337e65dd4f5 was not found running in libvirt.
> Need
> > to create it.
> > 2021-01-03 13:15:32,655 INFO  [kvm.storage.LibvirtStorageAdaptor]
> > 

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread Rohit Yadav
Hi Jerry,

I've tested 4.15RC3 by creating and adding a new ceph storage pool (ceph 
version 15.2.7 (88e41c6c49beb18add4fdb6b4326ca466d931db8) octopus (stable)) 
using both legacy and new UI and it seems to work okay, the only problem could 
be if you accidentally give a wrong secret in which case you may need to 
manually ssh into kvm hosts and undefine the secret.

In my test, it worked as expected and I suspect it perhaps didn't work for you 
since you didn't specify the monitor port (for the rados monitor input I gave 
it host:port, ex. 192.168.1.10:6789), this was the form/get data from the URL 
request as seen in the browser (both legacy and new UI): (notice the port 6789)


  1.
command:
createStoragePool
  2.
response:
json
  3.
scope:
zone
  4.
zoneid:
a67e1466-45dc-495b-a6c3-4bea6a072769
  5.
name:
ceph-test
  6.
provider:
DefaultPrimary
  7.
hypervisor:
KVM
  8.
url:
rbd://cephtest:AQC3u_JfhipzGBAACiILEFKembN8gTJsIvu6nQ==@192.168.1.10:6789/cephtest
  9.
tags:
rbd


Since I was able to add a storage pool by specifying the explicit rados monitor 
port, it does not look like a blocker (or at least we can document this). I 
think the change you are suggesting is to pick a default port when nothing is 
specified, looking forward to your PR.


Regards.


From: li jerry 
Sent: Monday, January 4, 2021 12:18
To: users@cloudstack.apache.org 
Cc: dev 
Subject: 回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

- Is this a setup that does work with a prior version?
- Did you fresh install or upgrade?

No, This is a new deployment, there are no upgrades

I have changed two methods. At present, RBD storage is running

/cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
//String _xmlPort = Integer.parseInt(getAttrValue("host", 
"port", source));
int port = 0;
String _xmlPort = getAttrValue("host", "port", source);
if ( ! _xmlPort.isEmpty()) {
port = Integer.parseInt(_xmlPort);
}



/cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
//int port = Integer.parseInt(getAttrValue("host", "port", 
disk));
int port = 0;
String _xmlPort = getAttrValue("host", "port", disk);
if ( ! _xmlPort.isEmpty()) {
port = Integer.parseInt(_xmlPort);
}


-Jerry

发件人: Daan Hoogland<mailto:daan.hoogl...@gmail.com>
发送时间: 2021年1月4日 14:41
收件人: users<mailto:users@cloudstack.apache.org>
抄送: dev<mailto:d...@cloudstack.apache.org>
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Jerry,
- Is this a setup that does work with a prior version?
- Did you fresh install or upgrade?
@list is there any RDB user that can advise on the missing configuration
causing the NumberFormatException, please?



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

On Sun, Jan 3, 2021 at 1:25 PM li jerry  wrote:

> Happy New Year to all.
>
>
> Sorry, I can't add RBD primary storage when I deploy with 4.15 RC3
>
> CloudStack: 4.15 RC3
>
> OS : Ubuntu 20.04.01
>
> DB: MYSQL 8.0.22
>
> CEPH: 15.2.8
>
> libvirt:6.0.0
> hypervisor: QEMU 4.2.1
>
>
> Add main memory to report the following error:
>
> 2021-01-03 13:15:32,605 DEBUG [cloud.agent.Agent]
> (agentRequest-Handler-2:null) (logid:0fd66f6e) Seq 1-2968153629413867529:
> { Ans: , MgmtId: 182719176, via: 1, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.Answer":{"result":"true","details":"success","wait":"0"}}]
> }
> 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Request:Seq
> 1-2968153629413867530:  { Cmd , MgmtId: 182719176, via: 1, Ver: v1, Flags:
> 100011,
> [{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":"true","pool":{"id":"3","uuid":"d9b976cb-bcaf-320a-94e6-b337e65dd4f5","host":"10.100.250.14","path":"rbd","userInfo":"hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==","port":"0","type":"RBD"},"localPath":"/mnt//5472031c-3588-3e2c-b106-74c8d9f4ca83","wait":"0"}}]
> }
> 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Processing command:
> com.cloud.agent.api.ModifyStoragePoolCommand
> 2021-01-03 13:15:32,632 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Hand

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread Daan Hoogland
looks good Jerry,
Are you making a PR? It seems to me that this would not be a blocker and
should go in future releases. Please argue against me if you disagree.

On Mon, Jan 4, 2021 at 6:48 AM li jerry  wrote:

> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
>
> No, This is a new deployment, there are no upgrades
>
> I have changed two methods. At present, RBD storage is running
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
> //String _xmlPort = Integer.parseInt(getAttrValue("host",
> "port", source));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", source);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
> }
>
>
>
>
> /cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
> //int port = Integer.parseInt(getAttrValue("host",
> "port", disk));
> int port = 0;
> String _xmlPort = getAttrValue("host", "port", disk);
> if ( ! _xmlPort.isEmpty()) {
> port = Integer.parseInt(_xmlPort);
> }
>
>
> -Jerry
>
> 发件人: Daan Hoogland<mailto:daan.hoogl...@gmail.com>
> 发送时间: 2021年1月4日 14:41
> 收件人: users<mailto:users@cloudstack.apache.org>
> 抄送: dev<mailto:d...@cloudstack.apache.org>
> 主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> Jerry,
> - Is this a setup that does work with a prior version?
> - Did you fresh install or upgrade?
> @list is there any RDB user that can advise on the missing configuration
> causing the NumberFormatException, please?
>
>
> On Sun, Jan 3, 2021 at 1:25 PM li jerry  wrote:
>
> > Happy New Year to all.
> >
> >
> > Sorry, I can't add RBD primary storage when I deploy with 4.15 RC3
> >
> > CloudStack: 4.15 RC3
> >
> > OS : Ubuntu 20.04.01
> >
> > DB: MYSQL 8.0.22
> >
> > CEPH: 15.2.8
> >
> > libvirt:6.0.0
> > hypervisor: QEMU 4.2.1
> >
> >
> > Add main memory to report the following error:
> >
> > 2021-01-03 13:15:32,605 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-2:null) (logid:0fd66f6e) Seq 1-2968153629413867529:
> > { Ans: , MgmtId: 182719176, via: 1, Ver: v1, Flags: 10,
> >
> [{"com.cloud.agent.api.Answer":{"result":"true","details":"success","wait":"0"}}]
> > }
> > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Request:Seq
> > 1-2968153629413867530:  { Cmd , MgmtId: 182719176, via: 1, Ver: v1,
> Flags:
> > 100011,
> >
> [{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":"true","pool":{"id":"3","uuid":"d9b976cb-bcaf-320a-94e6-b337e65dd4f5","host":"10.100.250.14","path":"rbd","userInfo":"hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==","port":"0","type":"RBD"},"localPath":"/mnt//5472031c-3588-3e2c-b106-74c8d9f4ca83","wait":"0"}}]
> > }
> > 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Processing command:
> > com.cloud.agent.api.ModifyStoragePoolCommand
> > 2021-01-03 13:15:32,632 INFO  [kvm.storage.LibvirtStorageAdaptor]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Attempting to create
> storage
> > pool d9b976cb-bcaf-320a-94e6-b337e65dd4f5 (RBD) in libvirt
> > 2021-01-03 13:15:32,632 DEBUG [kvm.resource.LibvirtConnection]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Looking for libvirtd
> > connection at: qemu:///system
> > 2021-01-03 13:15:32,654 WARN  [kvm.storage.LibvirtStorageAdaptor]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Storage pool
> > d9b976cb-bcaf-320a-94e6-b337e65dd4f5 was not found running in libvirt.
> Need
> > to create it.
> > 2021-01-03 13:15:32,655 INFO  [kvm.storage.LibvirtStorageAdaptor]
> > (agentRequest-Handler-3:null) (logid:0fd66f6e) Didn't find an existing
> > storage pool d9b976cb-bcaf-320a-94e6-b337e65dd4f5 by UUID, checking for
> > pools with duplicate paths
> > 2021-01-03 13:15:32,657 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> > (agentRequest-Handler-3:null) (logid:0fd6

回复: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread li jerry
- Is this a setup that does work with a prior version?
- Did you fresh install or upgrade?

No, This is a new deployment, there are no upgrades

I have changed two methods. At present, RBD storage is running

/cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtStoragePoolXMLParser.java
//String _xmlPort = Integer.parseInt(getAttrValue("host", 
"port", source));
int port = 0;
String _xmlPort = getAttrValue("host", "port", source);
if ( ! _xmlPort.isEmpty()) {
port = Integer.parseInt(_xmlPort);
}



/cloud-plugin-hypervisor-kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
//int port = Integer.parseInt(getAttrValue("host", "port", 
disk));
int port = 0;
String _xmlPort = getAttrValue("host", "port", disk);
if ( ! _xmlPort.isEmpty()) {
port = Integer.parseInt(_xmlPort);
}


-Jerry

发件人: Daan Hoogland<mailto:daan.hoogl...@gmail.com>
发送时间: 2021年1月4日 14:41
收件人: users<mailto:users@cloudstack.apache.org>
抄送: dev<mailto:d...@cloudstack.apache.org>
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Jerry,
- Is this a setup that does work with a prior version?
- Did you fresh install or upgrade?
@list is there any RDB user that can advise on the missing configuration
causing the NumberFormatException, please?


On Sun, Jan 3, 2021 at 1:25 PM li jerry  wrote:

> Happy New Year to all.
>
>
> Sorry, I can't add RBD primary storage when I deploy with 4.15 RC3
>
> CloudStack: 4.15 RC3
>
> OS : Ubuntu 20.04.01
>
> DB: MYSQL 8.0.22
>
> CEPH: 15.2.8
>
> libvirt:6.0.0
> hypervisor: QEMU 4.2.1
>
>
> Add main memory to report the following error:
>
> 2021-01-03 13:15:32,605 DEBUG [cloud.agent.Agent]
> (agentRequest-Handler-2:null) (logid:0fd66f6e) Seq 1-2968153629413867529:
> { Ans: , MgmtId: 182719176, via: 1, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.Answer":{"result":"true","details":"success","wait":"0"}}]
> }
> 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Request:Seq
> 1-2968153629413867530:  { Cmd , MgmtId: 182719176, via: 1, Ver: v1, Flags:
> 100011,
> [{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":"true","pool":{"id":"3","uuid":"d9b976cb-bcaf-320a-94e6-b337e65dd4f5","host":"10.100.250.14","path":"rbd","userInfo":"hyperx:AQAywfFf8jCiIxAAbnDBjX1QQAO9Sj22kUBh7g==","port":"0","type":"RBD"},"localPath":"/mnt//5472031c-3588-3e2c-b106-74c8d9f4ca83","wait":"0"}}]
> }
> 2021-01-03 13:15:32,631 DEBUG [cloud.agent.Agent]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Processing command:
> com.cloud.agent.api.ModifyStoragePoolCommand
> 2021-01-03 13:15:32,632 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Attempting to create storage
> pool d9b976cb-bcaf-320a-94e6-b337e65dd4f5 (RBD) in libvirt
> 2021-01-03 13:15:32,632 DEBUG [kvm.resource.LibvirtConnection]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Looking for libvirtd
> connection at: qemu:///system
> 2021-01-03 13:15:32,654 WARN  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Storage pool
> d9b976cb-bcaf-320a-94e6-b337e65dd4f5 was not found running in libvirt. Need
> to create it.
> 2021-01-03 13:15:32,655 INFO  [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Didn't find an existing
> storage pool d9b976cb-bcaf-320a-94e6-b337e65dd4f5 by UUID, checking for
> pools with duplicate paths
> 2021-01-03 13:15:32,657 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Checking path of existing
> pool root against pool we want to create
> 2021-01-03 13:15:32,667 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Checking path of existing
> pool 1739fc06-2a31-4af1-b8cb-871a27989f37 against pool we want to create
> 2021-01-03 13:15:32,672 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Attempting to create storage
> pool d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> 2021-01-03 13:15:32,686 DEBUG [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-3:null) (logid:0fd66f6e)  private='no'>
> d9b976cb-bcaf-320a-94e6-b337e65dd4f5
> 
> hyper

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread Daan Hoogland
torageAdaptor.java:413)
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:439)
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:424)
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:654)
> at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:329)
> at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:323)
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:42)
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:35)
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1643)
> at com.cloud.agent.Agent.processRequest(Agent.java:661)
> at
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
> at com.cloud.utils.nio.Task.call(Task.java:83)
> at com.cloud.utils.nio.Task.call(Task.java:29)
> at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> 2021-01-03 13:15:32,778 DEBUG [cloud.agent.Agent]
> (agentRequest-Handler-3:null) (logid:0fd66f6e) Seq 1-2968153629413867530:
> { Ans: , MgmtId: 182719176, via: 1, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.Answer":{"result":"false","details":"java.lang.NumberFormatException:
> For input string: ""
> at
> java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.base/java.lang.Integer.parseInt(Integer.java:662)
> at java.base/java.lang.Integer.parseInt(Integer.java:770)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtStoragePoolXMLParser.parseStoragePoolXML(LibvirtStoragePoolXMLParser.java:58)
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePoolDef(LibvirtStorageAdaptor.java:413)
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:439)
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:424)
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:654)
> at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:329)
> at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:323)
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:42)
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:35)
> at
> com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1643)
> at com.cloud.agent.Agent.processRequest(Agent.java:661)
> at
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
> at com.cloud.utils.nio.Task.call(Task.java:83)
> at com.cloud.utils.nio.Task.call(Task.java:29)
> at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> ","wait":"0"}}] }
> 2021-01-03 13:15:43,241 DEBUG [kvm.resource.LibvirtComputingResource]
> (UgentTask-2:null) (logid:) Executing:
> /usr/share/cloudstack-common/scripts/vm/network/security_group.py
> get_rule_logs_for_vms
>
>
>
>
>
> After the failure, I checked the pool through virsh and found that it had
> been added successfully.
> Here is the vir

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-03 Thread li jerry
ifyStoragePoolCommandWrapper.java:42)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:35)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1643)
at com.cloud.agent.Agent.processRequest(Agent.java:661)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
at com.cloud.utils.nio.Task.call(Task.java:83)
at com.cloud.utils.nio.Task.call(Task.java:29)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2021-01-03 13:15:32,778 DEBUG [cloud.agent.Agent] (agentRequest-Handler-3:null) 
(logid:0fd66f6e) Seq 1-2968153629413867530:  { Ans: , MgmtId: 182719176, via: 
1, Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.Answer":{"result":"false","details":"java.lang.NumberFormatException:
 For input string: ""
at 
java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.base/java.lang.Integer.parseInt(Integer.java:662)
at java.base/java.lang.Integer.parseInt(Integer.java:770)
at 
com.cloud.hypervisor.kvm.resource.LibvirtStoragePoolXMLParser.parseStoragePoolXML(LibvirtStoragePoolXMLParser.java:58)
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePoolDef(LibvirtStorageAdaptor.java:413)
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:439)
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:424)
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:654)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:329)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:323)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:42)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:35)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1643)
at com.cloud.agent.Agent.processRequest(Agent.java:661)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1079)
at com.cloud.utils.nio.Task.call(Task.java:83)
at com.cloud.utils.nio.Task.call(Task.java:29)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
","wait":"0"}}] }
2021-01-03 13:15:43,241 DEBUG [kvm.resource.LibvirtComputingResource] 
(UgentTask-2:null) (logid:) Executing: 
/usr/share/cloudstack-common/scripts/vm/network/security_group.py 
get_rule_logs_for_vms





After the failure, I checked the pool through virsh and found that it had been 
added successfully.
Here is the virsh output information:


root@noded:/etc/cloudstack/agent# virsh pool-list
 Name   StateAutostart

 1739fc06-2a31-4af1-b8cb-871a27989f37   active   no
 d9b976cb-bcaf-320a-94e6-b337e65dd4f5   active   no
 root           active   yes

root@noded:/etc/cloudstack/agent# virsh pool-dumpxml 
d9b976cb-bcaf-320a-94e6-b337e65dd4f5

  d9b976cb-bcaf-320a-94e6-b337e65dd4f5
  d9b976cb-bcaf-320a-94e6-b337e65dd4f5
  12122373201920
  912457728
  11998204379136
  

rbd

  

  






-邮件原件-
发件人: Daan Hoogland  
发送时间: 2021年1月1日 16:55
收件人: users 
抄送: dev 
主题: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

Happy New Year to all, I think we have a release but I'll wait to tally votes 
until Monday. Enjoy your weekend and the coming year.

On Thu, 31 Dec 2020, 15:10 Boris Stoyanov, 
wrote:

> +1 (binding)
>
> In shared effort with Vladimir Petrov, we've done upgrade testing from 
> latest of:
> 4.11
> 4.13
> 4.14
>
> Also

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2021-01-01 Thread Daan Hoogland
Happy New Year to all, I think we have a release but I'll wait to tally
votes until Monday. Enjoy your weekend and the coming year.

On Thu, 31 Dec 2020, 15:10 Boris Stoyanov, 
wrote:

> +1 (binding)
>
> In shared effort with Vladimir Petrov, we've done upgrade testing from
> latest of:
> 4.11
> 4.13
> 4.14
>
> Also did a basic lifecycle operations of:
> VMs, Networks, Storage, Infra(pod, cluster, zone, hosts).
>
> And we couldn't find any stopping issues with this RC.
>
> Thanks,
> Bobby.
>
> On 24.12.20, 5:14, "Rohit Yadav"  wrote:
>
>
> All,
>
> Here are the convenience packages build from 4.15.0.0-RC3 if you don't
> want to build CloudStack from the source artifacts:
>
> Packages: (Debian, CentOS7, and CentOS8)
> http://download.cloudstack.org/testing/4.15.0.0-rc3/
>
> 4.15 systemvmtemplate:
> http://download.cloudstack.org/systemvm/4.15/
>
> Build from the master branch of
> https://github.com/apache/cloudstack-documentation (if/after voting
> passes, we'll update and publish the docs):
> http://docs.cloudstack.apache.org/en/master/upgrading/
>
> Additional notes:
>   *   The new UI is bundled within the cloudstack-management package
> and is shipped as the default UI served at /client, old UI will
> be served via /client/legacy. Most users don't need to do any
> separate installation or perform an installation step.
>   *   We've added support for CentOS8 with 4.15 but CentOS8 will EOL
> in Dec 2021 (https://wiki.centos.org/About/Product).
>
>
> Regards.
>
> ____
>     From: Daan Hoogland 
>     Sent: Wednesday, December 23, 2020 23:13
> To: users ; dev <
> d...@cloudstack.apache.org>
> Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> LS,
> After fixing another few blockers, we have an RC3, The changes (other
> than
> bundling) are mostly interesting for those working with templates and
> on
> vmware.
>
> We are voting for the new UI and the main code.
>
> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is
> still
> separate but as agreed upon before this will be merged in coming
> releases,
> at least from a version management point of view.
> I've created a 4.15.0.0 release candidate, with the following
> artifacts up
> for a vote:Git Branches:
> main code:
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
> <
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124
> >
> ui code:
> <
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0
> >
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
> and Commit SH:
> main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
> ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev.
> 45059)
> PGP release keys (signed using 7975062401944786):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will
> be open
> for (at least) 72 hours.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)
>
> I will work with community members to provide convenience packaging
> over
> the next few days.
> The documentation repo will be updated as we move along.
>
>
>
> --
> Daan
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>
>
> boris.stoya...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-31 Thread Boris Stoyanov
+1 (binding) 

In shared effort with Vladimir Petrov, we've done upgrade testing from latest 
of: 
4.11
4.13
4.14 

Also did a basic lifecycle operations of: 
VMs, Networks, Storage, Infra(pod, cluster, zone, hosts). 

And we couldn't find any stopping issues with this RC. 

Thanks,
Bobby.

On 24.12.20, 5:14, "Rohit Yadav"  wrote:


All,

Here are the convenience packages build from 4.15.0.0-RC3 if you don't want 
to build CloudStack from the source artifacts:

Packages: (Debian, CentOS7, and CentOS8)
http://download.cloudstack.org/testing/4.15.0.0-rc3/

4.15 systemvmtemplate:
http://download.cloudstack.org/systemvm/4.15/

Build from the master branch of 
https://github.com/apache/cloudstack-documentation (if/after voting passes, 
we'll update and publish the docs):
http://docs.cloudstack.apache.org/en/master/upgrading/

Additional notes:
  *   The new UI is bundled within the cloudstack-management package and is 
shipped as the default UI served at /client, old UI will be served 
via /client/legacy. Most users don't need to do any separate 
installation or perform an installation step.
  *   We've added support for CentOS8 with 4.15 but CentOS8 will EOL in Dec 
2021 (https://wiki.centos.org/About/Product).


Regards.


From: Daan Hoogland 
Sent: Wednesday, December 23, 2020 23:13
To: users ; dev 
Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

LS,
After fixing another few blockers, we have an RC3, The changes (other than
bundling) are mostly interesting for those working with templates and on
vmware.

We are voting for the new UI and the main code.

The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
separate but as agreed upon before this will be merged in coming releases,
at least from a version management point of view.
I've created a 4.15.0.0 release candidate, with the following artifacts up
for a vote:Git Branches:
main code:

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632

<https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124>
ui code:

<https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0>

https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
and Commit SH:
main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
PGP release keys (signed using 7975062401944786):
https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be open
for (at least) 72 hours.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)

I will work with community members to provide convenience packaging over
the next few days.
The documentation repo will be updated as we move along.



--
Daan

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





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



Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-31 Thread Gabriel Bräscher
Another key point for IPv6 regards the hypervisor and network setup;
CloudStack supports IPv6 only for KVM, and when deploying zones with the
advanced network and security groups enabled.

Em qui., 31 de dez. de 2020 às 08:35, Andrija Panic 
escreveu:

> afaik, IPv6 is only supported in Shared networks, and can't be used for
> Public network.
>
> On Thu, 31 Dec 2020 at 11:29, Chirag Katbamna  wrote:
>
> >
> >
> > Hello
> > I am trying to enter IPv6 addresses as my Public IP address. I am unable
> > to enter it during a fresh setup. I have verified my IPv6's are correct
> and
> > valid. But it seems only IPv4 is expected on the screen. See attached
> > screenshot.
> >
> > My assumption is that IPv6 for public IP is supported to start with (my
> > first time trying it so not 100% sure). Do I need to enable anything
> > specific before it works? IPv6 on the local network is enabled already.
> >
> > Thanks
> > Chirag K
> >
> >
> >
> >
>
> --
>
> Andrija Panić
>


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-31 Thread Gabriel Bräscher
+1 (binding)

I could not find any blocker issue neither on CloudStack nor
CloudStack-primate.

Details:
1. Environment:
- Apache CloudStack: Management server + DB (Ubuntu 18.04)
- Hosts: KVM (Ubuntu 18.04)
- Primary Storage: NFS, RBD, KVM Local- Secondary Storage: NFS
- Zone Network: Advanced network + Security Groups
- Tests were performed on both Primate UI and legacy UI

2. Tests:
- Build 4.15.0.0 from source
- Upgrade from 4.13.1.0 to 4.15.0.0
- Deploy SystemVMs
- create user VMs on different primary storages (local, NFS, RBD)
- Live Migrate VMs (tested with local, NFS, and RBD)
- Put host in maintenance
- Remove/add host
- Add/remove primary storage (local and NFS)
- Add secondary storage (NFS)
- Deploy new Zone
- Register template
- Configure Service Offerings
- Change VM's offering
- Enable OOBM (Redfish)
- Perform OOBM actions (Redfish)

Em qui., 31 de dez. de 2020 às 06:03, Rohit Yadav 
escreveu:

> +1 (binding)
>
> I ran smoketests with the following combination (fresh installation only)
> and all tests passed except for one case on KVM (see below), few cases
> known to fail intermittently were checked and ignored (test_01_scale_vm,
> test_04_rvpc_privategw_static_routes which passed in other environments):
>
> CentOS7 mgmt server + vmware-65u2 + adv zone
> CentOS7 mgmt server + kvm-centos7 + adv zone
> CentOS7 mgmt server + xenserver-71 + adv zone
>
> On the KVM CentOS7 env this failed:
> test_03_deploy_and_upgrade_kubernetes_cluster | `Failure` | 240.74 |
> test_kubernetes_clusters.py
>
> On manual investigation, the above turned out to be an intermittent issue
> (passed on manual attempt and already passed in other env). I've also
> manually tested the following:
> - Basic VM lifecycle tests using default built-in CentOS template on an
> isolated network
> - CKS cluster setup with v1.16.0 with CoreOS template, also tested upgrade
> CKS cluster to v1.16.3
> - Several basic views of the modern UI, and legacy UI on the
> /client/legacy to check basic VM lifecycle views and actions
> - The new novnc console both over unsecured and SSL-enabled environments
>
>
> Proposed a minor document change based on testing Kubernetes/CKS cluster:
>
> https://github.com/apache/cloudstack-documentation/pull/174/files
>
>
> Regards.
>
> ____
> From: Daan Hoogland 
> Sent: Wednesday, December 23, 2020 23:13
> To: users ; dev 
> Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> LS,
> After fixing another few blockers, we have an RC3, The changes (other than
> bundling) are mostly interesting for those working with templates and on
> vmware.
>
> We are voting for the new UI and the main code.
>
> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
> separate but as agreed upon before this will be merged in coming releases,
> at least from a version management point of view.
> I've created a 4.15.0.0 release candidate, with the following artifacts up
> for a vote:Git Branches:
> main code:
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
> <
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124
> >
> ui code:
> <
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0
> >
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
> and Commit SH:
> main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
> ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
> PGP release keys (signed using 7975062401944786):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be
> open
> for (at least) 72 hours.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)
>
> I will work with community members to provide convenience packaging over
> the next few days.
> The documentation repo will be updated as we move along.
>
>
>
> --
> Daan
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-31 Thread Andrija Panic
afaik, IPv6 is only supported in Shared networks, and can't be used for
Public network.

On Thu, 31 Dec 2020 at 11:29, Chirag Katbamna  wrote:

>
>
> Hello
> I am trying to enter IPv6 addresses as my Public IP address. I am unable
> to enter it during a fresh setup. I have verified my IPv6's are correct and
> valid. But it seems only IPv4 is expected on the screen. See attached
> screenshot.
>
> My assumption is that IPv6 for public IP is supported to start with (my
> first time trying it so not 100% sure). Do I need to enable anything
> specific before it works? IPv6 on the local network is enabled already.
>
> Thanks
> Chirag K
>
>
>
>

-- 

Andrija Panić


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-31 Thread Chirag Katbamna
Hello
I am trying to enter IPv6 addresses as my Public IP address. I am unable to
enter it during a fresh setup. I have verified my IPv6's are correct and
valid. But it seems only IPv4 is expected on the screen. See attached
screenshot.

My assumption is that IPv6 for public IP is supported to start with (my
first time trying it so not 100% sure). Do I need to enable anything
specific before it works? IPv6 on the local network is enabled already.

Thanks
Chirag K


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-31 Thread Rohit Yadav
+1 (binding)

I ran smoketests with the following combination (fresh installation only) and 
all tests passed except for one case on KVM (see below), few cases known to 
fail intermittently were checked and ignored (test_01_scale_vm, 
test_04_rvpc_privategw_static_routes which passed in other environments):

CentOS7 mgmt server + vmware-65u2 + adv zone
CentOS7 mgmt server + kvm-centos7 + adv zone
CentOS7 mgmt server + xenserver-71 + adv zone

On the KVM CentOS7 env this failed:
test_03_deploy_and_upgrade_kubernetes_cluster | `Failure` | 240.74 | 
test_kubernetes_clusters.py

On manual investigation, the above turned out to be an intermittent issue 
(passed on manual attempt and already passed in other env). I've also manually 
tested the following:
- Basic VM lifecycle tests using default built-in CentOS template on an 
isolated network
- CKS cluster setup with v1.16.0 with CoreOS template, also tested upgrade CKS 
cluster to v1.16.3
- Several basic views of the modern UI, and legacy UI on the 
/client/legacy to check basic VM lifecycle views and actions
- The new novnc console both over unsecured and SSL-enabled environments


Proposed a minor document change based on testing Kubernetes/CKS cluster:

https://github.com/apache/cloudstack-documentation/pull/174/files


Regards.


From: Daan Hoogland 
Sent: Wednesday, December 23, 2020 23:13
To: users ; dev 
Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

LS,
After fixing another few blockers, we have an RC3, The changes (other than
bundling) are mostly interesting for those working with templates and on
vmware.

We are voting for the new UI and the main code.

The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
separate but as agreed upon before this will be merged in coming releases,
at least from a version management point of view.
I've created a 4.15.0.0 release candidate, with the following artifacts up
for a vote:Git Branches:
main code:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
<https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124>
ui code:
<https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0>
https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
and Commit SH:
main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
PGP release keys (signed using 7975062401944786):
https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be open
for (at least) 72 hours.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)

I will work with community members to provide convenience packaging over
the next few days.
The documentation repo will be updated as we move along.



--
Daan

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



Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-28 Thread Hean Seng
Hi Rohit and Andrija,

Thanks for reply.I will try again drop mysql 5.7 and reinstall back
mysql8 ,  All is working now after revert to mysql 5.7 and restore the
backup .




On Mon, Dec 28, 2020 at 6:39 PM Rohit Yadav 
wrote:

> Hi Hean,
>
> I think you've figured out the first issue to be missing systemvmtemplate,
> the upgrade requires that the 4.15 systemvmtemplate is registered prior to
> the upgrade.
>
> MySQL8 should work with 4.15 RC3 (as Andrija notes), however, if you're
> doing an in-place upgrade you may want to backup the DB dumps, stop all old
> CloudStack services (mgmt and usage servers), and then try to upgrade MySQL
> 5.x to 8 and then follow the upgrade. You may also take DB backups and
> restore them in a new MySQL8 instance.
>
> The do-release-upgrade would perform an in-place upgrade of Ubuntu 18.04
> to 20.04 installation which may have issues of its own, can you try a fresh
> installation of Ubuntu 20.04 + MySQL8 and try again? Thanks.
>
>
> Regards.
>
> 
> From: Andrija Panic 
> Sent: Monday, December 28, 2020 14:04
> To: users 
> Subject: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> MySQL 8 should work - support for it was introduced in 4.15, if not
> mistaken (5.7 is still a safe bet).
>
> Your issue seems to be an unclean restore of the DB, based on the input
> you've shared. You need to drop your cloud/cloud_usage DBs, create empty
> ones, restore them both from backup, start the old mgmt server, make sure
> that the proper systemVM template is registered with the EXACT name as
> specified in the upgrade guide (you have to use that name, otherwise later
> the DB upgrade will fail) and only then proceed with the upgrade to 4.15.
>
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
> On Mon, 28 Dec 2020 at 06:33, Hean Seng  wrote:
>
> > Just for update,  I tested on Ubuntu 18, and upgrade to ACS5.15, no
> issue .
> >
> > After that MGMT, do-release-upgrade to Ubuntu 20, and no issue on upgrade
> > to Ubuntu20, However MySQL need to downgrade to MySQL 5.7. and restore
> back
> > the DB .  Not sure how to make it work on MySQL8 yet.
> >
> > Create VM, Snapshot, Delivete, those is no issue as well.
> >
> >
> >
> > On Sun, Dec 27, 2020 at 1:08 AM Hean Seng  wrote:
> >
> > > I think the main issue is  the first time not recognize the systemvm ,
> > > although already install they SystemVM
> > >
> > > I do bare new installation on 4.15, CentOS7,KVM, , and it works
> > >
> > > On Sun, Dec 27, 2020 at 12:31 AM Sergey Levitskiy  >
> > > wrote:
> > >
> > >> You can try this. Restore your DB backup, register SSVM template and
> run
> > >> the following against your MySQL DB before starting the  upgrade.
> > >>
> > >> ALTER TABLE `cloud`.`project_account`
> > >>  ADD CONSTRAINT `fk_project_account__account_id` FOREIGN
> > >> KEY(`account_id`) REFERENCES `account`(`id`) ON DELETE CASCADE ,
> > >>  ADD CONSTRAINT `uc_project_account__project_id_account_id_user_id`
> > >> UNIQUE (`project_id`, `account_id`, `user_id`) ;
> > >>
> > >>
> > >> If it still fails capture and  post full management server log.
> > >>
> > >>
> > >> Thanks,
> > >> Sergey
> > >>
> > >> On 12/26/20, 2:27 AM, "Hean Seng"  wrote:
> > >>
> > >> I restore the backup db, and reregister the system template using
> > >> cloud-install-sys-tmplt
> > >> , it sill getting error.
> > >>
> > >> stemVm template not found. Ovm3 hypervisor is not used, so not
> > failing
> > >> upgrade
> > >>
> > >> 2020-12-26 10:11:37,713 DEBUG [c.c.u.d.Upgrade41400to41500]
> > >> (main:null)
> > >> (logid:) Updating KVM System Vms
> > >>
> > >> 2020-12-26 10:11:37,720 ERROR [c.c.u.DatabaseUpgradeChecker]
> > >> (main:null)
> > >> (logid:) Unable to upgrade the database
> > >>
> > >> com.cloud.utils.exception.CloudRuntimeException: 4.15.0.0KVM
> > SystemVm
> > >> template not found. Cannot upgrade system Vms
> > >>
> > >> at
> > >>
> > >>
> >
> com.cloud.upgrade.dao.Upgrade41400to41500.updateSystemVmTemplates(Upgrade41400to41500.java

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-28 Thread Rohit Yadav
Hi Hean,

I think you've figured out the first issue to be missing systemvmtemplate, the 
upgrade requires that the 4.15 systemvmtemplate is registered prior to the 
upgrade.

MySQL8 should work with 4.15 RC3 (as Andrija notes), however, if you're doing 
an in-place upgrade you may want to backup the DB dumps, stop all old 
CloudStack services (mgmt and usage servers), and then try to upgrade MySQL 5.x 
to 8 and then follow the upgrade. You may also take DB backups and restore them 
in a new MySQL8 instance.

The do-release-upgrade would perform an in-place upgrade of Ubuntu 18.04 to 
20.04 installation which may have issues of its own, can you try a fresh 
installation of Ubuntu 20.04 + MySQL8 and try again? Thanks.


Regards.


From: Andrija Panic 
Sent: Monday, December 28, 2020 14:04
To: users 
Subject: Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

MySQL 8 should work - support for it was introduced in 4.15, if not
mistaken (5.7 is still a safe bet).

Your issue seems to be an unclean restore of the DB, based on the input
you've shared. You need to drop your cloud/cloud_usage DBs, create empty
ones, restore them both from backup, start the old mgmt server, make sure
that the proper systemVM template is registered with the EXACT name as
specified in the upgrade guide (you have to use that name, otherwise later
the DB upgrade will fail) and only then proceed with the upgrade to 4.15.


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

On Mon, 28 Dec 2020 at 06:33, Hean Seng  wrote:

> Just for update,  I tested on Ubuntu 18, and upgrade to ACS5.15, no issue .
>
> After that MGMT, do-release-upgrade to Ubuntu 20, and no issue on upgrade
> to Ubuntu20, However MySQL need to downgrade to MySQL 5.7. and restore back
> the DB .  Not sure how to make it work on MySQL8 yet.
>
> Create VM, Snapshot, Delivete, those is no issue as well.
>
>
>
> On Sun, Dec 27, 2020 at 1:08 AM Hean Seng  wrote:
>
> > I think the main issue is  the first time not recognize the systemvm ,
> > although already install they SystemVM
> >
> > I do bare new installation on 4.15, CentOS7,KVM, , and it works
> >
> > On Sun, Dec 27, 2020 at 12:31 AM Sergey Levitskiy 
> > wrote:
> >
> >> You can try this. Restore your DB backup, register SSVM template and run
> >> the following against your MySQL DB before starting the  upgrade.
> >>
> >> ALTER TABLE `cloud`.`project_account`
> >>  ADD CONSTRAINT `fk_project_account__account_id` FOREIGN
> >> KEY(`account_id`) REFERENCES `account`(`id`) ON DELETE CASCADE ,
> >>  ADD CONSTRAINT `uc_project_account__project_id_account_id_user_id`
> >> UNIQUE (`project_id`, `account_id`, `user_id`) ;
> >>
> >>
> >> If it still fails capture and  post full management server log.
> >>
> >>
> >> Thanks,
> >> Sergey
> >>
> >> On 12/26/20, 2:27 AM, "Hean Seng"  wrote:
> >>
> >> I restore the backup db, and reregister the system template using
> >> cloud-install-sys-tmplt
> >> , it sill getting error.
> >>
> >> stemVm template not found. Ovm3 hypervisor is not used, so not
> failing
> >> upgrade
> >>
> >> 2020-12-26 10:11:37,713 DEBUG [c.c.u.d.Upgrade41400to41500]
> >> (main:null)
> >> (logid:) Updating KVM System Vms
> >>
> >> 2020-12-26 10:11:37,720 ERROR [c.c.u.DatabaseUpgradeChecker]
> >> (main:null)
> >> (logid:) Unable to upgrade the database
> >>
> >> com.cloud.utils.exception.CloudRuntimeException: 4.15.0.0KVM
> SystemVm
> >> template not found. Cannot upgrade system Vms
> >>
> >> at
> >>
> >>
> com.cloud.upgrade.dao.Upgrade41400to41500.updateSystemVmTemplates(Upgrade41400to41500.java:214)
> >>
> >> at
> >>
> >>
> com.cloud.upgrade.dao.Upgrade41400to41500.performDataMigration(Upgrade41400to41500.java:70)
> >>
> >> On Sat, Dec 26, 2020 at 5:48 PM Hean Seng 
> wrote:
> >>
> >> > For first time I upgrade and start the MGMT server , it show
> >> > following error:
> >> >
> >> > 2020-12-26 09:02:32,499 DEBUG [c.c.u.d.Upgrade41400to41500]
> >> (main:null)
> >> > (logid:) Updating System Vm template IDs
> >> >
> >> > 2020-12-26 09:02:32,503 DEBUG [c.c.u.d.Upgrade41400to41500]
> >> (main:null)
> >> > (logid:) Updating KVM System Vms
> >> >
> >&

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-28 Thread Andrija Panic
>> REFERENCES `project_role` (`id`) ON DELETE SET NULL,  DROP
> FOREIGN
> >> KEY
> >> >> `fk_project_account__account_id`,  DROP INDEX `account_id`
> >> >>
> >> >> 2020-12-26 09:33:56,361 ERROR [c.c.u.d.ScriptRunner] (main:null)
> >> (logid:)
> >> >> Error executing: ALTER TABLE `cloud`.`project_account`  ADD
> COLUMN
> >> >> `user_id` bigint unsigned COMMENT 'ID of user to be added to the
> >> project'
> >> >> AFTER `account_id`,  ADD CONSTRAINT `fk_project_account__user_id`
> >> >> FOREIGN KEY `fk_project_account__user_id`(`user_id`) REFERENCES
> >> >> `user`(`id`) ON DELETE CASCADE,  ADD COLUMN `project_role_id`
> >> bigint
> >> >> unsigned COMMENT 'Project role id' AFTER `project_account_id`,
> ADD
> >> >> CONSTRAINT `fk_project_account__project_role_id` FOREIGN KEY
> >> >> (`project_role_id`) REFERENCES `project_role` (`id`) ON DELETE
> SET
> >> NULL,
> >> >> DROP FOREIGN KEY `fk_project_account__account_id`,  DROP INDEX
> >> >> `account_id`
> >> >>
> >> >> 2020-12-26 09:33:56,362 ERROR [c.c.u.d.ScriptRunner] (main:null)
> >> (logid:)
> >> >> java.sql.SQLSyntaxErrorException: Can't DROP
> >> >> 'fk_project_account__account_id'; check that column/key exists
> >> >>
> >> >> 2020-12-26 09:33:56,364 ERROR [c.c.u.DatabaseUpgradeChecker]
> >> (main:null)
> >> >> (logid:) Unable to execute upgrade script
> >> >>
> >> >> java.sql.SQLSyntaxErrorException: Can't DROP
> >> >> 'fk_project_account__account_id'; check that column/key exists
> >> >>
> >> >> at
> com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:185)
> >> >>
> >> >> at
> com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87)
> >> >>
> >> >> at
> >> >>
> >>
> com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:203)
> >> >>
> >> >> at
> >> >>
> >>
> com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:258)
> >> >>
> >> >> at
> >> >>
> >>
> com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:342)
> >> >>
> >> >> at
> >> >>
> >>
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.checkIntegrity(CloudStackExtendedLifeCycle.java:64)
> >> >>
> >> >> at
> >> >>
> >>
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:54)
> >> >>
> >> >> at
> >> >>
> >>
> org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
> >> >>
> >> >> at
> >> >>
> >>
> org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
> >> >>
> >> >> at
> >> >>
> >>
> org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
> >> >>
> >> >> at
> >> >>
> >>
> org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
> >> >>
> >> >> at
> >> >>
> >>
> org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
> >> >>
> >> >> at
> >> >>
> >>
> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)
> >> >>
> >> >> at
> >> >>
> >>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
> >> >>
> >> >> at
> >> >>
> >>
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:144)
> >> >>
> >> >> at or
> >> >>
> >> >> On Thu, Dec 24, 2020 at 11:14 AM Rohit Yadav <
> >> rohit.ya...@shapeblue.com>
> >> >> wrote:
> >> >>
> >> >>>
> >> >>> All,
> >> >>>
> >> >>> Here are the convenience packages build from 4.15.0.0-RC3 if you
> >> don't
> >> >>> want to build CloudStack from the source artifacts:
> >> >>>
> >> >>> Packages: (Debian, CentOS7, and CentOS8)
> >> >>> http://download.cloudstack.org/testing/4.15.0.0-rc3/
> >> >>>
> >> >>> 4.15 systemvmtemplate:
> >> >>> http://download.cloudstack.org/systemvm/4.15/
> >> >>>
> >> >>> Build from the master branch of
> >> >>> https://github.com/apache/cloudstack-documentation (if/after
> >> voting
> >> >>> passes, we'll update and publish the docs):
> >> >>> http://docs.cloudstack.apache.org/en/master/upgrading/
> >> >>>
> >> >>> Additional notes:
> >> >>>   *   The new UI is bundled within the cloudstack-management
> >> package and
> >> >>> is shipped as the default UI served at /client, old
> UI
> >> will be
> >> >>> served via /client/legacy. Most users don't need to
> do
> >> any
> >> >>> separate installation or perform an installation step.
> >> >>>   *   We've added support for CentOS8 with 4.15 but CentOS8 will
> >> EOL in
> >> >>> Dec 2021 (https://wiki.centos.org/About/Product).
> >> >>>
> >> >>>
> >> >>> Regards.
> >> >>>
> >> >>> 
> >> >>> From: Daan Hoogland 
> >> >>> Sent: Wednesday, December 23, 2020 23:13
> >> >>> To: users ; dev <
> >> d...@cloudstack.apache.org>
> >> >>> Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
> >> >>>
> >> >>> LS,
> >> >>> After fixing another few blockers, we have an RC3, The changes
> >> (other
> >> >>> than
> >> >>> bundling) are mostly interesting for those working with
> templates
> >> and on
> >> >>> vmware.
> >> >>>
> >> >>> We are voting for the new UI and the main code.
> >> >>>
> >> >>> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI
> >> is still
> >> >>> separate but as agreed upon before this will be merged in coming
> >> >>> releases,
> >> >>> at least from a version management point of view.
> >> >>> I've created a 4.15.0.0 release candidate, with the following
> >> artifacts
> >> >>> up
> >> >>> for a vote:Git Branches:
> >> >>> main code:
> >> >>>
> >> >>>
> >>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
> >> >>> <
> >> >>>
> >>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124
> >> >>> >
> >> >>> ui code:
> >> >>> <
> >> >>>
> >>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0
> >> >>> >
> >> >>>
> >> >>>
> >>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
> >> >>> and Commit SH:
> >> >>> main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
> >> >>> ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1
> >> >>>
> >> >>> Source release (checksums and signatures are available at the
> same
> >> >>> location):
> >> >>> https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/
> >> (rev. 45059)
> >> >>> PGP release keys (signed using 7975062401944786):
> >> >>> https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote
> >> will be
> >> >>> open
> >> >>> for (at least) 72 hours.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)
> >> >>>
> >> >>> I will work with community members to provide convenience
> >> packaging over
> >> >>> the next few days.
> >> >>> The documentation repo will be updated as we move along.
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Daan
> >> >>>
> >> >>> rohit.ya...@shapeblue.com
> >> >>> www.shapeblue.com
> >> >>> 3 London Bridge Street,  3rd floor, News Building, London  SE1
> >> 9SGUK
> >> >>> @shapeblue
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >> --
> >> >> Regards,
> >> >> Hean Seng
> >> >>
> >> >
> >> >
> >> > --
> >> > Regards,
> >> > Hean Seng
> >> >
> >>
> >>
> >> --
> >> Regards,
> >> Hean Seng
> >>
> >>
> >
> > --
> > Regards,
> > Hean Seng
> >
>
>
> --
> Regards,
> Hean Seng
>


-- 

Andrija Panić


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-27 Thread Hean Seng
har(255) NOT NULL COMMENT 'rule for the
>> role,
>> >> api name or wildcard',   `permission` varchar(255) NOT NULL COMMENT
>> >> 'access authority, allow or deny',   `description` text COMMENT
>> >> 'description of the rule',   `sort_order` bigint(20) unsigned NOT
>> NULL
>> >> DEFAULT 0 COMMENT 'permission sort order',   PRIMARY KEY (`id`),
>>  KEY
>> >> `fk_project_role_permissions__project_role_id`
>> (`project_role_id`),   KEY
>> >> `i_project_role_permissions__sort_order` (`sort_order`),   UNIQUE
>> KEY
>> >> (`project_role_id`, `rule`),   CONSTRAINT
>> >> `fk_project_role_permissions__project_id` FOREIGN KEY(`project_id`)
>> >> REFERENCES `projects`(`id`) ON DELETE CASCADE,   CONSTRAINT
>> >> `fk_project_role_permissions__project_role_id` FOREIGN KEY
>> >> (`project_role_id`) REFERENCES `project_role` (`id`) ON DELETE
>> CASCADE )
>> >> ENGINE=InnoDB DEFAULT CHARSET=utf8
>> >>
>> >> 2020-12-26 09:33:56,341 DEBUG [c.c.u.d.ScriptRunner] (main:null)
>> (logid:)
>> >> -- Alter project accounts table to include user_id and
>> project_role_id for
>> >> role based users in projects
>> >>
>> >> 2020-12-26 09:33:56,341 DEBUG [c.c.u.d.ScriptRunner] (main:null)
>> (logid:)
>> >> ALTER TABLE `cloud`.`project_account`  ADD COLUMN `user_id` bigint
>> >> unsigned COMMENT 'ID of user to be added to the project' AFTER
>> `account_id`,
>> >> ADD CONSTRAINT `fk_project_account__user_id` FOREIGN KEY
>> >> `fk_project_account__user_id`(`user_id`) REFERENCES `user`(`id`)
>> ON DELETE
>> >> CASCADE,  ADD COLUMN `project_role_id` bigint unsigned COMMENT
>> 'Project
>> >> role id' AFTER `project_account_id`,  ADD CONSTRAINT
>> >> `fk_project_account__project_role_id` FOREIGN KEY
>> (`project_role_id`)
>> >> REFERENCES `project_role` (`id`) ON DELETE SET NULL,  DROP FOREIGN
>> KEY
>> >> `fk_project_account__account_id`,  DROP INDEX `account_id`
>> >>
>> >> 2020-12-26 09:33:56,361 ERROR [c.c.u.d.ScriptRunner] (main:null)
>> (logid:)
>> >> Error executing: ALTER TABLE `cloud`.`project_account`  ADD COLUMN
>> >> `user_id` bigint unsigned COMMENT 'ID of user to be added to the
>> project'
>> >> AFTER `account_id`,  ADD CONSTRAINT `fk_project_account__user_id`
>> >> FOREIGN KEY `fk_project_account__user_id`(`user_id`) REFERENCES
>> >> `user`(`id`) ON DELETE CASCADE,  ADD COLUMN `project_role_id`
>> bigint
>> >> unsigned COMMENT 'Project role id' AFTER `project_account_id`,  ADD
>> >> CONSTRAINT `fk_project_account__project_role_id` FOREIGN KEY
>> >> (`project_role_id`) REFERENCES `project_role` (`id`) ON DELETE SET
>> NULL,
>> >> DROP FOREIGN KEY `fk_project_account__account_id`,  DROP INDEX
>> >> `account_id`
>> >>
>> >> 2020-12-26 09:33:56,362 ERROR [c.c.u.d.ScriptRunner] (main:null)
>> (logid:)
>> >> java.sql.SQLSyntaxErrorException: Can't DROP
>> >> 'fk_project_account__account_id'; check that column/key exists
>> >>
>> >> 2020-12-26 09:33:56,364 ERROR [c.c.u.DatabaseUpgradeChecker]
>> (main:null)
>> >> (logid:) Unable to execute upgrade script
>> >>
>> >> java.sql.SQLSyntaxErrorException: Can't DROP
>> >> 'fk_project_account__account_id'; check that column/key exists
>> >>
>> >> at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:185)
>> >>
>> >> at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87)
>> >>
>> >> at
>> >>
>> com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:203)
>> >>
>> >> at
>> >>
>> com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:258)
>> >>
>> >> at
>> >>
>> com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:342)
>> >>
>> >> at
>> >>
>> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.checkIntegrity(CloudStackExtendedLifeCycle.java:64)
>> >>
>> >> at
>> >>
>> org.apache.cloudstack.spri

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-26 Thread Hean Seng
 >> CASCADE,  ADD COLUMN `project_role_id` bigint unsigned COMMENT
> 'Project
> >> role id' AFTER `project_account_id`,  ADD CONSTRAINT
> >> `fk_project_account__project_role_id` FOREIGN KEY
> (`project_role_id`)
> >> REFERENCES `project_role` (`id`) ON DELETE SET NULL,  DROP FOREIGN
> KEY
> >> `fk_project_account__account_id`,  DROP INDEX `account_id`
> >>
> >> 2020-12-26 09:33:56,361 ERROR [c.c.u.d.ScriptRunner] (main:null)
> (logid:)
> >> Error executing: ALTER TABLE `cloud`.`project_account`  ADD COLUMN
> >> `user_id` bigint unsigned COMMENT 'ID of user to be added to the
> project'
> >> AFTER `account_id`,  ADD CONSTRAINT `fk_project_account__user_id`
> >> FOREIGN KEY `fk_project_account__user_id`(`user_id`) REFERENCES
> >> `user`(`id`) ON DELETE CASCADE,  ADD COLUMN `project_role_id` bigint
> >> unsigned COMMENT 'Project role id' AFTER `project_account_id`,  ADD
> >> CONSTRAINT `fk_project_account__project_role_id` FOREIGN KEY
> >> (`project_role_id`) REFERENCES `project_role` (`id`) ON DELETE SET
> NULL,
> >> DROP FOREIGN KEY `fk_project_account__account_id`,  DROP INDEX
> >> `account_id`
> >>
> >> 2020-12-26 09:33:56,362 ERROR [c.c.u.d.ScriptRunner] (main:null)
> (logid:)
> >> java.sql.SQLSyntaxErrorException: Can't DROP
> >> 'fk_project_account__account_id'; check that column/key exists
> >>
> >> 2020-12-26 09:33:56,364 ERROR [c.c.u.DatabaseUpgradeChecker]
> (main:null)
> >> (logid:) Unable to execute upgrade script
> >>
> >> java.sql.SQLSyntaxErrorException: Can't DROP
> >> 'fk_project_account__account_id'; check that column/key exists
> >>
> >> at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:185)
> >>
> >> at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87)
> >>
> >> at
> >>
> com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:203)
> >>
> >> at
> >>
> com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:258)
> >>
> >> at
> >>
> com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:342)
> >>
> >> at
> >>
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.checkIntegrity(CloudStackExtendedLifeCycle.java:64)
> >>
> >> at
> >>
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:54)
> >>
> >> at
> >>
> org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
> >>
> >> at
> >>
> org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
> >>
> >> at
> >>
> org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
> >>
> >> at
> >>
> org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
> >>
> >> at
> >>
> org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
> >>
> >> at
> >>
> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)
> >>
> >> at
> >>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
> >>
> >> at
> >>
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:144)
> >>
> >> at or
> >>
> >> On Thu, Dec 24, 2020 at 11:14 AM Rohit Yadav <
> rohit.ya...@shapeblue.com>
> >> wrote:
> >>
> >>>
> >>> All,
> >>>
> >>> Here are the convenience packages build from 4.15.0.0-RC3 if you
> don't
> >>> want to build CloudStack from the source artifacts:
> >>>
> >>> Packages: (Debian, CentOS7, and CentOS8)
> >>> http://download.cloudstack.org/testing/4.15.0.0-rc3/
> >>>
> >>> 4.15 systemvmtem

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-26 Thread Sergey Levitskiy
Runner.runScript(ScriptRunner.java:87)
>>
>> at
>> 
com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:203)
>>
>> at
>> 
com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:258)
>>
>> at
>> 
com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:342)
>>
>> at
>> 
org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.checkIntegrity(CloudStackExtendedLifeCycle.java:64)
>>
>> at
>> 
org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:54)
>>
>> at
>> 
org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
>>
>> at
>> 
org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
>>
>> at
>> 
org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
>>
>> at
>> 
org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
>>
>> at
>> 
org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
>>
>> at
>> 
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)
>>
>> at
>> 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
>>
>> at
>> 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:144)
>>
>> at or
>>
>> On Thu, Dec 24, 2020 at 11:14 AM Rohit Yadav 
    >> wrote:
>>
    >>>
>>> All,
>>>
>>> Here are the convenience packages build from 4.15.0.0-RC3 if you don't
>>> want to build CloudStack from the source artifacts:
>>>
>>> Packages: (Debian, CentOS7, and CentOS8)
>>> http://download.cloudstack.org/testing/4.15.0.0-rc3/
>>>
>>> 4.15 systemvmtemplate:
>>> http://download.cloudstack.org/systemvm/4.15/
>>>
>>> Build from the master branch of
>>> https://github.com/apache/cloudstack-documentation (if/after voting
>>> passes, we'll update and publish the docs):
>>> http://docs.cloudstack.apache.org/en/master/upgrading/
>>>
>>> Additional notes:
>>>   *   The new UI is bundled within the cloudstack-management package and
>>> is shipped as the default UI served at /client, old UI will 
be
>>> served via /client/legacy. Most users don't need to do any
>>> separate installation or perform an installation step.
>>>   *   We've added support for CentOS8 with 4.15 but CentOS8 will EOL in
>>> Dec 2021 (https://wiki.centos.org/About/Product).
>>>
>>>
>>> Regards.
>>>
>>> 
>>> From: Daan Hoogland 
>>> Sent: Wednesday, December 23, 2020 23:13
>>> To: users ; dev 

>>> Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>>>
>>> LS,
>>> After fixing another few blockers, we have an RC3, The changes (other
>>> than
>>> bundling) are mostly interesting for those working with templates and on
>>> vmware.
>>>
>>> We are voting for the new UI and the main code.
>>>
>>> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is 
still
>>> separate but as agreed upon before this will be merged in coming
>>> releases,
>>> at least from a version management point of view.
>>> I've created a 4.15.0.0 release candidate, with the following artifacts
>>> up
>>> for a vote:Git Branches:
>>> main code:
>>>
>>> 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
>>> <
>>> 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124
>>> >
>>> ui code:
>>> <
>>> 
https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0
>>> >
>>>
>>> 
https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
>>> and Commit SH:
>>> main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
>>> ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1
>>>
>>> Source release (checksums and signatures are available at the same
>>> location):
>>> https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
>>> PGP release keys (signed using 7975062401944786):
>>> https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be
>>> open
>>> for (at least) 72 hours.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)
>>>
>>> I will work with community members to provide convenience packaging over
>>> the next few days.
>>> The documentation repo will be updated as we move along.
>>>
>>>
>>>
>>> --
>>> Daan
>>>
>>> rohit.ya...@shapeblue.com
>>> www.shapeblue.com
>>> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
>>> @shapeblue
>>>
>>>
>>>
>>>
>>
>> --
>> Regards,
>> Hean Seng
>>
>
>
> --
> Regards,
> Hean Seng
>


-- 
Regards,
Hean Seng



Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-26 Thread Hean Seng
leDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:144)
>>
>> at or
>>
>> On Thu, Dec 24, 2020 at 11:14 AM Rohit Yadav 
>> wrote:
>>
>>>
>>> All,
>>>
>>> Here are the convenience packages build from 4.15.0.0-RC3 if you don't
>>> want to build CloudStack from the source artifacts:
>>>
>>> Packages: (Debian, CentOS7, and CentOS8)
>>> http://download.cloudstack.org/testing/4.15.0.0-rc3/
>>>
>>> 4.15 systemvmtemplate:
>>> http://download.cloudstack.org/systemvm/4.15/
>>>
>>> Build from the master branch of
>>> https://github.com/apache/cloudstack-documentation (if/after voting
>>> passes, we'll update and publish the docs):
>>> http://docs.cloudstack.apache.org/en/master/upgrading/
>>>
>>> Additional notes:
>>>   *   The new UI is bundled within the cloudstack-management package and
>>> is shipped as the default UI served at /client, old UI will be
>>> served via /client/legacy. Most users don't need to do any
>>> separate installation or perform an installation step.
>>>   *   We've added support for CentOS8 with 4.15 but CentOS8 will EOL in
>>> Dec 2021 (https://wiki.centos.org/About/Product).
>>>
>>>
>>> Regards.
>>>
>>> 
>>> From: Daan Hoogland 
>>> Sent: Wednesday, December 23, 2020 23:13
>>> To: users ; dev 
>>> Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>>>
>>> LS,
>>> After fixing another few blockers, we have an RC3, The changes (other
>>> than
>>> bundling) are mostly interesting for those working with templates and on
>>> vmware.
>>>
>>> We are voting for the new UI and the main code.
>>>
>>> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
>>> separate but as agreed upon before this will be merged in coming
>>> releases,
>>> at least from a version management point of view.
>>> I've created a 4.15.0.0 release candidate, with the following artifacts
>>> up
>>> for a vote:Git Branches:
>>> main code:
>>>
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
>>> <
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124
>>> >
>>> ui code:
>>> <
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0
>>> >
>>>
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
>>> and Commit SH:
>>> main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
>>> ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1
>>>
>>> Source release (checksums and signatures are available at the same
>>> location):
>>> https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
>>> PGP release keys (signed using 7975062401944786):
>>> https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be
>>> open
>>> for (at least) 72 hours.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)
>>>
>>> I will work with community members to provide convenience packaging over
>>> the next few days.
>>> The documentation repo will be updated as we move along.
>>>
>>>
>>>
>>> --
>>> Daan
>>>
>>> rohit.ya...@shapeblue.com
>>> www.shapeblue.com
>>> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
>>> @shapeblue
>>>
>>>
>>>
>>>
>>
>> --
>> Regards,
>> Hean Seng
>>
>
>
> --
> Regards,
> Hean Seng
>


-- 
Regards,
Hean Seng


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-26 Thread Hean Seng
020-12-26 09:33:56,361 ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:)
> Error executing: ALTER TABLE `cloud`.`project_account`  ADD COLUMN
> `user_id` bigint unsigned COMMENT 'ID of user to be added to the project'
> AFTER `account_id`,  ADD CONSTRAINT `fk_project_account__user_id` FOREIGN
> KEY `fk_project_account__user_id`(`user_id`) REFERENCES `user`(`id`) ON
> DELETE CASCADE,  ADD COLUMN `project_role_id` bigint unsigned COMMENT
> 'Project role id' AFTER `project_account_id`,  ADD CONSTRAINT
> `fk_project_account__project_role_id` FOREIGN KEY (`project_role_id`)
> REFERENCES `project_role` (`id`) ON DELETE SET NULL,  DROP FOREIGN KEY
> `fk_project_account__account_id`,  DROP INDEX `account_id`
>
> 2020-12-26 09:33:56,362 ERROR [c.c.u.d.ScriptRunner] (main:null) (logid:)
> java.sql.SQLSyntaxErrorException: Can't DROP
> 'fk_project_account__account_id'; check that column/key exists
>
> 2020-12-26 09:33:56,364 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null)
> (logid:) Unable to execute upgrade script
>
> java.sql.SQLSyntaxErrorException: Can't DROP
> 'fk_project_account__account_id'; check that column/key exists
>
> at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:185)
>
> at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87)
>
> at
> com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:203)
>
> at
> com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:258)
>
> at
> com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:342)
>
> at
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.checkIntegrity(CloudStackExtendedLifeCycle.java:64)
>
> at
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:54)
>
> at
> org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
>
> at
> org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
>
> at
> org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
>
> at
> org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
>
> at
> org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
>
> at
> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)
>
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
>
> at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:144)
>
> at or
>
> On Thu, Dec 24, 2020 at 11:14 AM Rohit Yadav 
> wrote:
>
>>
>> All,
>>
>> Here are the convenience packages build from 4.15.0.0-RC3 if you don't
>> want to build CloudStack from the source artifacts:
>>
>> Packages: (Debian, CentOS7, and CentOS8)
>> http://download.cloudstack.org/testing/4.15.0.0-rc3/
>>
>> 4.15 systemvmtemplate:
>> http://download.cloudstack.org/systemvm/4.15/
>>
>> Build from the master branch of
>> https://github.com/apache/cloudstack-documentation (if/after voting
>> passes, we'll update and publish the docs):
>> http://docs.cloudstack.apache.org/en/master/upgrading/
>>
>> Additional notes:
>>   *   The new UI is bundled within the cloudstack-management package and
>> is shipped as the default UI served at /client, old UI will be
>> served via /client/legacy. Most users don't need to do any
>> separate installation or perform an installation step.
>>   *   We've added support for CentOS8 with 4.15 but CentOS8 will EOL in
>> Dec 2021 (https://wiki.centos.org/About/Product).
>>
>>
>> Regards.
>>
>> 
>> From: Daan Hoogland 
>> Sent: Wednesday, December 23, 2020 23:13
>> To: users ; dev 
>> Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>>
>> LS,
>> After fixing another few blockers, we have an RC3, The changes (other than
>> bundling) are mostly interesting for those working with templates and on
>> vmware.
>>
>> We are voting for the new UI and the main code.
>>
>> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
>> separate but as agreed upon before this will be merged in coming releases,
>> at least from a version management point of view.
>> I've created a 4.15.0.0 release candidate, with the following artifacts up
>

Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-26 Thread Hean Seng
(DefaultLifecycleProcessor.java:182)

at
org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)

at
org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)

at
org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)

at
org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)

at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)

at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)

at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:144)

at or

On Thu, Dec 24, 2020 at 11:14 AM Rohit Yadav 
wrote:

>
> All,
>
> Here are the convenience packages build from 4.15.0.0-RC3 if you don't
> want to build CloudStack from the source artifacts:
>
> Packages: (Debian, CentOS7, and CentOS8)
> http://download.cloudstack.org/testing/4.15.0.0-rc3/
>
> 4.15 systemvmtemplate:
> http://download.cloudstack.org/systemvm/4.15/
>
> Build from the master branch of
> https://github.com/apache/cloudstack-documentation (if/after voting
> passes, we'll update and publish the docs):
> http://docs.cloudstack.apache.org/en/master/upgrading/
>
> Additional notes:
>   *   The new UI is bundled within the cloudstack-management package and
> is shipped as the default UI served at /client, old UI will be
> served via /client/legacy. Most users don't need to do any
> separate installation or perform an installation step.
>   *   We've added support for CentOS8 with 4.15 but CentOS8 will EOL in
> Dec 2021 (https://wiki.centos.org/About/Product).
>
>
> Regards.
>
> 
> From: Daan Hoogland 
> Sent: Wednesday, December 23, 2020 23:13
> To: users ; dev 
> Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]
>
> LS,
> After fixing another few blockers, we have an RC3, The changes (other than
> bundling) are mostly interesting for those working with templates and on
> vmware.
>
> We are voting for the new UI and the main code.
>
> The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
> separate but as agreed upon before this will be merged in coming releases,
> at least from a version management point of view.
> I've created a 4.15.0.0 release candidate, with the following artifacts up
> for a vote:Git Branches:
> main code:
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
> <
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124
> >
> ui code:
> <
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0
> >
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
> and Commit SH:
> main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
> ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
> PGP release keys (signed using 7975062401944786):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be
> open
> for (at least) 72 hours.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)
>
> I will work with community members to provide convenience packaging over
> the next few days.
> The documentation repo will be updated as we move along.
>
>
>
> --
> Daan
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
> @shapeblue
>
>
>
>

-- 
Regards,
Hean Seng


Re: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-23 Thread Rohit Yadav

All,

Here are the convenience packages build from 4.15.0.0-RC3 if you don't want to 
build CloudStack from the source artifacts:

Packages: (Debian, CentOS7, and CentOS8)
http://download.cloudstack.org/testing/4.15.0.0-rc3/

4.15 systemvmtemplate:
http://download.cloudstack.org/systemvm/4.15/

Build from the master branch of 
https://github.com/apache/cloudstack-documentation (if/after voting passes, 
we'll update and publish the docs):
http://docs.cloudstack.apache.org/en/master/upgrading/

Additional notes:
  *   The new UI is bundled within the cloudstack-management package and is 
shipped as the default UI served at /client, old UI will be served 
via /client/legacy. Most users don't need to do any separate 
installation or perform an installation step.
  *   We've added support for CentOS8 with 4.15 but CentOS8 will EOL in Dec 
2021 (https://wiki.centos.org/About/Product).


Regards.


From: Daan Hoogland 
Sent: Wednesday, December 23, 2020 23:13
To: users ; dev 
Subject: [VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

LS,
After fixing another few blockers, we have an RC3, The changes (other than
bundling) are mostly interesting for those working with templates and on
vmware.

We are voting for the new UI and the main code.

The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
separate but as agreed upon before this will be merged in coming releases,
at least from a version management point of view.
I've created a 4.15.0.0 release candidate, with the following artifacts up
for a vote:Git Branches:
main code:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632
<https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201214T1124>
ui code:
<https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=shortlog;h=refs/tags/1.0>
https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
and Commit SH:
main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
PGP release keys (signed using 7975062401944786):
https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be open
for (at least) 72 hours.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)

I will work with community members to provide convenience packaging over
the next few days.
The documentation repo will be updated as we move along.



--
Daan

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



[VOTE] Apache Cloudstack 4.15.0.0 and UI [RC3]

2020-12-23 Thread Daan Hoogland
LS,
After fixing another few blockers, we have an RC3, The changes (other than
bundling) are mostly interesting for those working with templates and on
vmware.

We are voting for the new UI and the main code.

The candidate release branch is 4.15.0.0-RC20201223T1632. The UI is still
separate but as agreed upon before this will be merged in coming releases,
at least from a version management point of view.
I've created a 4.15.0.0 release candidate, with the following artifacts up
for a vote:Git Branches:
main code:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.15.0.0-RC20201223T1632

ui code:

https://git-wip-us.apache.org/repos/asf?p=cloudstack-primate.git;a=tag;h=refs/tags/1.0
and Commit SH:
main code: 01b3e361c7bb81fd1ea822faddd6594e52bb00c1
ui code: 0593302dd53ac3203d3ab43b62d890605910f3e1

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.15.0.0/ (rev. 45059)
PGP release keys (signed using 7975062401944786):
https://dist.apache.org/repos/dist/release/cloudstack/KEYSVote will be open
for (at least) 72 hours.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)

I will work with community members to provide convenience packaging over
the next few days.
The documentation repo will be updated as we move along.



-- 
Daan