Re: Router is not able to start on upgraded XenServer pool

2021-02-23 Thread Vivek Kumar
Hey Andrija,

It worked. Now after clearing the below params from XenServer host and 
restarting the management services, it has copied all directory and plugins to 
XenServer hosts and now all XenServer hosts are showing in “UP” State. Thanks 
for the help.

Vivek Kumar
Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com 

This message is intended only for the use of the individual or entity to which 
it is addressed and may contain information that is confidential and/or 
privileged. If you are not the intended recipient please delete the original 
message and any copy of it from your computer system. You are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited unless proper authorization has been obtained for such 
action. If you have received this communication in error, please notify the 
sender immediately. Although IndiQus attempts to sweep e-mail and attachments 
for viruses, it does not guarantee that both are virus-free and accepts no 
liability for any damage sustained as a result of viruses.

> On 24-Feb-2021, at 1:47 AM, Andrija Panic  wrote:
> 
> Try this:
> 
> xe host-param-remove uuid=HOSTUUID param-name=tags
> param-key=vmops-version-com.cloud.hypervisor.xenserver.resource.XenServer650R
> 
> 
> then restart mgmt server - this will force mgmt to copy all plugins and
> libraries to Xen - since the upgrade (usually) just moves whole previous
> filesystem data to another partition  (or similar, don't remember) - so all
> ACS plugins and scripts are effectively deleted from that host.
> 
> Best,
> 
> On Tue, 23 Feb 2021 at 19:39, Vivek Kumar  >
> wrote:
> 
>> Yes, I tried with all options, with cleanup, tried to provision fresh as
>> well. But the issue is my hosts are not coming UP, It’s showing down for
>> some reason.
>> 
>> Vivek Kumar
>> Manager - Cloud & DevOps
>> IndiQus Technologies
>> 24*7  O +91 11 4055 1411  |   M +91 7503460090
>> www.indiqus.com  > >
>> 
>> This message is intended only for the use of the individual or entity to
>> which it is addressed and may contain information that is confidential
>> and/or privileged. If you are not the intended recipient please delete the
>> original message and any copy of it from your computer system. You are
>> hereby notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited unless proper authorization has been
>> obtained for such action. If you have received this communication in error,
>> please notify the sender immediately. Although IndiQus attempts to sweep
>> e-mail and attachments for viruses, it does not guarantee that both are
>> virus-free and accepts no liability for any damage sustained as a result of
>> viruses.
>> 
>>> On 24-Feb-2021, at 12:02 AM, Fernando Alvarez >> >
>> wrote:
>>> 
>>> Hello Vivek,
>>> 
>>> Did you try to restart your network with "clean up" option checked?
>>> 
>>> 
>>> El lun, 22 feb 2021 a las 17:27, Vivek Kumar
>>> (mailto:vivek.ku...@indiqus.com.invalid> 
>>> > vivek.ku...@indiqus.com.invalid >>) 
>> escribió:
>>> 
 Hello Team,
 
 Recently, I have upgraded the XenServer pool from 7.0 to XenServer 7.1
 under ACS 4.15. After that I’m unable to start any router. It’s giving
 below error.
 
 
 2021-02-23 01:53:07,661 DEBUG [c.c.h.x.r.CitrixResourceBase]
 (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Creating VIF for
>> r-39-VM on
 nic [Nic:Control-169.254.2.193-null]
 2021-02-23 01:53:07,677 DEBUG [c.c.h.x.r.CitrixResourceBase]
 (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) already have a vif on
>> dom0
 for link local network
 2021-02-23 01:53:07,695 WARN  [c.c.h.x.r.CitrixResourceBase]
 (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) callHostPlugin failed
>> for
 cmd: setLinkLocalIP with args brName: xapi1,  due to The requested
>> plugin
 could not be found.
 2021-02-23 01:53:07,696 WARN  [c.c.h.x.r.w.x.CitrixStartCommandWrapper]
 (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Catch Exception: class
 com.cloud.utils.exception.CloudRuntimeException due to
 com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
>> for
 cmd: setLinkLocalIP with args brName: xapi1,  due to The requested
>> plugin
 could not be found.
 com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
>> for
 cmd: setLinkLocalIP with args brName: xapi1,  due to The requested
>> plugin
 could not be found.
   at
 
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:364)
   at
 
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.setupLinkLocalNetwork(CitrixResou

Re: Router is not able to start on upgraded XenServer pool

2021-02-23 Thread Andrija Panic
Try this:

xe host-param-remove uuid=HOSTUUID param-name=tags
param-key=vmops-version-com.cloud.hypervisor.xenserver.resource.XenServer650R


then restart mgmt server - this will force mgmt to copy all plugins and
libraries to Xen - since the upgrade (usually) just moves whole previous
filesystem data to another partition  (or similar, don't remember) - so all
ACS plugins and scripts are effectively deleted from that host.

Best,

On Tue, 23 Feb 2021 at 19:39, Vivek Kumar 
wrote:

> Yes, I tried with all options, with cleanup, tried to provision fresh as
> well. But the issue is my hosts are not coming UP, It’s showing down for
> some reason.
>
> Vivek Kumar
> Manager - Cloud & DevOps
> IndiQus Technologies
> 24*7  O +91 11 4055 1411  |   M +91 7503460090
> www.indiqus.com 
>
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain information that is confidential
> and/or privileged. If you are not the intended recipient please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result of
> viruses.
>
> > On 24-Feb-2021, at 12:02 AM, Fernando Alvarez 
> wrote:
> >
> > Hello Vivek,
> >
> > Did you try to restart your network with "clean up" option checked?
> >
> >
> > El lun, 22 feb 2021 a las 17:27, Vivek Kumar
> > ( vivek.ku...@indiqus.com.invalid>>) escribió:
> >
> >> Hello Team,
> >>
> >> Recently, I have upgraded the XenServer pool from 7.0 to XenServer 7.1
> >> under ACS 4.15. After that I’m unable to start any router. It’s giving
> >> below error.
> >>
> >>
> >> 2021-02-23 01:53:07,661 DEBUG [c.c.h.x.r.CitrixResourceBase]
> >> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Creating VIF for
> r-39-VM on
> >> nic [Nic:Control-169.254.2.193-null]
> >> 2021-02-23 01:53:07,677 DEBUG [c.c.h.x.r.CitrixResourceBase]
> >> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) already have a vif on
> dom0
> >> for link local network
> >> 2021-02-23 01:53:07,695 WARN  [c.c.h.x.r.CitrixResourceBase]
> >> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) callHostPlugin failed
> for
> >> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested
> plugin
> >> could not be found.
> >> 2021-02-23 01:53:07,696 WARN  [c.c.h.x.r.w.x.CitrixStartCommandWrapper]
> >> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Catch Exception: class
> >> com.cloud.utils.exception.CloudRuntimeException due to
> >> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
> for
> >> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested
> plugin
> >> could not be found.
> >> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
> for
> >> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested
> plugin
> >> could not be found.
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:364)
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.setupLinkLocalNetwork(CitrixResourceBase.java:4832)
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.getNativeNetworkForTraffic(CitrixResourceBase.java:2786)
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:2805)
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:1259)
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStartCommandWrapper.execute(CitrixStartCommandWrapper.java:105)
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStartCommandWrapper.execute(CitrixStartCommandWrapper.java:54)
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122)
> >>at
> >>
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1759)
> >>at
> >>
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
> >>at
> >>
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
> >>at
> >>
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
> >>at
> >>
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
> >>at
> >>
> org.apache.cloudstack.managed.co

Re: Router is not able to start on upgraded XenServer pool

2021-02-23 Thread Vivek Kumar
Yes, I tried with all options, with cleanup, tried to provision fresh as well. 
But the issue is my hosts are not coming UP, It’s showing down for some reason. 

Vivek Kumar
Manager - Cloud & DevOps 
IndiQus Technologies
24*7  O +91 11 4055 1411  |   M +91 7503460090 
www.indiqus.com 

This message is intended only for the use of the individual or entity to which 
it is addressed and may contain information that is confidential and/or 
privileged. If you are not the intended recipient please delete the original 
message and any copy of it from your computer system. You are hereby notified 
that any dissemination, distribution or copying of this communication is 
strictly prohibited unless proper authorization has been obtained for such 
action. If you have received this communication in error, please notify the 
sender immediately. Although IndiQus attempts to sweep e-mail and attachments 
for viruses, it does not guarantee that both are virus-free and accepts no 
liability for any damage sustained as a result of viruses.

> On 24-Feb-2021, at 12:02 AM, Fernando Alvarez  wrote:
> 
> Hello Vivek,
> 
> Did you try to restart your network with "clean up" option checked?
> 
> 
> El lun, 22 feb 2021 a las 17:27, Vivek Kumar
> (mailto:vivek.ku...@indiqus.com.invalid>>) 
> escribió:
> 
>> Hello Team,
>> 
>> Recently, I have upgraded the XenServer pool from 7.0 to XenServer 7.1
>> under ACS 4.15. After that I’m unable to start any router. It’s giving
>> below error.
>> 
>> 
>> 2021-02-23 01:53:07,661 DEBUG [c.c.h.x.r.CitrixResourceBase]
>> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Creating VIF for r-39-VM on
>> nic [Nic:Control-169.254.2.193-null]
>> 2021-02-23 01:53:07,677 DEBUG [c.c.h.x.r.CitrixResourceBase]
>> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) already have a vif on dom0
>> for link local network
>> 2021-02-23 01:53:07,695 WARN  [c.c.h.x.r.CitrixResourceBase]
>> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) callHostPlugin failed for
>> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested plugin
>> could not be found.
>> 2021-02-23 01:53:07,696 WARN  [c.c.h.x.r.w.x.CitrixStartCommandWrapper]
>> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Catch Exception: class
>> com.cloud.utils.exception.CloudRuntimeException due to
>> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
>> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested plugin
>> could not be found.
>> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
>> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested plugin
>> could not be found.
>>at
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:364)
>>at
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.setupLinkLocalNetwork(CitrixResourceBase.java:4832)
>>at
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.getNativeNetworkForTraffic(CitrixResourceBase.java:2786)
>>at
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:2805)
>>at
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:1259)
>>at
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStartCommandWrapper.execute(CitrixStartCommandWrapper.java:105)
>>at
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStartCommandWrapper.execute(CitrixStartCommandWrapper.java:54)
>>at
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122)
>>at
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1759)
>>at
>> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
>>at
>> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
>>at
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
>>at
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
>>at
>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
>>at
>> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
>>at
>> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>>at
>> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>>at
>> java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
>>at
>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>at
>> java.base/java.util.concurrent.ThreadPo

Re: Router is not able to start on upgraded XenServer pool

2021-02-23 Thread Fernando Alvarez
Hello Vivek,

Did you try to restart your network with "clean up" option checked?


El lun, 22 feb 2021 a las 17:27, Vivek Kumar
() escribió:

> Hello Team,
>
> Recently, I have upgraded the XenServer pool from 7.0 to XenServer 7.1
> under ACS 4.15. After that I’m unable to start any router. It’s giving
> below error.
>
>
> 2021-02-23 01:53:07,661 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Creating VIF for r-39-VM on
> nic [Nic:Control-169.254.2.193-null]
> 2021-02-23 01:53:07,677 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) already have a vif on dom0
> for link local network
> 2021-02-23 01:53:07,695 WARN  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) callHostPlugin failed for
> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested plugin
> could not be found.
> 2021-02-23 01:53:07,696 WARN  [c.c.h.x.r.w.x.CitrixStartCommandWrapper]
> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Catch Exception: class
> com.cloud.utils.exception.CloudRuntimeException due to
> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested plugin
> could not be found.
> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested plugin
> could not be found.
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:364)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.setupLinkLocalNetwork(CitrixResourceBase.java:4832)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.getNativeNetworkForTraffic(CitrixResourceBase.java:2786)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:2805)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:1259)
> at
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStartCommandWrapper.execute(CitrixStartCommandWrapper.java:105)
> at
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStartCommandWrapper.execute(CitrixStartCommandWrapper.java:54)
> at
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1759)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
> at
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
> at
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
> at
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
> at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
> 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-02-23 01:53:07,696 WARN  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-132:ctx-b70f66c3) (logid:9f07ddd0) Unable to start r-39-VM due
> to
> com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
> cmd: setLinkLocalIP with args brName: xapi1,  due to The requested plugin
> could not be found.
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:364)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.setupLinkLocalNetwork(CitrixResourceBase.java:4832)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.getNativeNetworkForTraffic(CitrixResourceBase.java:2786)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:2805)
> at
> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:1259)
> at
> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStartCommandWrapper.execute(CitrixStartCommandWrapper.java:105)
> at
> com.cloud.hypervisor.xenserver.res