edikevich opened a new issue #4645:
URL: https://github.com/apache/cloudstack/issues/4645
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and master branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
Hypervisor
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on master
branch.
-->
~~~
4.15 (fresh install)
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
Management Server : CentOS 7.9 (also tested on CentOS 8.2, Oracle Linux 8.3)
Hypervisor : 2 x XCP-ng 7.6 (also tested on 8.1, 8.2, in the same pool)
Zone : Advanced without SG PreSetup SR
##### SUMMARY
<!-- Explain the problem/feature briefly -->
On a freshly installed CS 4.15 I can't deploy zone with presetup iscsi
storage. Unable to create the local link network. With NFS deploy was
complited. On CS 4.14 my configuration works well.
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
Add an XCP-ng 7.6 (8.1, 8.2) host under an Advanced Zone with PreSetup iSCSI
storage.
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
Local link creation should be successful.
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
2021-02-02 19:56:04,663 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-7:ctx-090ea653) (logid:e138cefc) Seq 2-9037880027202453511:
Executing request
2021-02-02 19:56:04,671 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-7:ctx-090ea653) (logid:8543a8cb) Can't find a vif on dom0 for link
local, creating a new one
2021-02-02 19:56:04,673 DEBUG [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-7:ctx-090ea653) (logid:8543a8cb) Lowest available Vif device
number: 0 for VM: Control domain on host: xcp-ng76-u4037-02
2021-02-02 19:56:04,677 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-7:ctx-090ea653) (logid:8543a8cb) Unable to create local link
network
The server failed to handle your request, due to an internal error. The
given message may give details useful for debugging the problem.
at com.xensource.xenapi.Types.checkResponse(Types.java:1609)
at com.xensource.xenapi.Connection.dispatch(Connection.java:395)
at
com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:457)
at com.xensource.xenapi.VIF.create(VIF.java:319)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.setupLinkLocalNetwork(CitrixResourceBase.java:4822)
at
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixReadyCommandWrapper.execute(CitrixReadyCommandWrapper.java:52)
at
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixReadyCommandWrapper.execute(CitrixReadyCommandWrapper.java:38)
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-02 19:56:04,678 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-7:ctx-090ea653) (logid:8543a8cb) Seq 2-9037880027202453511:
Response Received:
2021-02-02 19:56:04,678 DEBUG [c.c.a.t.Request] (DirectAgent-7:ctx-090ea653)
(logid:8543a8cb) Seq 2-9037880027202453511: Processing: { Ans: , MgmtId:
236109816422411, via: 2(xcp-ng76-u4037-02), Ver: v1, Flags: 110,
[{"com.cloud.agent.api.UnsupportedAnswer":{"result":"false","details":"Unsupported
command issued: com.cloud.agent.api.ReadyCommand. Are you sure you got the
right type of server?","wait":"0"}}] }
2021-02-02 19:56:04,678 DEBUG [c.c.a.m.AgentAttache]
(DirectAgent-7:ctx-090ea653) (logid:8543a8cb) Seq 2-9037880027202453511: No
more commands found
2021-02-02 19:56:04,678 DEBUG [c.c.a.t.Request]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Seq
2-9037880027202453511: Received: { Ans: , MgmtId: 236109816422411, via:
2(xcp-ng76-u4037-02), Ver: v1, Flags: 110, { UnsupportedAnswer } }
2021-02-02 19:56:04,678 WARN [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Unsupported
Command: Unsupported command issued: com.cloud.agent.api.ReadyCommand. Are you
sure you got the right type of server?
2021-02-02 19:56:04,678 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Details from
executing class com.cloud.agent.api.ReadyCommand: Unsupported command issued:
com.cloud.agent.api.ReadyCommand. Are you sure you got the right type of
server?
2021-02-02 19:56:04,679 INFO [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Host 2 is
disconnecting with event AgentDisconnected
2021-02-02 19:56:04,680 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) The next status
of agent 2is Alert, current status is Connecting
2021-02-02 19:56:04,680 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Deregistering
link for 2 with state Alert
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Remove Agent : 2
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.DirectAgentAttache]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Processing
disconnect 2(xcp-ng76-u4037-02)
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Sending
Disconnect to listener:
com.cloud.hypervisor.xenserver.discoverer.XcpServerDiscoverer
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Sending
Disconnect to listener:
com.cloud.hypervisor.hyperv.discoverer.HypervServerDiscoverer
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Sending
Disconnect to listener: com.cloud.vm.ClusteredVirtualMachineManagerImpl
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Sending
Disconnect to listener: com.cloud.hypervisor.vmware.manager.VmwareManagerImpl
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Sending
Disconnect to listener: com.cloud.deploy.DeploymentPlanningManagerImpl
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Sending
Disconnect to listener: com.cloud.storage.secondary.SecondaryStorageListener
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Sending
Disconnect to listener: com.cloud.network.security.SecurityGroupListener
2021-02-02 19:56:04,681 DEBUG [c.c.a.m.AgentManagerImpl]
(qtp1026871825-24:ctx-64980d9f ctx-d8cf8904) (logid:8543a8cb) Sending
Disconnect to listener: com.cloud.storage.listener.StoragePoolMonitor
~~~
I am able to experiment in my test environment as needed (including CS
builds/reinstall or XCP reinstalls).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]