Re: KVM + Ceph volume attach problem

2023-12-18 Thread Andrei Mikhailovsky
Thanks, Jayanth,

I've tried it and it didn't solve the issue. I will check out the bug page to 
open a ticket.

Cheers
- Original Message -
> From: "Jayanth Reddy" 
> To: "users" 
> Sent: Sunday, 17 December, 2023 23:46:29
> Subject: Re: KVM + Ceph volume attach problem

> Hello Andrei,
> Please try setting "default.page.size" to 500 or lesser and see if the issue
> still persists. IIRC, there were a couple of PRs merged to 4.17.x for dealing
> with such large items in the API response and aimed at focusing the
> improvements in UI.
> 
> We've also got v4.16.1.0 where there are over 4000 compute offerings with page
> "default.page.size" being 2000 where it takes 10 to 15 seconds for the first
> page to the returned with 20 items. I've not experienced any weird responses
> from the API though.
> 
> 
> Regards,
> Jayanth
> ________________
> From: Andrei Mikhailovsky 
> Sent: Monday, December 18, 2023 2:41:38 AM
> To: users 
> Subject: Re: KVM + Ceph volume attach problem
> 
> Sure, here are the values for:
> 
> default.page.size: 5000
> default.ui.page.size: 20
> 
> My setup is: ACS: 4.18.1.0 ; Ceph: 17.2.7
> 
> The cluster has been set up around 10 years ago with incremental upgrades of
> every major version. I've done most of the minor version upgrades too, but may
> have missed one or two over the 10 years period.
> 
> I have two management servers with are running active/active. I've tested with
> one of management servers offline and still have this issue. The was no
> infrastructure changes done for a good few years. The only changes were done
> were the standard os level security updates and minor version updates for both
> ACS and Ceph.
> 
> Thanks for trying to help.
> 
> Andrei
> 
> - Original Message -
>> From: "Jayanth Reddy" 
>> To: "users" 
>> Sent: Sunday, 17 December, 2023 15:35:16
>> Subject: Re: KVM + Ceph volume attach problem
> 
>> Hello Andrei,
>> Please share the value set for "default.page.size" & "default.ui.page.size"
>> in your global settings. I've got the same setup v4.18.1.0 with Ceph
>> v18.2.0 and I don't seem to experience this issue. Is this a new setup or
>> upgraded one from earlier versions? How are your management servers set up,
>> are they behind a Load Balancer, and if yes, have you tried testing with
>> individual management server endpoints? Also please help me in
>> understanding whether there was any infrastructure change done recently.
>>
>> Regards,
>> Jayanth Reddy
>>
>> On Sun, Dec 17, 2023 at 6:15 PM Andrei Mikhailovsky
>>  wrote:
>>
>>> Hi Stephan,
>>>
>>> I've checked the browser cache and it's not what is causing the problem.
>>> Done a few private sessions and the issue persists. I've done some more
>>> testing and I think it might relate to some sort of timeout / delay when
>>> the web gui retrieves the list of vms when I try to attach a volume.
>>>
>>> So, I click on the attach icon and I have a new modal window with a
>>> spinning circle. The circle spins for about 5 seconds or so and goes away.
>>> I click on the VM ID and it shows me about 5-6 vms. I am expecting at least
>>> about 15 in the list. Now, when I type the name of the vm (which is not in
>>> the list that is shown up to begin with) in the field and wait about 15-20
>>> seconds, the vm all of a sudden is shown. After that I delete the name that
>>> I've just typed and now the list is fully populated with about 15 or so vms.
>>>
>>> This happens every time. I've restarted the ACS, the database service,
>>> I've even restarted the ACS server itself and the DB servers. the behaviour
>>> is repeatable. It happens in Safari and Chrome.
>>>
>>> Very very strange.
>>>
>>> Andrei
>>>
>>> - Original Message -
>>> > From: "Andrei Mikhailovsky" 
>>> > To: "users" 
>>> > Sent: Friday, 15 December, 2023 12:44:58
>>> > Subject: Re: KVM + Ceph volume attach problem
>>>
>>> > Stephan, thanks for the quick reply. I doubt the browser cache cleaning
>>> was
>>> > done. Let me check using Private window to see if the problem is with the
>>> > caches.
>>> >
>>> > Cheers
>>> >
>>> > - Original Message -
>>> >> From: "Stephan Bienek" 
>>> >&g

Re: KVM + Ceph volume attach problem

2023-12-17 Thread Jayanth Reddy
Hello Andrei,
Please also create an issue on GitHub if this doesn't work.

Regards,
Jayanth

From: Jayanth Reddy 
Sent: Monday, December 18, 2023 5:16:29 AM
To: users@cloudstack.apache.org 
Subject: Re: KVM + Ceph volume attach problem

Hello Andrei,
Please try setting "default.page.size" to 500 or lesser and see if the issue 
still persists. IIRC, there were a couple of PRs merged to 4.17.x for dealing 
with such large items in the API response and aimed at focusing the 
improvements in UI.

We've also got v4.16.1.0 where there are over 4000 compute offerings with page 
"default.page.size" being 2000 where it takes 10 to 15 seconds for the first 
page to the returned with 20 items. I've not experienced any weird responses 
from the API though.


Regards,
Jayanth

From: Andrei Mikhailovsky 
Sent: Monday, December 18, 2023 2:41:38 AM
To: users 
Subject: Re: KVM + Ceph volume attach problem

Sure, here are the values for:

default.page.size: 5000
default.ui.page.size: 20

My setup is: ACS: 4.18.1.0 ; Ceph: 17.2.7

The cluster has been set up around 10 years ago with incremental upgrades of 
every major version. I've done most of the minor version upgrades too, but may 
have missed one or two over the 10 years period.

I have two management servers with are running active/active. I've tested with 
one of management servers offline and still have this issue. The was no 
infrastructure changes done for a good few years. The only changes were done 
were the standard os level security updates and minor version updates for both 
ACS and Ceph.

Thanks for trying to help.

Andrei

- Original Message -
> From: "Jayanth Reddy" 
> To: "users" 
> Sent: Sunday, 17 December, 2023 15:35:16
> Subject: Re: KVM + Ceph volume attach problem

> Hello Andrei,
> Please share the value set for "default.page.size" & "default.ui.page.size"
> in your global settings. I've got the same setup v4.18.1.0 with Ceph
> v18.2.0 and I don't seem to experience this issue. Is this a new setup or
> upgraded one from earlier versions? How are your management servers set up,
> are they behind a Load Balancer, and if yes, have you tried testing with
> individual management server endpoints? Also please help me in
> understanding whether there was any infrastructure change done recently.
>
> Regards,
> Jayanth Reddy
>
> On Sun, Dec 17, 2023 at 6:15 PM Andrei Mikhailovsky
>  wrote:
>
>> Hi Stephan,
>>
>> I've checked the browser cache and it's not what is causing the problem.
>> Done a few private sessions and the issue persists. I've done some more
>> testing and I think it might relate to some sort of timeout / delay when
>> the web gui retrieves the list of vms when I try to attach a volume.
>>
>> So, I click on the attach icon and I have a new modal window with a
>> spinning circle. The circle spins for about 5 seconds or so and goes away.
>> I click on the VM ID and it shows me about 5-6 vms. I am expecting at least
>> about 15 in the list. Now, when I type the name of the vm (which is not in
>> the list that is shown up to begin with) in the field and wait about 15-20
>> seconds, the vm all of a sudden is shown. After that I delete the name that
>> I've just typed and now the list is fully populated with about 15 or so vms.
>>
>> This happens every time. I've restarted the ACS, the database service,
>> I've even restarted the ACS server itself and the DB servers. the behaviour
>> is repeatable. It happens in Safari and Chrome.
>>
>> Very very strange.
>>
>> Andrei
>>
>> - Original Message -
>> > From: "Andrei Mikhailovsky" 
>> > To: "users" 
>> > Sent: Friday, 15 December, 2023 12:44:58
>> > Subject: Re: KVM + Ceph volume attach problem
>>
>> > Stephan, thanks for the quick reply. I doubt the browser cache cleaning
>> was
>> > done. Let me check using Private window to see if the problem is with the
>> > caches.
>> >
>> > Cheers
>> >
>> > - Original Message -
>> >> From: "Stephan Bienek" 
>> >> To: "users" 
>> >> Sent: Friday, 15 December, 2023 11:14:25
>> >> Subject: Re: KVM + Ceph volume attach problem
>> >
>> >> Hello Andrei,
>> >>
>> >> we are using Ceph with RBD images on CloudStack 4.18.1.0 as well but i
>> can not
>> >> reproduce the issue you are observing.
>> >>
>> >> Using the WebUI i created a new Volume, selected "Attach Disk" and 

Re: KVM + Ceph volume attach problem

2023-12-17 Thread Jayanth Reddy
Hello Andrei,
Please try setting "default.page.size" to 500 or lesser and see if the issue 
still persists. IIRC, there were a couple of PRs merged to 4.17.x for dealing 
with such large items in the API response and aimed at focusing the 
improvements in UI.

We've also got v4.16.1.0 where there are over 4000 compute offerings with page 
"default.page.size" being 2000 where it takes 10 to 15 seconds for the first 
page to the returned with 20 items. I've not experienced any weird responses 
from the API though.


Regards,
Jayanth

From: Andrei Mikhailovsky 
Sent: Monday, December 18, 2023 2:41:38 AM
To: users 
Subject: Re: KVM + Ceph volume attach problem

Sure, here are the values for:

default.page.size: 5000
default.ui.page.size: 20

My setup is: ACS: 4.18.1.0 ; Ceph: 17.2.7

The cluster has been set up around 10 years ago with incremental upgrades of 
every major version. I've done most of the minor version upgrades too, but may 
have missed one or two over the 10 years period.

I have two management servers with are running active/active. I've tested with 
one of management servers offline and still have this issue. The was no 
infrastructure changes done for a good few years. The only changes were done 
were the standard os level security updates and minor version updates for both 
ACS and Ceph.

Thanks for trying to help.

Andrei

- Original Message -
> From: "Jayanth Reddy" 
> To: "users" 
> Sent: Sunday, 17 December, 2023 15:35:16
> Subject: Re: KVM + Ceph volume attach problem

> Hello Andrei,
> Please share the value set for "default.page.size" & "default.ui.page.size"
> in your global settings. I've got the same setup v4.18.1.0 with Ceph
> v18.2.0 and I don't seem to experience this issue. Is this a new setup or
> upgraded one from earlier versions? How are your management servers set up,
> are they behind a Load Balancer, and if yes, have you tried testing with
> individual management server endpoints? Also please help me in
> understanding whether there was any infrastructure change done recently.
>
> Regards,
> Jayanth Reddy
>
> On Sun, Dec 17, 2023 at 6:15 PM Andrei Mikhailovsky
>  wrote:
>
>> Hi Stephan,
>>
>> I've checked the browser cache and it's not what is causing the problem.
>> Done a few private sessions and the issue persists. I've done some more
>> testing and I think it might relate to some sort of timeout / delay when
>> the web gui retrieves the list of vms when I try to attach a volume.
>>
>> So, I click on the attach icon and I have a new modal window with a
>> spinning circle. The circle spins for about 5 seconds or so and goes away.
>> I click on the VM ID and it shows me about 5-6 vms. I am expecting at least
>> about 15 in the list. Now, when I type the name of the vm (which is not in
>> the list that is shown up to begin with) in the field and wait about 15-20
>> seconds, the vm all of a sudden is shown. After that I delete the name that
>> I've just typed and now the list is fully populated with about 15 or so vms.
>>
>> This happens every time. I've restarted the ACS, the database service,
>> I've even restarted the ACS server itself and the DB servers. the behaviour
>> is repeatable. It happens in Safari and Chrome.
>>
>> Very very strange.
>>
>> Andrei
>>
>> - Original Message -
>> > From: "Andrei Mikhailovsky" 
>> > To: "users" 
>> > Sent: Friday, 15 December, 2023 12:44:58
>> > Subject: Re: KVM + Ceph volume attach problem
>>
>> > Stephan, thanks for the quick reply. I doubt the browser cache cleaning
>> was
>> > done. Let me check using Private window to see if the problem is with the
>> > caches.
>> >
>> > Cheers
>> >
>> > - Original Message -
>> >> From: "Stephan Bienek" 
>> >> To: "users" 
>> >> Sent: Friday, 15 December, 2023 11:14:25
>> >> Subject: Re: KVM + Ceph volume attach problem
>> >
>> >> Hello Andrei,
>> >>
>> >> we are using Ceph with RBD images on CloudStack 4.18.1.0 as well but i
>> can not
>> >> reproduce the issue you are observing.
>> >>
>> >> Using the WebUI i created a new Volume, selected "Attach Disk" and all
>> VMs are
>> >> shown, running and stopped.
>> >> Attaching to a running VM within the WebUI works as expected in my
>> setup.
>> >>
>> >> Probably a simple thing, but did you/the users try cleaning you

Re: KVM + Ceph volume attach problem

2023-12-17 Thread Andrei Mikhailovsky
Sure, here are the values for: 

default.page.size: 5000
default.ui.page.size: 20

My setup is: ACS: 4.18.1.0 ; Ceph: 17.2.7

The cluster has been set up around 10 years ago with incremental upgrades of 
every major version. I've done most of the minor version upgrades too, but may 
have missed one or two over the 10 years period.

I have two management servers with are running active/active. I've tested with 
one of management servers offline and still have this issue. The was no 
infrastructure changes done for a good few years. The only changes were done 
were the standard os level security updates and minor version updates for both 
ACS and Ceph.

Thanks for trying to help.

Andrei

- Original Message -
> From: "Jayanth Reddy" 
> To: "users" 
> Sent: Sunday, 17 December, 2023 15:35:16
> Subject: Re: KVM + Ceph volume attach problem

> Hello Andrei,
> Please share the value set for "default.page.size" & "default.ui.page.size"
> in your global settings. I've got the same setup v4.18.1.0 with Ceph
> v18.2.0 and I don't seem to experience this issue. Is this a new setup or
> upgraded one from earlier versions? How are your management servers set up,
> are they behind a Load Balancer, and if yes, have you tried testing with
> individual management server endpoints? Also please help me in
> understanding whether there was any infrastructure change done recently.
> 
> Regards,
> Jayanth Reddy
> 
> On Sun, Dec 17, 2023 at 6:15 PM Andrei Mikhailovsky
>  wrote:
> 
>> Hi Stephan,
>>
>> I've checked the browser cache and it's not what is causing the problem.
>> Done a few private sessions and the issue persists. I've done some more
>> testing and I think it might relate to some sort of timeout / delay when
>> the web gui retrieves the list of vms when I try to attach a volume.
>>
>> So, I click on the attach icon and I have a new modal window with a
>> spinning circle. The circle spins for about 5 seconds or so and goes away.
>> I click on the VM ID and it shows me about 5-6 vms. I am expecting at least
>> about 15 in the list. Now, when I type the name of the vm (which is not in
>> the list that is shown up to begin with) in the field and wait about 15-20
>> seconds, the vm all of a sudden is shown. After that I delete the name that
>> I've just typed and now the list is fully populated with about 15 or so vms.
>>
>> This happens every time. I've restarted the ACS, the database service,
>> I've even restarted the ACS server itself and the DB servers. the behaviour
>> is repeatable. It happens in Safari and Chrome.
>>
>> Very very strange.
>>
>> Andrei
>>
>> - Original Message -
>> > From: "Andrei Mikhailovsky" 
>> > To: "users" 
>> > Sent: Friday, 15 December, 2023 12:44:58
>> > Subject: Re: KVM + Ceph volume attach problem
>>
>> > Stephan, thanks for the quick reply. I doubt the browser cache cleaning
>> was
>> > done. Let me check using Private window to see if the problem is with the
>> > caches.
>> >
>> > Cheers
>> >
>> > - Original Message -
>> >> From: "Stephan Bienek" 
>> >> To: "users" 
>> >> Sent: Friday, 15 December, 2023 11:14:25
>> >> Subject: Re: KVM + Ceph volume attach problem
>> >
>> >> Hello Andrei,
>> >>
>> >> we are using Ceph with RBD images on CloudStack 4.18.1.0 as well but i
>> can not
>> >> reproduce the issue you are observing.
>> >>
>> >> Using the WebUI i created a new Volume, selected "Attach Disk" and all
>> VMs are
>> >> shown, running and stopped.
>> >> Attaching to a running VM within the WebUI works as expected in my
>> setup.
>> >>
>> >> Probably a simple thing, but did you/the users try cleaning your
>> browser cache
>> >> after the CloudStack Update?
>> >>
>> >> Best regards,
>> >> Stephan
>> >>
>> >>> Andrei Mikhailovsky  hat am 15.12.2023
>> 11:49 CET
>> >>> geschrieben:
>> >>>
>> >>>
>> >>> Hello guys,
>> >>>
>> >>> Any updates or thoughts on what's causing the issue with attaching
>> volumes in
>> >>> the latest ACS? I still can't attach any volumes to a running vis from
>> the ACS
>> >>> web gui. This is a bit of a problem. As I've mentioned earlier, no
>> e

Re: KVM + Ceph volume attach problem

2023-12-17 Thread Jayanth Reddy
Hello Andrei,
Please share the value set for "default.page.size" & "default.ui.page.size"
in your global settings. I've got the same setup v4.18.1.0 with Ceph
v18.2.0 and I don't seem to experience this issue. Is this a new setup or
upgraded one from earlier versions? How are your management servers set up,
are they behind a Load Balancer, and if yes, have you tried testing with
individual management server endpoints? Also please help me in
understanding whether there was any infrastructure change done recently.

Regards,
Jayanth Reddy

On Sun, Dec 17, 2023 at 6:15 PM Andrei Mikhailovsky
 wrote:

> Hi Stephan,
>
> I've checked the browser cache and it's not what is causing the problem.
> Done a few private sessions and the issue persists. I've done some more
> testing and I think it might relate to some sort of timeout / delay when
> the web gui retrieves the list of vms when I try to attach a volume.
>
> So, I click on the attach icon and I have a new modal window with a
> spinning circle. The circle spins for about 5 seconds or so and goes away.
> I click on the VM ID and it shows me about 5-6 vms. I am expecting at least
> about 15 in the list. Now, when I type the name of the vm (which is not in
> the list that is shown up to begin with) in the field and wait about 15-20
> seconds, the vm all of a sudden is shown. After that I delete the name that
> I've just typed and now the list is fully populated with about 15 or so vms.
>
> This happens every time. I've restarted the ACS, the database service,
> I've even restarted the ACS server itself and the DB servers. the behaviour
> is repeatable. It happens in Safari and Chrome.
>
> Very very strange.
>
> Andrei
>
> ----- Original Message -
> > From: "Andrei Mikhailovsky" 
> > To: "users" 
> > Sent: Friday, 15 December, 2023 12:44:58
> > Subject: Re: KVM + Ceph volume attach problem
>
> > Stephan, thanks for the quick reply. I doubt the browser cache cleaning
> was
> > done. Let me check using Private window to see if the problem is with the
> > caches.
> >
> > Cheers
> >
> > - Original Message -
> >> From: "Stephan Bienek" 
> >> To: "users" 
> >> Sent: Friday, 15 December, 2023 11:14:25
> >> Subject: Re: KVM + Ceph volume attach problem
> >
> >> Hello Andrei,
> >>
> >> we are using Ceph with RBD images on CloudStack 4.18.1.0 as well but i
> can not
> >> reproduce the issue you are observing.
> >>
> >> Using the WebUI i created a new Volume, selected "Attach Disk" and all
> VMs are
> >> shown, running and stopped.
> >> Attaching to a running VM within the WebUI works as expected in my
> setup.
> >>
> >> Probably a simple thing, but did you/the users try cleaning your
> browser cache
> >> after the CloudStack Update?
> >>
> >> Best regards,
> >> Stephan
> >>
> >>> Andrei Mikhailovsky  hat am 15.12.2023
> 11:49 CET
> >>> geschrieben:
> >>>
> >>>
> >>> Hello guys,
> >>>
> >>> Any updates or thoughts on what's causing the issue with attaching
> volumes in
> >>> the latest ACS? I still can't attach any volumes to a running vis from
> the ACS
> >>> web gui. This is a bit of a problem. As I've mentioned earlier, no
> errors in
> >>> the management.log. The attaching works okay from the cmk. However,
> most of the
> >>> users that we have are using web gui to manage their vms.
> >>>
> >>> Any help would be appreciated.
> >>>
> >>> Cheers
> >>>
> >>> Andrei
> >>>
> >>> - Original Message -
> >>> > From: "Andrei Mikhailovsky" 
> >>> > To: "users" 
> >>> > Sent: Monday, 11 December, 2023 11:39:27
> >>> > Subject: Re: KVM + Ceph volume attach problem
> >>>
> >>> > Hey Wei,
> >>> >
> >>> > I tested and I can attach it from the cloudmonkey just fine.
> >>> >
> >>> > Do you know what could be causing the issue in the GUI?
> >>> >
> >>> > Cheers
> >>> >
> >>> > Andrei
> >>> >
> >>> > - Original Message -
> >>> >> From: "Wei ZHOU" 
> >>> >> To: "users" 
> >>> >> Sent: Monday, 11 December, 2023 10:15:20
> >>> >

Re: KVM + Ceph volume attach problem

2023-12-17 Thread Andrei Mikhailovsky
Hi Stephan,

I've checked the browser cache and it's not what is causing the problem. Done a 
few private sessions and the issue persists. I've done some more testing and I 
think it might relate to some sort of timeout / delay when the web gui 
retrieves the list of vms when I try to attach a volume.

So, I click on the attach icon and I have a new modal window with a spinning 
circle. The circle spins for about 5 seconds or so and goes away. I click on 
the VM ID and it shows me about 5-6 vms. I am expecting at least about 15 in 
the list. Now, when I type the name of the vm (which is not in the list that is 
shown up to begin with) in the field and wait about 15-20 seconds, the vm all 
of a sudden is shown. After that I delete the name that I've just typed and now 
the list is fully populated with about 15 or so vms.

This happens every time. I've restarted the ACS, the database service, I've 
even restarted the ACS server itself and the DB servers. the behaviour is 
repeatable. It happens in Safari and Chrome.

Very very strange.

Andrei 

- Original Message -
> From: "Andrei Mikhailovsky" 
> To: "users" 
> Sent: Friday, 15 December, 2023 12:44:58
> Subject: Re: KVM + Ceph volume attach problem

> Stephan, thanks for the quick reply. I doubt the browser cache cleaning was
> done. Let me check using Private window to see if the problem is with the
> caches.
> 
> Cheers
> 
> - Original Message -
>> From: "Stephan Bienek" 
>> To: "users" 
>> Sent: Friday, 15 December, 2023 11:14:25
>> Subject: Re: KVM + Ceph volume attach problem
> 
>> Hello Andrei,
>> 
>> we are using Ceph with RBD images on CloudStack 4.18.1.0 as well but i can 
>> not
>> reproduce the issue you are observing.
>> 
>> Using the WebUI i created a new Volume, selected "Attach Disk" and all VMs 
>> are
>> shown, running and stopped.
>> Attaching to a running VM within the WebUI works as expected in my setup.
>> 
>> Probably a simple thing, but did you/the users try cleaning your browser 
>> cache
>> after the CloudStack Update?
>> 
>> Best regards,
>> Stephan
>> 
>>> Andrei Mikhailovsky  hat am 15.12.2023 11:49 CET
>>> geschrieben:
>>> 
>>>  
>>> Hello guys,
>>> 
>>> Any updates or thoughts on what's causing the issue with attaching volumes 
>>> in
>>> the latest ACS? I still can't attach any volumes to a running vis from the 
>>> ACS
>>> web gui. This is a bit of a problem. As I've mentioned earlier, no errors in
>>> the management.log. The attaching works okay from the cmk. However, most of 
>>> the
>>> users that we have are using web gui to manage their vms.
>>> 
>>> Any help would be appreciated.
>>> 
>>> Cheers
>>> 
>>> Andrei
>>> 
>>> - Original Message -
>>> > From: "Andrei Mikhailovsky" 
>>> > To: "users" 
>>> > Sent: Monday, 11 December, 2023 11:39:27
>>> > Subject: Re: KVM + Ceph volume attach problem
>>> 
>>> > Hey Wei,
>>> > 
>>> > I tested and I can attach it from the cloudmonkey just fine.
>>> > 
>>> > Do you know what could be causing the issue in the GUI?
>>> > 
>>> > Cheers
>>> > 
>>> > Andrei
>>> > 
>>> > - Original Message -
>>> >> From: "Wei ZHOU" 
>>> >> To: "users" 
>>> >> Sent: Monday, 11 December, 2023 10:15:20
>>> >> Subject: Re: KVM + Ceph volume attach problem
>>> > 
>>> >> Hi,
>>> >> 
>>> >> Do the volumes/vms belong to the same account ?
>>> >> 
>>> >> Can you try with cmk/cloudmonkey ?
>>> >> 
>>> >> -Wei
>>> >> 
>>> >> On Mon, 11 Dec 2023 at 11:05, Andrei Mikhailovsky 
>>> >> 
>>> >> wrote:
>>> >> 
>>> >>> Hello guys,
>>> >>>
>>> >>> I am having a strange issue which I've not noticed before. I am running
>>> >>> ACS version 4.18.1.0 with ceph using rbd for images. I've created a new
>>> >>> volume and trying to attach it. However, the list of VMs that I can 
>>> >>> attach
>>> >>> a volume to is only showing STOPPED VMs. I can't seem to attach any 
>>> >>> volumes
>>> >>> to a running vm. I've done the usual, management server logs checking,
>>> >>> restarting the acs management server, etc. It didn't help. I've also
>>> >>> noticed that the nfs storage pool volumes are experiencing the same 
>>> >>> issue.
>>> >>>
>>> >>> I am sure that I was able to attach volumes to a running vm in the past.
>>> >>> What could be causing the issue?
>>> >>>
>>> >>> Cheers
>>> >>>
> > > > >> Andrei


Re: KVM + Ceph volume attach problem

2023-12-15 Thread Andrei Mikhailovsky
Stephan, thanks for the quick reply. I doubt the browser cache cleaning was 
done. Let me check using Private window to see if the problem is with the 
caches.

Cheers

- Original Message -
> From: "Stephan Bienek" 
> To: "users" 
> Sent: Friday, 15 December, 2023 11:14:25
> Subject: Re: KVM + Ceph volume attach problem

> Hello Andrei,
> 
> we are using Ceph with RBD images on CloudStack 4.18.1.0 as well but i can not
> reproduce the issue you are observing.
> 
> Using the WebUI i created a new Volume, selected "Attach Disk" and all VMs are
> shown, running and stopped.
> Attaching to a running VM within the WebUI works as expected in my setup.
> 
> Probably a simple thing, but did you/the users try cleaning your browser cache
> after the CloudStack Update?
> 
> Best regards,
> Stephan
> 
>> Andrei Mikhailovsky  hat am 15.12.2023 11:49 CET
>> geschrieben:
>> 
>>  
>> Hello guys,
>> 
>> Any updates or thoughts on what's causing the issue with attaching volumes in
>> the latest ACS? I still can't attach any volumes to a running vis from the 
>> ACS
>> web gui. This is a bit of a problem. As I've mentioned earlier, no errors in
>> the management.log. The attaching works okay from the cmk. However, most of 
>> the
>> users that we have are using web gui to manage their vms.
>> 
>> Any help would be appreciated.
>> 
>> Cheers
>> 
>> Andrei
>> 
>> - Original Message -
>> > From: "Andrei Mikhailovsky" 
>> > To: "users" 
>> > Sent: Monday, 11 December, 2023 11:39:27
>> > Subject: Re: KVM + Ceph volume attach problem
>> 
>> > Hey Wei,
>> > 
>> > I tested and I can attach it from the cloudmonkey just fine.
>> > 
>> > Do you know what could be causing the issue in the GUI?
>> > 
>> > Cheers
>> > 
>> > Andrei
>> > 
>> > - Original Message -
>> >> From: "Wei ZHOU" 
>> >> To: "users" 
>> >> Sent: Monday, 11 December, 2023 10:15:20
>> >> Subject: Re: KVM + Ceph volume attach problem
>> > 
>> >> Hi,
>> >> 
>> >> Do the volumes/vms belong to the same account ?
>> >> 
>> >> Can you try with cmk/cloudmonkey ?
>> >> 
>> >> -Wei
>> >> 
>> >> On Mon, 11 Dec 2023 at 11:05, Andrei Mikhailovsky 
>> >> 
>> >> wrote:
>> >> 
>> >>> Hello guys,
>> >>>
>> >>> I am having a strange issue which I've not noticed before. I am running
>> >>> ACS version 4.18.1.0 with ceph using rbd for images. I've created a new
>> >>> volume and trying to attach it. However, the list of VMs that I can 
>> >>> attach
>> >>> a volume to is only showing STOPPED VMs. I can't seem to attach any 
>> >>> volumes
>> >>> to a running vm. I've done the usual, management server logs checking,
>> >>> restarting the acs management server, etc. It didn't help. I've also
>> >>> noticed that the nfs storage pool volumes are experiencing the same 
>> >>> issue.
>> >>>
>> >>> I am sure that I was able to attach volumes to a running vm in the past.
>> >>> What could be causing the issue?
>> >>>
>> >>> Cheers
>> >>>
> > > >> Andrei


Re: KVM + Ceph volume attach problem

2023-12-15 Thread Stephan Bienek
Hello Andrei,

we are using Ceph with RBD images on CloudStack 4.18.1.0 as well but i can not 
reproduce the issue you are observing.

Using the WebUI i created a new Volume, selected "Attach Disk" and all VMs are 
shown, running and stopped.
Attaching to a running VM within the WebUI works as expected in my setup.

Probably a simple thing, but did you/the users try cleaning your browser cache 
after the CloudStack Update?

Best regards,
Stephan

> Andrei Mikhailovsky  hat am 15.12.2023 11:49 CET 
> geschrieben:
> 
>  
> Hello guys,
> 
> Any updates or thoughts on what's causing the issue with attaching volumes in 
> the latest ACS? I still can't attach any volumes to a running vis from the 
> ACS web gui. This is a bit of a problem. As I've mentioned earlier, no errors 
> in the management.log. The attaching works okay from the cmk. However, most 
> of the users that we have are using web gui to manage their vms.
> 
> Any help would be appreciated.
> 
> Cheers
> 
> Andrei
> 
> - Original Message -
> > From: "Andrei Mikhailovsky" 
> > To: "users" 
> > Sent: Monday, 11 December, 2023 11:39:27
> > Subject: Re: KVM + Ceph volume attach problem
> 
> > Hey Wei,
> > 
> > I tested and I can attach it from the cloudmonkey just fine.
> > 
> > Do you know what could be causing the issue in the GUI?
> > 
> > Cheers
> > 
> > Andrei
> > 
> > - Original Message -
> >> From: "Wei ZHOU" 
> >> To: "users" 
> >> Sent: Monday, 11 December, 2023 10:15:20
> >> Subject: Re: KVM + Ceph volume attach problem
> > 
> >> Hi,
> >> 
> >> Do the volumes/vms belong to the same account ?
> >> 
> >> Can you try with cmk/cloudmonkey ?
> >> 
> >> -Wei
> >> 
> >> On Mon, 11 Dec 2023 at 11:05, Andrei Mikhailovsky 
> >> 
> >> wrote:
> >> 
> >>> Hello guys,
> >>>
> >>> I am having a strange issue which I've not noticed before. I am running
> >>> ACS version 4.18.1.0 with ceph using rbd for images. I've created a new
> >>> volume and trying to attach it. However, the list of VMs that I can attach
> >>> a volume to is only showing STOPPED VMs. I can't seem to attach any 
> >>> volumes
> >>> to a running vm. I've done the usual, management server logs checking,
> >>> restarting the acs management server, etc. It didn't help. I've also
> >>> noticed that the nfs storage pool volumes are experiencing the same issue.
> >>>
> >>> I am sure that I was able to attach volumes to a running vm in the past.
> >>> What could be causing the issue?
> >>>
> >>> Cheers
> >>>
> > >> Andrei


Re: KVM + Ceph volume attach problem

2023-12-15 Thread Andrei Mikhailovsky
Hello guys,

Any updates or thoughts on what's causing the issue with attaching volumes in 
the latest ACS? I still can't attach any volumes to a running vis from the ACS 
web gui. This is a bit of a problem. As I've mentioned earlier, no errors in 
the management.log. The attaching works okay from the cmk. However, most of the 
users that we have are using web gui to manage their vms.

Any help would be appreciated.

Cheers

Andrei

- Original Message -
> From: "Andrei Mikhailovsky" 
> To: "users" 
> Sent: Monday, 11 December, 2023 11:39:27
> Subject: Re: KVM + Ceph volume attach problem

> Hey Wei,
> 
> I tested and I can attach it from the cloudmonkey just fine.
> 
> Do you know what could be causing the issue in the GUI?
> 
> Cheers
> 
> Andrei
> 
> - Original Message -
>> From: "Wei ZHOU" 
>> To: "users" 
>> Sent: Monday, 11 December, 2023 10:15:20
>> Subject: Re: KVM + Ceph volume attach problem
> 
>> Hi,
>> 
>> Do the volumes/vms belong to the same account ?
>> 
>> Can you try with cmk/cloudmonkey ?
>> 
>> -Wei
>> 
>> On Mon, 11 Dec 2023 at 11:05, Andrei Mikhailovsky 
>> wrote:
>> 
>>> Hello guys,
>>>
>>> I am having a strange issue which I've not noticed before. I am running
>>> ACS version 4.18.1.0 with ceph using rbd for images. I've created a new
>>> volume and trying to attach it. However, the list of VMs that I can attach
>>> a volume to is only showing STOPPED VMs. I can't seem to attach any volumes
>>> to a running vm. I've done the usual, management server logs checking,
>>> restarting the acs management server, etc. It didn't help. I've also
>>> noticed that the nfs storage pool volumes are experiencing the same issue.
>>>
>>> I am sure that I was able to attach volumes to a running vm in the past.
>>> What could be causing the issue?
>>>
>>> Cheers
>>>
> >> Andrei


Re: KVM + Ceph volume attach problem

2023-12-11 Thread Andrei Mikhailovsky
Hey Wei,

I tested and I can attach it from the cloudmonkey just fine.

Do you know what could be causing the issue in the GUI?

Cheers

Andrei

- Original Message -
> From: "Wei ZHOU" 
> To: "users" 
> Sent: Monday, 11 December, 2023 10:15:20
> Subject: Re: KVM + Ceph volume attach problem

> Hi,
> 
> Do the volumes/vms belong to the same account ?
> 
> Can you try with cmk/cloudmonkey ?
> 
> -Wei
> 
> On Mon, 11 Dec 2023 at 11:05, Andrei Mikhailovsky 
> wrote:
> 
>> Hello guys,
>>
>> I am having a strange issue which I've not noticed before. I am running
>> ACS version 4.18.1.0 with ceph using rbd for images. I've created a new
>> volume and trying to attach it. However, the list of VMs that I can attach
>> a volume to is only showing STOPPED VMs. I can't seem to attach any volumes
>> to a running vm. I've done the usual, management server logs checking,
>> restarting the acs management server, etc. It didn't help. I've also
>> noticed that the nfs storage pool volumes are experiencing the same issue.
>>
>> I am sure that I was able to attach volumes to a running vm in the past.
>> What could be causing the issue?
>>
>> Cheers
>>
>> Andrei


Re: KVM + Ceph volume attach problem

2023-12-11 Thread Andrei Mikhailovsky
Hi Wei, 

yeah, they are on the same account. I've done testing with a vm in a 
started/stopped state. When it's stopped, I can attach the volume. When I start 
the vm, it is not shown in the list of available VMs.

I will check the cmk, which I've not used for ages tbh.

Cheers

Andrei
- Original Message -
> From: "Wei ZHOU" 
> To: "users" 
> Sent: Monday, 11 December, 2023 10:15:20
> Subject: Re: KVM + Ceph volume attach problem

> Hi,
> 
> Do the volumes/vms belong to the same account ?
> 
> Can you try with cmk/cloudmonkey ?
> 
> -Wei
> 
> On Mon, 11 Dec 2023 at 11:05, Andrei Mikhailovsky 
> wrote:
> 
>> Hello guys,
>>
>> I am having a strange issue which I've not noticed before. I am running
>> ACS version 4.18.1.0 with ceph using rbd for images. I've created a new
>> volume and trying to attach it. However, the list of VMs that I can attach
>> a volume to is only showing STOPPED VMs. I can't seem to attach any volumes
>> to a running vm. I've done the usual, management server logs checking,
>> restarting the acs management server, etc. It didn't help. I've also
>> noticed that the nfs storage pool volumes are experiencing the same issue.
>>
>> I am sure that I was able to attach volumes to a running vm in the past.
>> What could be causing the issue?
>>
>> Cheers
>>
>> Andrei


Re: KVM + Ceph volume attach problem

2023-12-11 Thread Wei ZHOU
Hi,

Do the volumes/vms belong to the same account ?

Can you try with cmk/cloudmonkey ?

-Wei

On Mon, 11 Dec 2023 at 11:05, Andrei Mikhailovsky 
wrote:

> Hello guys,
>
> I am having a strange issue which I've not noticed before. I am running
> ACS version 4.18.1.0 with ceph using rbd for images. I've created a new
> volume and trying to attach it. However, the list of VMs that I can attach
> a volume to is only showing STOPPED VMs. I can't seem to attach any volumes
> to a running vm. I've done the usual, management server logs checking,
> restarting the acs management server, etc. It didn't help. I've also
> noticed that the nfs storage pool volumes are experiencing the same issue.
>
> I am sure that I was able to attach volumes to a running vm in the past.
> What could be causing the issue?
>
> Cheers
>
> Andrei
>