Re: ACS 14.16.1::XCP-ng 8.2.1 - Secondary storage mount issue|Volume Snapshot

2022-04-05 Thread Midhun Jose
Hi Vivek/Nux,

Thanks for the response. 

@vivek I was able to manually mount the secondary storage to xen server, But 
strange factor is that it was already mounted by cloudstack with Version 4.1 

As you have mentioned Changing the NFS version to v3 in global settings worked, 
Now Volume snapshot and Vm creation works fine. Thank you




Midhun Jose


- Original Message -
From: "Nux" 
To: "users" 
Cc: "Vivek Kumar" 
Sent: Tuesday, April 5, 2022 12:01:45 PM
Subject: Re: ACS 14.16.1::XCP-ng 8.2.1 - Secondary storage mount issue|Volume 
Snapshot

Hi,

What Vivek said, also make sure there is no firewall between hypervisor 
and sec storage, or at least disable it temporarily to rule things out. 
NFSv3 and v4 are slightly different at network level, some port 
difference etc.

---
Nux!
www.nux.ro

On 2022-04-05 07:25, Vivek Kumar wrote:
> Hey Midhun,
> 
> This error is you see is coming from the XenServer, looks like it’s
> not able to mount the NFS on the destination directory, I know you
> have verified the mount point but can you try to manually mount your
> secondary storage on XenServer, also try checking the global settings
> - secstorage.nfs.version to check and enforce your nfs version.
> 
> Regards,
> Vivek Kumar
> 
> 
> 
> 
>> On 05-Apr-2022, at 11:25 AM, Midhun Jose 
>>  wrote:
>> 
>> 
>> Hi @all,
>> 
>> I am using Apache cloudstack 4.16.1 integrated with XCP-ng 8.2.1. I am 
>> not able to take VM volume snapshot and sometimes vm creation is also 
>> not working. I am getting the error as attached screenshot and while 
>> checking the logs we are getting below error,
>> 
>> P.S: I have veriifed that nfs server is working fine and secondary 
>> storage is mounted in xen server. Can someome piont out the reason on 
>> this..
>> 
>> ~~
>> 2022-04-04 13:13:44,163 WARN  [c.c.h.x.r.CitrixResourceBase] 
>> (DirectAgent-17:ctx-f6381170) (logid:4835671f) Task failed! Task 
>> record: uuid: e907d695-825f-24e4-5ce3-afd74eb0ece4
>>nameLabel: Async.host.call_plugin
>>  nameDescription:
>>allowedOperations: []
>>currentOperations: {}
>>  created: Mon Apr 04 13:13:43 IST 2022
>> finished: Mon Apr 04 13:13:43 IST 2022
>>   status: failure
>>   residentOn: com.xensource.xenapi.Host@5fa0255a
>> progress: 1.0
>> type: 
>>   result:
>>errorInfo: [XENAPI_PLUGIN_FAILURE, 
>> mountNfsSecondaryStorage, SROSError, Error reporting error, unknown 
>> key Unexpected error while trying to mount 
>> 10.31.9.226:/storage/cloudstack/secondary/ to 
>> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>>  otherConfig: {}
>>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>> subtasks: []
>> 2022-04-04 13:13:44,173 WARN  [c.c.h.x.r.CitrixResourceBase] 
>> (DirectAgent-17:ctx-f6381170) (logid:4835671f) callHostPlugin failed 
>> for cmd: mountNfsSecondaryStorage with args remoteDir: 
>> 10.31.9.226:/storage/cloudstack/secondary/, localDir: 
>> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3, nfsVersion: 
>> null,  due to Task failed! Task record: uuid: 
>> e907d695-825f-24e4-5ce3-afd74eb0ece4
>>nameLabel: Async.host.call_plugin
>>  nameDescription:
>>allowedOperations: []
>>currentOperations: {}
>>  created: Mon Apr 04 13:13:43 IST 2022
>> finished: Mon Apr 04 13:13:43 IST 2022
>>   status: failure
>>   residentOn: com.xensource.xenapi.Host@5fa0255a
>> progress: 1.0
>> type: 
>>   result:
>>errorInfo: [XENAPI_PLUGIN_FAILURE, 
>> mountNfsSecondaryStorage, SROSError, Error reporting error, unknown 
>> key Unexpected error while trying to mount 
>> 10.31.9.226:/storage/cloudstack/secondary/ to 
>> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>>  otherConfig: {}
>>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>> subtasks: []
>> Task failed! Task record: uuid: 
>> e907d695-825f-24e4-5ce3-afd74eb0ece4
>>nameLabel: Async.host.call_plugin
>>  nameDescription:
>>allowedOperations: []
>>currentOperations: {}
>>  created: Mon Apr 04 13:13:43 IST 2022
>> finished: Mon Apr 04 13:13:43 IST 2022
>>   status: failure
>>   residentOn: com.xensource.xenapi.Host@5fa0255a
>> progress: 1.0
>> type: 
>>   result:
>>errorInfo: [XENAPI_PLUGIN_FAILURE, 
>> mountNfsSecondaryStorage, SROSError, Error reporting error, unknown 
>> key Unexpected error while trying to mount 
>> 10.31.9.226:/storage/cloudstack/secondary/ to 
>> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>>  otherConfig: {}
>>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>> subtasks: []
>> Task failed! Task record: uuid: 
>> 

Re: Unauthorized access to VR VM

2022-04-05 Thread Rohit Yadav
Thanks for sharing and investigating Antoine. As you've found it was the guest 
VM and not the VR that for compromised. VR can't be ssh'd into public network 
at all.

Regards.

From: Antoine Boucher 
Sent: Wednesday, April 6, 2022 5:11:28 AM
To: users@cloudstack.apache.org 
Subject: Re: Unauthorized access to VR VM

Thank you gents,

I just discovered that the customer was experimenting with the vr and left ip 
forwarding on port 22/22 to a vm created with the template with 
password=password!

Antoine Boucher
antoi...@haltondc.com
[o] +1-226-505-9734
www.haltondc.com

“Data security made simple and affordable”





Confidentiality Warning: This message and any attachments are intended only for 
the use of the intended recipient(s), are confidential, and may be privileged. 
If you are not the intended recipient, you are hereby notified that any review, 
retransmission, conversion to hard copy, copying, circulation or other use of 
this message and any attachments is strictly prohibited. If you are not the 
intended recipient, please notify the sender immediately by return e-mail, and 
delete this message and any attachments from your system.


 

On Apr 5, 2022, at 18:33, ahmed jabbar  wrote:

Dear Antoine,
You can simply block inbound connections on your virtual router public ip's
by any external firewall,And accept just outbond connections.
BR
Ahmed


On Tue, Apr 5, 2022 at 10:46 PM Antoine Boucher 
wrote:

> Someone has externally gained access to one of our VR vm and installed an
> application that tried to ssh to other ips on the web.
>
> The VR started to miss health checks about a day ago, looking at the VR
> running process we discovered that the process ksoftirqd was 95% busy.  We
> killed the VR and discovered during our investigation from other systems
> that the vm was blasting the web trying to connect on port 22.
> Unfortunately, the vr has been deleted.
>
> What could have happened? Any known security issues on the 4.16.1.0 vr
> template?
>
> Regards,
> Antoine


Re: Unauthorized access to VR VM

2022-04-05 Thread Antoine Boucher
Thank you gents,

I just discovered that the customer was experimenting with the vr and left ip 
forwarding on port 22/22 to a vm created with the template with 
password=password!

Antoine Boucher
antoi...@haltondc.com
[o] +1-226-505-9734
www.haltondc.com

“Data security made simple and affordable”





Confidentiality Warning: This message and any attachments are intended only for 
the use of the intended recipient(s), are confidential, and may be privileged. 
If you are not the intended recipient, you are hereby notified that any review, 
retransmission, conversion to hard copy, copying, circulation or other use of 
this message and any attachments is strictly prohibited. If you are not the 
intended recipient, please notify the sender immediately by return e-mail, and 
delete this message and any attachments from your system.

On Apr 5, 2022, at 18:33, ahmed jabbar  wrote:

Dear Antoine,
You can simply block inbound connections on your virtual router public ip's
by any external firewall,And accept just outbond connections.
BR
Ahmed


On Tue, Apr 5, 2022 at 10:46 PM Antoine Boucher 
wrote:

> Someone has externally gained access to one of our VR vm and installed an
> application that tried to ssh to other ips on the web.
> 
> The VR started to miss health checks about a day ago, looking at the VR
> running process we discovered that the process ksoftirqd was 95% busy.  We
> killed the VR and discovered during our investigation from other systems
> that the vm was blasting the web trying to connect on port 22.
> Unfortunately, the vr has been deleted.
> 
> What could have happened? Any known security issues on the 4.16.1.0 vr
> template?
> 
> Regards,
> Antoine


Re: Unauthorized access to VR VM

2022-04-05 Thread ahmed jabbar
Dear Antoine,
You can simply block inbound connections on your virtual router public ip's
by any external firewall,And accept just outbond connections.
BR
Ahmed


On Tue, Apr 5, 2022 at 10:46 PM Antoine Boucher 
wrote:

> Someone has externally gained access to one of our VR vm and installed an
> application that tried to ssh to other ips on the web.
>
> The VR started to miss health checks about a day ago, looking at the VR
> running process we discovered that the process ksoftirqd was 95% busy.  We
> killed the VR and discovered during our investigation from other systems
> that the vm was blasting the web trying to connect on port 22.
>  Unfortunately, the vr has been deleted.
>
> What could have happened? Any known security issues on the 4.16.1.0 vr
> template?
>
> Regards,
> Antoine


Re: Unauthorized access to VR VM

2022-04-05 Thread Ricardo Pertuz
>From what I know, the only services exposed by default to the public interface 
>on a VR is HAProxy and IKE, maybe something there.

BR,

Ricardo

From: Antoine Boucher 
Sent: Tuesday, April 5, 2022 2:46:36 PM
To: users 
Subject: Unauthorized access to VR VM

Someone has externally gained access to one of our VR vm and installed an 
application that tried to ssh to other ips on the web.

The VR started to miss health checks about a day ago, looking at the VR running 
process we discovered that the process ksoftirqd was 95% busy.  We killed the 
VR and discovered during our investigation from other systems that the vm was 
blasting the web trying to connect on port 22.   Unfortunately, the vr has been 
deleted.

What could have happened? Any known security issues on the 4.16.1.0 vr template?

Regards,
Antoine


Re: CloudStack Collaboration Conference 2022 - November 14-16

2022-04-05 Thread Rohit Yadav
Sounds good to me Ivet!


Regards.


From: Paul Angus 
Sent: Tuesday, April 5, 2022 22:22
To: d...@cloudstack.apache.org ; 
users@cloudstack.apache.org ; Ivet Petrova 

Subject: RE: CloudStack Collaboration Conference 2022 - November 14-16

Just throwing this out there - ApacheCon will be in New Orleans 3-6th
October.



Kind Regards


Paul Angus

 


-Original Message-
From: Nicolas Vazquez 
Sent: Tuesday, April 5, 2022 4:46 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org; Ivet Petrova

Subject: Re: CloudStack Collaboration Conference 2022 - November 14-16

Sounds great, thanks Ivet!

Regards,
Nicolas Vazquez


From: Wido den Hollander 
Date: Tuesday, 5 April 2022 at 12:26
To: users@cloudstack.apache.org ,
d...@cloudstack.apache.org , Ivet Petrova

Subject: Re: CloudStack Collaboration Conference 2022 - November 14-16
Sounds good! I'll do my best to be present!

(And make sure there's a bar nearby! ;-) )

Wido

Op 05-04-2022 om 16:57 schreef Alex Mattioli:
> Sounds amazing @Ivet Petrova
>
>
>
>
>
> -Original Message-
> From: Daman Arora 
> Sent: 05 April 2022 16:51
> To: d...@cloudstack.apache.org
> Cc: users 
> Subject: Re: CloudStack Collaboration Conference 2022 - November 14-16
>
> Sounds like a good idea to me.
>
> Thanks,
> Daman Arora.
>
> On Tue., Apr. 5, 2022, 10:45 a.m. Ivet Petrova,
> 
> wrote:
>
>> Hi all,
>>
>> I am working on the idea for the CloudStack Collaboration Conference
2022.
>> I was thinking that this time we can make it as a hybrid event and
>> the end of the year - November 14-16th.
>> We will choose one physical location in Europe and will also stream
>> the whole event online as previous year for the people who
>> cannot/does not want to travel.
>> If nobody is against, I will start some organization plan.
>>
>> Kind regards,
>>
>>
>>
>>
>>






Re: CloudStack Collaboration Conference 2022 - November 14-16

2022-04-05 Thread Nicolas Vazquez
Sounds great, thanks Ivet!

Regards,
Nicolas Vazquez


From: Wido den Hollander 
Date: Tuesday, 5 April 2022 at 12:26
To: users@cloudstack.apache.org , 
d...@cloudstack.apache.org , Ivet Petrova 

Subject: Re: CloudStack Collaboration Conference 2022 - November 14-16
Sounds good! I'll do my best to be present!

(And make sure there's a bar nearby! ;-) )

Wido

Op 05-04-2022 om 16:57 schreef Alex Mattioli:
> Sounds amazing @Ivet Petrova
>
>
>
>
>
> -Original Message-
> From: Daman Arora 
> Sent: 05 April 2022 16:51
> To: d...@cloudstack.apache.org
> Cc: users 
> Subject: Re: CloudStack Collaboration Conference 2022 - November 14-16
>
> Sounds like a good idea to me.
>
> Thanks,
> Daman Arora.
>
> On Tue., Apr. 5, 2022, 10:45 a.m. Ivet Petrova, 
> wrote:
>
>> Hi all,
>>
>> I am working on the idea for the CloudStack Collaboration Conference 2022.
>> I was thinking that this time we can make it as a hybrid event and the
>> end of the year - November 14-16th.
>> We will choose one physical location in Europe and will also stream
>> the whole event online as previous year for the people who cannot/does
>> not want to travel.
>> If nobody is against, I will start some organization plan.
>>
>> Kind regards,
>>
>>
>>
>>
>>

 



Re: CloudStack Collaboration Conference 2022 - November 14-16

2022-04-05 Thread Daman Arora
Sounds like a good idea to me.

Thanks,
Daman Arora.

On Tue., Apr. 5, 2022, 10:45 a.m. Ivet Petrova, 
wrote:

> Hi all,
>
> I am working on the idea for the CloudStack Collaboration Conference 2022.
> I was thinking that this time we can make it as a hybrid event and the end
> of the year - November 14-16th.
> We will choose one physical location in Europe and will also stream the
> whole event online as previous year for the people who cannot/does not want
> to travel.
> If nobody is against, I will start some organization plan.
>
> Kind regards,
>
>
>
>
>


Re: CloudStack Collaboration Conference 2022 - November 14-16

2022-04-05 Thread Wido den Hollander

Sounds good! I'll do my best to be present!

(And make sure there's a bar nearby! ;-) )

Wido

Op 05-04-2022 om 16:57 schreef Alex Mattioli:

Sounds amazing @Ivet Petrova


  



-Original Message-
From: Daman Arora 
Sent: 05 April 2022 16:51
To: d...@cloudstack.apache.org
Cc: users 
Subject: Re: CloudStack Collaboration Conference 2022 - November 14-16

Sounds like a good idea to me.

Thanks,
Daman Arora.

On Tue., Apr. 5, 2022, 10:45 a.m. Ivet Petrova, 
wrote:


Hi all,

I am working on the idea for the CloudStack Collaboration Conference 2022.
I was thinking that this time we can make it as a hybrid event and the
end of the year - November 14-16th.
We will choose one physical location in Europe and will also stream
the whole event online as previous year for the people who cannot/does
not want to travel.
If nobody is against, I will start some organization plan.

Kind regards,







Re: CloudStack Collaboration Conference 2022 - November 14-16

2022-04-05 Thread Nux

+1 to travel and face 2 face :)

---
Nux!
www.nux.ro

On 2022-04-05 15:45, Ivet Petrova wrote:

Hi all,

I am working on the idea for the CloudStack Collaboration Conference
2022. I was thinking that this time we can make it as a hybrid event
and the end of the year - November 14-16th.
We will choose one physical location in Europe and will also stream
the whole event online as previous year for the people who cannot/does
not want to travel.
If nobody is against, I will start some organization plan.

Kind regards,


RE: CloudStack Collaboration Conference 2022 - November 14-16

2022-04-05 Thread Alex Mattioli
Sounds amazing @Ivet Petrova


 


-Original Message-
From: Daman Arora  
Sent: 05 April 2022 16:51
To: d...@cloudstack.apache.org
Cc: users 
Subject: Re: CloudStack Collaboration Conference 2022 - November 14-16

Sounds like a good idea to me.

Thanks,
Daman Arora.

On Tue., Apr. 5, 2022, 10:45 a.m. Ivet Petrova, 
wrote:

> Hi all,
>
> I am working on the idea for the CloudStack Collaboration Conference 2022.
> I was thinking that this time we can make it as a hybrid event and the 
> end of the year - November 14-16th.
> We will choose one physical location in Europe and will also stream 
> the whole event online as previous year for the people who cannot/does 
> not want to travel.
> If nobody is against, I will start some organization plan.
>
> Kind regards,
>
>
>
>
>


CloudStack Collaboration Conference 2022 - November 14-16

2022-04-05 Thread Ivet Petrova
Hi all,

I am working on the idea for the CloudStack Collaboration Conference 2022. I 
was thinking that this time we can make it as a hybrid event and the end of the 
year - November 14-16th.
We will choose one physical location in Europe and will also stream the whole 
event online as previous year for the people who cannot/does not want to travel.
If nobody is against, I will start some organization plan.

Kind regards,


 



Re: [PROPOSE] RM for 4.17

2022-04-05 Thread Nicolas Vazquez
Hi all,

Given the number of open items in the milestone: 
https://github.com/apache/cloudstack/milestone/21 I would like to propose an 
extension to the timeline, proposing the 25th April as freeze date for PRs 
inclusion. The updated timeline will be:
- (3 weeks) Ongoing – 25 April 2022: Accept all bugs, issues, improvements 
allowed in LTS [1]
- (1 week) Stabilise the 4.17 branch, accept only critical/blocker issues (if 
any)
- End-April 2022 and onwards: Cut 4.17.0.0 RC1 and further RCs if necessary, 
start/conclude vote, and finish release work
Please let me know if any objections.
[1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/LTS

Regards,
Nicolas Vazquez


From: Nicolas Vazquez 
Date: Tuesday, 15 March 2022 at 07:57
To: d...@cloudstack.apache.org , 
users@cloudstack.apache.org 
Cc: users@cloudstack.apache.org 
Subject: Re: [PROPOSE] RM for 4.17
Hi all,

Given the proximity with the version 4.16.1 released this month, I would like 
to propose some changes to the original timeline, by extending it for a few 
weeks:

- (3-4 weeks) Ongoing – First weeks April 2022: Accept all bugs, issues, 
improvements allowed in LTS [1]
- (1 week) Stabilise the 4.17 branch, accept only critical/blocker issues (if 
any)
- Mid-April 2022 and onwards: Cut 4.17.0.0 RC1 and further RCs if necessary, 
start/conclude vote, and finish release work

Please let me know if any objections.

[1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/LTS

Regards,
Nicolas Vazquez


From: Nicolas Vazquez 
Date: Tuesday, 1 February 2022 at 11:20
To: users@cloudstack.apache.org , dev 

Cc: users@cloudstack.apache.org 
Subject: Re: [PROPOSE] RM for 4.17
Thanks all for your support!

I propose the following timelines for the 4.17.0.0 release, which is targeted 
for Q1/Q2 2022.

- (7-8 weeks) Ongoing – Mid March 2022: Accept all bugs, issues, improvements 
allowed in LTS [1]
- (1 week) Stabilise the 4.17 branch, accept only critical/blocker issues (if 
any)
- End March 2022 and onwards: Cut 4.17.0.0 RC1 and further RCs if necessary, 
start/conclude vote, and finish release work

My colleague Boris will assist me during the process for 
reviewing/testing/merging the PRs. You can find the open issues and PRs at the 
4.17.0.0 Github milestone [2]. Ping me (@nvazquez) or Boris (@borisstoyanov) on 
your issues and PRs, that are to be included in 4.17.0.0.

Looking forward for your support on bug fixes, reviews, tests, etc. Thanks.

[1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/LTS
[2] https://github.com/apache/cloudstack/milestone/21

Regards,
Nicolas Vazquez


From: Suresh Kumar Anaparti 
Date: Tuesday, 1 February 2022 at 08:07
To: dev 
Cc: users@cloudstack.apache.org 
Subject: Re: [PROPOSE] RM for 4.17
+1

Thanks for volunteering again, good luck Nicolas!

Regards,
Suresh

On Tue, Feb 1, 2022 at 2:02 AM Gabriel Beims Bräscher 
wrote:

> Sounds good.
> Thaks, Nicolas.
>
> On Mon, Jan 31, 2022, 19:42 Rohit Yadav  wrote:
>
> > Sounds good to me, thanks for volunteering Nicolas.
> >
> >
> > Regards.
> >
> > 
> > From: Boris Stoyanov 
> > Sent: Monday, January 31, 2022 13:58
> > To: d...@cloudstack.apache.org ;
> > users@cloudstack.apache.org 
> > Cc: d...@cloudstack.apache.org 
> > Subject: Re: [PROPOSE] RM for 4.17
> >
> > +1, I can help with triage/testing and any other business Nicolas, let me
> > know if you need any additional hands.
> >
> > Bobby.
> >
> > From: Ivet Petrova 
> > Date: Friday, 28 January 2022, 16:11
> > To: users@cloudstack.apache.org 
> > Cc: d...@cloudstack.apache.org 
> > Subject: Re: [PROPOSE] RM for 4.17
> > Nicolas,
> > Just to mention you did a great job last time!
> >
> > Kind regards,
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On 28 Jan 2022, at 16:05, Nicolas Vazquez  > > wrote:
> >
> > Dear All,
> >
> > I would like to put myself forward as the release manager for 4.17.0.0.
> >
> > I propose we have a window of at least 6 weeks to allow the community and
> > users to test and report issues, I will propose the timeline details
> soon.
> >
> > I hope to have your support. Please let me know if you have any thoughts
> /
> > comments.
> >
> > Regards,
> > Nicolas Vazquez
> >
> >
> >
> >
>





 



Re: ACS 14.16.1::XCP-ng 8.2.1 - Secondary storage mount issue|Volume Snapshot

2022-04-05 Thread Nux

Hi,

What Vivek said, also make sure there is no firewall between hypervisor 
and sec storage, or at least disable it temporarily to rule things out. 
NFSv3 and v4 are slightly different at network level, some port 
difference etc.


---
Nux!
www.nux.ro

On 2022-04-05 07:25, Vivek Kumar wrote:

Hey Midhun,

This error is you see is coming from the XenServer, looks like it’s
not able to mount the NFS on the destination directory, I know you
have verified the mount point but can you try to manually mount your
secondary storage on XenServer, also try checking the global settings
- secstorage.nfs.version to check and enforce your nfs version.

Regards,
Vivek Kumar




On 05-Apr-2022, at 11:25 AM, Midhun Jose 
 wrote:



Hi @all,

I am using Apache cloudstack 4.16.1 integrated with XCP-ng 8.2.1. I am 
not able to take VM volume snapshot and sometimes vm creation is also 
not working. I am getting the error as attached screenshot and while 
checking the logs we are getting below error,


P.S: I have veriifed that nfs server is working fine and secondary 
storage is mounted in xen server. Can someome piont out the reason on 
this..


~~
2022-04-04 13:13:44,163 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-17:ctx-f6381170) (logid:4835671f) Task failed! Task 
record: uuid: e907d695-825f-24e4-5ce3-afd74eb0ece4

   nameLabel: Async.host.call_plugin
 nameDescription:
   allowedOperations: []
   currentOperations: {}
 created: Mon Apr 04 13:13:43 IST 2022
finished: Mon Apr 04 13:13:43 IST 2022
  status: failure
  residentOn: com.xensource.xenapi.Host@5fa0255a
progress: 1.0
type: 
  result:
   errorInfo: [XENAPI_PLUGIN_FAILURE, 
mountNfsSecondaryStorage, SROSError, Error reporting error, unknown 
key Unexpected error while trying to mount 
10.31.9.226:/storage/cloudstack/secondary/ to 
/var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]

 otherConfig: {}
   subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
2022-04-04 13:13:44,173 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-17:ctx-f6381170) (logid:4835671f) callHostPlugin failed 
for cmd: mountNfsSecondaryStorage with args remoteDir: 
10.31.9.226:/storage/cloudstack/secondary/, localDir: 
/var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3, nfsVersion: 
null,  due to Task failed! Task record: uuid: 
e907d695-825f-24e4-5ce3-afd74eb0ece4

   nameLabel: Async.host.call_plugin
 nameDescription:
   allowedOperations: []
   currentOperations: {}
 created: Mon Apr 04 13:13:43 IST 2022
finished: Mon Apr 04 13:13:43 IST 2022
  status: failure
  residentOn: com.xensource.xenapi.Host@5fa0255a
progress: 1.0
type: 
  result:
   errorInfo: [XENAPI_PLUGIN_FAILURE, 
mountNfsSecondaryStorage, SROSError, Error reporting error, unknown 
key Unexpected error while trying to mount 
10.31.9.226:/storage/cloudstack/secondary/ to 
/var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]

 otherConfig: {}
   subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
Task failed! Task record: uuid: 
e907d695-825f-24e4-5ce3-afd74eb0ece4

   nameLabel: Async.host.call_plugin
 nameDescription:
   allowedOperations: []
   currentOperations: {}
 created: Mon Apr 04 13:13:43 IST 2022
finished: Mon Apr 04 13:13:43 IST 2022
  status: failure
  residentOn: com.xensource.xenapi.Host@5fa0255a
progress: 1.0
type: 
  result:
   errorInfo: [XENAPI_PLUGIN_FAILURE, 
mountNfsSecondaryStorage, SROSError, Error reporting error, unknown 
key Unexpected error while trying to mount 
10.31.9.226:/storage/cloudstack/secondary/ to 
/var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]

 otherConfig: {}
   subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
Task failed! Task record: uuid: 
e907d695-825f-24e4-5ce3-afd74eb0ece4

   nameLabel: Async.host.call_plugin
 nameDescription:
   allowedOperations: []
   currentOperations: {}
 created: Mon Apr 04 13:13:43 IST 2022
finished: Mon Apr 04 13:13:43 IST 2022
  status: failure
  residentOn: com.xensource.xenapi.Host@5fa0255a
progress: 1.0
type: 
  result:
   errorInfo: [XENAPI_PLUGIN_FAILURE, 
mountNfsSecondaryStorage, SROSError, Error reporting error, unknown 
key Unexpected error while trying to mount 
10.31.9.226:/storage/cloudstack/secondary/ to 
/var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]

 otherConfig: {}
   subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
at 

Re: ACS 14.16.1::XCP-ng 8.2.1 - Secondary storage mount issue|Volume Snapshot

2022-04-05 Thread Vivek Kumar
Hey Midhun,

This error is you see is coming from the XenServer, looks like it’s not able to 
mount the NFS on the destination directory, I know you have verified the mount 
point but can you try to manually mount your secondary storage on XenServer, 
also try checking the global settings - secstorage.nfs.version to check and 
enforce your nfs version. 

Regards,
Vivek Kumar




> On 05-Apr-2022, at 11:25 AM, Midhun Jose  wrote:
> 
> 
> Hi @all,
> 
> I am using Apache cloudstack 4.16.1 integrated with XCP-ng 8.2.1. I am not 
> able to take VM volume snapshot and sometimes vm creation is also not 
> working. I am getting the error as attached screenshot and while checking the 
> logs we are getting below error,
> 
> P.S: I have veriifed that nfs server is working fine and secondary storage is 
> mounted in xen server. Can someome piont out the reason on this..
> 
> ~~
> 2022-04-04 13:13:44,163 WARN  [c.c.h.x.r.CitrixResourceBase] 
> (DirectAgent-17:ctx-f6381170) (logid:4835671f) Task failed! Task record:  
>uuid: e907d695-825f-24e4-5ce3-afd74eb0ece4
>nameLabel: Async.host.call_plugin
>  nameDescription:
>allowedOperations: []
>currentOperations: {}
>  created: Mon Apr 04 13:13:43 IST 2022
> finished: Mon Apr 04 13:13:43 IST 2022
>   status: failure
>   residentOn: com.xensource.xenapi.Host@5fa0255a
> progress: 1.0
> type: 
>   result:
>errorInfo: [XENAPI_PLUGIN_FAILURE, mountNfsSecondaryStorage, 
> SROSError, Error reporting error, unknown key Unexpected error while trying 
> to mount 10.31.9.226:/storage/cloudstack/secondary/ to 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>  otherConfig: {}
>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
> subtasks: []
> 2022-04-04 13:13:44,173 WARN  [c.c.h.x.r.CitrixResourceBase] 
> (DirectAgent-17:ctx-f6381170) (logid:4835671f) callHostPlugin failed for cmd: 
> mountNfsSecondaryStorage with args remoteDir: 
> 10.31.9.226:/storage/cloudstack/secondary/, localDir: 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3, nfsVersion: null,  due 
> to Task failed! Task record: uuid: 
> e907d695-825f-24e4-5ce3-afd74eb0ece4
>nameLabel: Async.host.call_plugin
>  nameDescription:
>allowedOperations: []
>currentOperations: {}
>  created: Mon Apr 04 13:13:43 IST 2022
> finished: Mon Apr 04 13:13:43 IST 2022
>   status: failure
>   residentOn: com.xensource.xenapi.Host@5fa0255a
> progress: 1.0
> type: 
>   result:
>errorInfo: [XENAPI_PLUGIN_FAILURE, mountNfsSecondaryStorage, 
> SROSError, Error reporting error, unknown key Unexpected error while trying 
> to mount 10.31.9.226:/storage/cloudstack/secondary/ to 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>  otherConfig: {}
>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
> subtasks: []
> Task failed! Task record: uuid: 
> e907d695-825f-24e4-5ce3-afd74eb0ece4
>nameLabel: Async.host.call_plugin
>  nameDescription:
>allowedOperations: []
>currentOperations: {}
>  created: Mon Apr 04 13:13:43 IST 2022
> finished: Mon Apr 04 13:13:43 IST 2022
>   status: failure
>   residentOn: com.xensource.xenapi.Host@5fa0255a
> progress: 1.0
> type: 
>   result:
>errorInfo: [XENAPI_PLUGIN_FAILURE, mountNfsSecondaryStorage, 
> SROSError, Error reporting error, unknown key Unexpected error while trying 
> to mount 10.31.9.226:/storage/cloudstack/secondary/ to 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>  otherConfig: {}
>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
> subtasks: []
> Task failed! Task record: uuid: 
> e907d695-825f-24e4-5ce3-afd74eb0ece4
>nameLabel: Async.host.call_plugin
>  nameDescription:
>allowedOperations: []
>currentOperations: {}
>  created: Mon Apr 04 13:13:43 IST 2022
> finished: Mon Apr 04 13:13:43 IST 2022
>   status: failure
>   residentOn: com.xensource.xenapi.Host@5fa0255a
> progress: 1.0
> type: 
>   result:
>errorInfo: [XENAPI_PLUGIN_FAILURE, mountNfsSecondaryStorage, 
> SROSError, Error reporting error, unknown key Unexpected error while trying 
> to mount 10.31.9.226:/storage/cloudstack/secondary/ to 
> /var/cloud_mount/92ac41e2-5210-36ff-8d7b-97407b9fcfd3]
>  otherConfig: {}
>subtaskOf: com.xensource.xenapi.Task@aaf13f6f
> subtasks: []
> at 
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:500)
> at 
>