You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Levin Ng <le...@gmail.com> on 2025/06/21 15:46:57 UTC
SharedFS deployed up and running but not functioning
Hi,
I just upgraded to 4.20.1 and trying to evaluate the new SharedFS feature, however when it was deployed and running, the peers in the same guest network could not mount it nor showmount, the VM is pingable and respond to ssh but how can I login that ssharedfs-xxxx-xxxxxx VM to see what’s going on?
Thank you.
Regards,
Levin
Re: SharedFS deployed up and running but not functioning
Posted by Levin Ng <le...@gmail.com>.
Hi Abhisar,
Thanks for your hint, I think I narrowed down the problem, the cloud-config.txt use a detection of $HYPERVISOR == kvm mutually chose BLOCK_DEVICE=vdb as the data device, but all my template use virt-scsi as disk controller, therefore it is sdb, do you know any other way to workaround the disk selection? I believe virt-scsi will be a better choice because fstrim on thin provisioning, what do you think?
Regards,
Levin
On 22 Jun 2025 at 09:37 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
> Hi Levin,
>
> Is ‘showmount -e <shared-fs-ip> showing anything?
> What kind of network is it?
> You will see the SharedFS instance in the Instance List (It will be named ‘sharedfs-<SharedFSName>-..’). You can click on View Console on the Instance to login into SharedFS with root:password.
>
> Regards,
> Abhisar
>
>
>
>
> From: Levin Ng <le...@gmail.com>
> Date: Saturday, 21 June 2025 at 9:17 PM
> To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
> Subject: SharedFS deployed up and running but not functioning
> Hi,
>
> I just upgraded to 4.20.1 and trying to evaluate the new SharedFS feature, however when it was deployed and running, the peers in the same guest network could not mount it nor showmount, the VM is pingable and respond to ssh but how can I login that ssharedfs-xxxx-xxxxxx VM to see what’s going on?
>
>
> Thank you.
>
> Regards,
> Levin
Re: SharedFS deployed up and running but not functioning
Posted by Levin Ng <le...@gmail.com>.
Hi Tata,
Basically you can workaround in vm_tempalte table for existing template or user_vm_details for provisioned VM. My PR just fix non-“osdefault” rootdiskcontroller with Sharedfs, if you want to do so, you can update the cloudstack jar file. Eg "jar uf cloudstack-4.20.1.0.jar conf/fsvm-init.yml"
Regards,
Levin
On 23 Jun 2025 at 21:20 +0800, Chi vediamo <ta...@gmail.com>, wrote:
> Hello Levin,
> Where do you change the the template for the root disk controller, On a running platform? or do I have to go to the Source code?
> plugins/storage/sharedfs/storagevm/src/main/resources/conf/fsvm-init.yml
>
>
> Tata Y.
>
> > On Jun 23, 2025, at 6:08 AM, Levin Ng <le...@gmail.com> wrote:
> >
> > Hi Abhisar,
> >
> > When you do initial installation, the systemvm by default chose virtio as root disk controller, however when you do a upgrade with registering newer version systemvm template, you will have opportunities to choose preferred rootdiskcontroller, in my environment virt-scsi are perform better over virtio, so I choose virt-scsi for all installed template.
> >
> > Regards,
> > Levin
> > On 23 Jun 2025 at 16:52 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
> > > Hi Levin,
> > >
> > > Thanks for creating the PR.
> > > I was just curious to know if you did anything specific for the systemvm template (Used by SharedFS) to use virt-scsi as disk controller?
> > >
> > > Thanks,
> > > Abhisar
> > >
> > >
> > >
> > >
> > > From: Levin Ng <le...@gmail.com>
> > > Date: Sunday, 22 June 2025 at 1:39 PM
> > > To: users@cloudstack.apache.org <us...@cloudstack.apache.org>, users@cloudstack.apache.org <us...@cloudstack.apache.org>
> > > Subject: Re: SharedFS deployed up and running but not functioning
> > > Hi Abhisar,
> > >
> > > I just created a PR for this https://github.com/apache/cloudstack/pull/11070
> > >
> > > Regards,
> > > Levin
> > > On 22 Jun 2025 at 09:37 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
> > > > Hi Levin,
> > > >
> > > > Is ‘showmount -e <shared-fs-ip> showing anything?
> > > > What kind of network is it?
> > > > You will see the SharedFS instance in the Instance List (It will be named ‘sharedfs-<SharedFSName>-..’). You can click on View Console on the Instance to login into SharedFS with root:password.
> > > >
> > > > Regards,
> > > > Abhisar
> > > >
> > > >
> > > >
> > > >
> > > > From: Levin Ng <le...@gmail.com>
> > > > Date: Saturday, 21 June 2025 at 9:17 PM
> > > > To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
> > > > Subject: SharedFS deployed up and running but not functioning
> > > > Hi,
> > > >
> > > > I just upgraded to 4.20.1 and trying to evaluate the new SharedFS feature, however when it was deployed and running, the peers in the same guest network could not mount it nor showmount, the VM is pingable and respond to ssh but how can I login that ssharedfs-xxxx-xxxxxx VM to see what’s going on?
> > > >
> > > >
> > > > Thank you.
> > > >
> > > > Regards,
> > > > Levin
>
Re: SharedFS deployed up and running but not functioning
Posted by Chi vediamo <ta...@gmail.com>.
Hello Levin,
Where do you change the the template for the root disk controller, On a running platform? or do I have to go to the Source code?
plugins/storage/sharedfs/storagevm/src/main/resources/conf/fsvm-init.yml <https://github.com/apache/cloudstack/pull/11070/files/82f2f95595a3342c4cdf457a042fa31c1167dd85#diff-4387e746a8ede4a619c5eab505714e89eb55494ff6e70c78441296f55f34d586>
Tata Y.
> On Jun 23, 2025, at 6:08 AM, Levin Ng <le...@gmail.com> wrote:
>
> Hi Abhisar,
>
> When you do initial installation, the systemvm by default chose virtio as root disk controller, however when you do a upgrade with registering newer version systemvm template, you will have opportunities to choose preferred rootdiskcontroller, in my environment virt-scsi are perform better over virtio, so I choose virt-scsi for all installed template.
>
> Regards,
> Levin
> On 23 Jun 2025 at 16:52 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
>> Hi Levin,
>>
>> Thanks for creating the PR.
>> I was just curious to know if you did anything specific for the systemvm template (Used by SharedFS) to use virt-scsi as disk controller?
>>
>> Thanks,
>> Abhisar
>>
>>
>>
>>
>> From: Levin Ng <le...@gmail.com>
>> Date: Sunday, 22 June 2025 at 1:39 PM
>> To: users@cloudstack.apache.org <us...@cloudstack.apache.org>, users@cloudstack.apache.org <us...@cloudstack.apache.org>
>> Subject: Re: SharedFS deployed up and running but not functioning
>> Hi Abhisar,
>>
>> I just created a PR for this https://github.com/apache/cloudstack/pull/11070
>>
>> Regards,
>> Levin
>> On 22 Jun 2025 at 09:37 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
>>> Hi Levin,
>>>
>>> Is ‘showmount -e <shared-fs-ip> showing anything?
>>> What kind of network is it?
>>> You will see the SharedFS instance in the Instance List (It will be named ‘sharedfs-<SharedFSName>-..’). You can click on View Console on the Instance to login into SharedFS with root:password.
>>>
>>> Regards,
>>> Abhisar
>>>
>>>
>>>
>>>
>>> From: Levin Ng <le...@gmail.com>
>>> Date: Saturday, 21 June 2025 at 9:17 PM
>>> To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
>>> Subject: SharedFS deployed up and running but not functioning
>>> Hi,
>>>
>>> I just upgraded to 4.20.1 and trying to evaluate the new SharedFS feature, however when it was deployed and running, the peers in the same guest network could not mount it nor showmount, the VM is pingable and respond to ssh but how can I login that ssharedfs-xxxx-xxxxxx VM to see what’s going on?
>>>
>>>
>>> Thank you.
>>>
>>> Regards,
>>> Levin
Re: SharedFS deployed up and running but not functioning
Posted by Levin Ng <le...@gmail.com>.
Hi Abhisar,
When you do initial installation, the systemvm by default chose virtio as root disk controller, however when you do a upgrade with registering newer version systemvm template, you will have opportunities to choose preferred rootdiskcontroller, in my environment virt-scsi are perform better over virtio, so I choose virt-scsi for all installed template.
Regards,
Levin
On 23 Jun 2025 at 16:52 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
> Hi Levin,
>
> Thanks for creating the PR.
> I was just curious to know if you did anything specific for the systemvm template (Used by SharedFS) to use virt-scsi as disk controller?
>
> Thanks,
> Abhisar
>
>
>
>
> From: Levin Ng <le...@gmail.com>
> Date: Sunday, 22 June 2025 at 1:39 PM
> To: users@cloudstack.apache.org <us...@cloudstack.apache.org>, users@cloudstack.apache.org <us...@cloudstack.apache.org>
> Subject: Re: SharedFS deployed up and running but not functioning
> Hi Abhisar,
>
> I just created a PR for this https://github.com/apache/cloudstack/pull/11070
>
> Regards,
> Levin
> On 22 Jun 2025 at 09:37 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
> > Hi Levin,
> >
> > Is ‘showmount -e <shared-fs-ip> showing anything?
> > What kind of network is it?
> > You will see the SharedFS instance in the Instance List (It will be named ‘sharedfs-<SharedFSName>-..’). You can click on View Console on the Instance to login into SharedFS with root:password.
> >
> > Regards,
> > Abhisar
> >
> >
> >
> >
> > From: Levin Ng <le...@gmail.com>
> > Date: Saturday, 21 June 2025 at 9:17 PM
> > To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
> > Subject: SharedFS deployed up and running but not functioning
> > Hi,
> >
> > I just upgraded to 4.20.1 and trying to evaluate the new SharedFS feature, however when it was deployed and running, the peers in the same guest network could not mount it nor showmount, the VM is pingable and respond to ssh but how can I login that ssharedfs-xxxx-xxxxxx VM to see what’s going on?
> >
> >
> > Thank you.
> >
> > Regards,
> > Levin
Re: SharedFS deployed up and running but not functioning
Posted by Abhisar Sinha <Ab...@shapeblue.com>.
Hi Levin,
Thanks for creating the PR.
I was just curious to know if you did anything specific for the systemvm template (Used by SharedFS) to use virt-scsi as disk controller?
Thanks,
Abhisar
From: Levin Ng <le...@gmail.com>
Date: Sunday, 22 June 2025 at 1:39 PM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>, users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: SharedFS deployed up and running but not functioning
Hi Abhisar,
I just created a PR for this https://github.com/apache/cloudstack/pull/11070
Regards,
Levin
On 22 Jun 2025 at 09:37 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
> Hi Levin,
>
> Is ‘showmount -e <shared-fs-ip> showing anything?
> What kind of network is it?
> You will see the SharedFS instance in the Instance List (It will be named ‘sharedfs-<SharedFSName>-..’). You can click on View Console on the Instance to login into SharedFS with root:password.
>
> Regards,
> Abhisar
>
>
>
>
> From: Levin Ng <le...@gmail.com>
> Date: Saturday, 21 June 2025 at 9:17 PM
> To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
> Subject: SharedFS deployed up and running but not functioning
> Hi,
>
> I just upgraded to 4.20.1 and trying to evaluate the new SharedFS feature, however when it was deployed and running, the peers in the same guest network could not mount it nor showmount, the VM is pingable and respond to ssh but how can I login that ssharedfs-xxxx-xxxxxx VM to see what’s going on?
>
>
> Thank you.
>
> Regards,
> Levin
Re: SharedFS deployed up and running but not functioning
Posted by Levin Ng <le...@gmail.com>.
Hi Abhisar,
I just created a PR for this https://github.com/apache/cloudstack/pull/11070
Regards,
Levin
On 22 Jun 2025 at 09:37 +0800, Abhisar Sinha <Ab...@shapeblue.com>, wrote:
> Hi Levin,
>
> Is ‘showmount -e <shared-fs-ip> showing anything?
> What kind of network is it?
> You will see the SharedFS instance in the Instance List (It will be named ‘sharedfs-<SharedFSName>-..’). You can click on View Console on the Instance to login into SharedFS with root:password.
>
> Regards,
> Abhisar
>
>
>
>
> From: Levin Ng <le...@gmail.com>
> Date: Saturday, 21 June 2025 at 9:17 PM
> To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
> Subject: SharedFS deployed up and running but not functioning
> Hi,
>
> I just upgraded to 4.20.1 and trying to evaluate the new SharedFS feature, however when it was deployed and running, the peers in the same guest network could not mount it nor showmount, the VM is pingable and respond to ssh but how can I login that ssharedfs-xxxx-xxxxxx VM to see what’s going on?
>
>
> Thank you.
>
> Regards,
> Levin
Re: SharedFS deployed up and running but not functioning
Posted by Abhisar Sinha <Ab...@shapeblue.com>.
Hi Levin,
Is ‘showmount -e <shared-fs-ip> showing anything?
What kind of network is it?
You will see the SharedFS instance in the Instance List (It will be named ‘sharedfs-<SharedFSName>-..’). You can click on View Console on the Instance to login into SharedFS with root:password.
Regards,
Abhisar
From: Levin Ng <le...@gmail.com>
Date: Saturday, 21 June 2025 at 9:17 PM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: SharedFS deployed up and running but not functioning
Hi,
I just upgraded to 4.20.1 and trying to evaluate the new SharedFS feature, however when it was deployed and running, the peers in the same guest network could not mount it nor showmount, the VM is pingable and respond to ssh but how can I login that ssharedfs-xxxx-xxxxxx VM to see what’s going on?
Thank you.
Regards,
Levin