MilanHofmann opened a new issue, #7171:
URL: https://github.com/apache/cloudstack/issues/7171
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main 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
<!--
-->
~~~
Secondary Storage
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
4.17.2.0
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
basic network
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
ubuntu 22.04.1 Jammy Jellyfish
##### SUMMARY
<!-- Explain the problem/feature briefly -->
system vm for secondary storage fails to start.
##### 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.
-->
Add secondary NFS storage from management server to host via ui.
<!-- Paste example playbooks or commands between quotes below -->
~~~
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
Host mounts secondary storage and downloads templates.
~~~
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
It fails in loop with the following logs
<!-- Paste verbatim command output between quotes below -->
~~~
2023-02-05 20:30:10,783 INFO [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Attempting to create storage pool
19986357-feca-4161-830a-2a147fc59d9f (Filesystem) in libvirt
2023-02-05 20:30:10,788 ERROR [kvm.resource.LibvirtConnection]
(Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid
connection pointer in virConnectGetVersion
2023-02-05 20:30:10,791 INFO [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Found existing defined storage pool
19986357-feca-4161-830a-2a147fc59d9f, using it.
2023-02-05 20:30:10,792 INFO [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) (logid:) Trying to fetch storage pool
19986357-feca-4161-830a-2a147fc59d9f from libvirt
2023-02-05 20:30:10,850 INFO [cloud.serializer.GsonHelper]
(Agent-Handler-1:null) (logid:) Default Builder inited.
2023-02-05 20:30:10,917 INFO [cloud.agent.Agent] (Agent-Handler-2:null)
(logid:) Process agent startup answer, agent id = 0
2023-02-05 20:30:10,917 INFO [cloud.agent.Agent] (Agent-Handler-2:null)
(logid:) Set agent id 0
2023-02-05 20:30:10,925 INFO [cloud.agent.Agent] (Agent-Handler-2:null)
(logid:) Startup Response Received: agent id = 0
2023-02-05 20:30:11,349 INFO [cloud.agent.Agent]
(agentRequest-Handler-3:null) (logid:093226eb) Processing agent ready command,
agent id = 6
2023-02-05 20:30:11,351 INFO [cloud.agent.Agent]
(agentRequest-Handler-3:null) (logid:093226eb) Set agent id 6
2023-02-05 20:30:11,354 INFO [cloud.agent.Agent]
(agentRequest-Handler-3:null) (logid:093226eb) Ready command is processed for
agent id = 6
2023-02-05 20:30:11,440 INFO [cloud.agent.Agent]
(agentRequest-Handler-4:null) (logid:093226eb) Processing agent ready command,
agent id = 6
2023-02-05 20:30:11,441 INFO [cloud.agent.Agent]
(agentRequest-Handler-4:null) (logid:093226eb) Set agent id 6
2023-02-05 20:30:11,443 INFO [cloud.agent.Agent]
(agentRequest-Handler-4:null) (logid:093226eb) Processed new management server
list: bla@static
2023-02-05 20:30:11,443 INFO [cloud.agent.Agent]
(agentRequest-Handler-4:null) (logid:093226eb) Ready command is processed for
agent id = 6
2023-02-05 20:30:15,673 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-2:null) (logid:3c6c2894) Attempting to create storage
pool 4301a675-8d2d-3842-8827-95a0e46475d1 (NetworkFilesystem) in libvirt
2023-02-05 20:30:15,694 WARN [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-2:null) (logid:3c6c2894) Storage pool
4301a675-8d2d-3842-8827-95a0e46475d1 was not found running in libvirt. Need to
create it.
2023-02-05 20:30:15,695 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-2:null) (logid:3c6c2894) Didn't find an existing storage
pool 4301a675-8d2d-3842-8827-95a0e46475d1 by UUID, checking for pools with
duplicate paths
2023-02-05 20:30:16,295 INFO [kvm.resource.LibvirtConnection]
(agentRequest-Handler-5:null) (logid:093b852c) No existing libvirtd connection
found. Opening a new one
2023-02-05 20:30:16,298 WARN [kvm.resource.LibvirtConnection]
(agentRequest-Handler-5:null) (logid:093b852c) Can not find a connection for
Instance v-68-VM. Assuming the default connection.
2023-02-05 20:30:16,605 WARN [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-5:null) (logid:093b852c) Groovy script
'/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not available.
Transformations will not be applied.
2023-02-05 20:30:16,605 WARN [kvm.resource.LibvirtKvmAgentHook]
(agentRequest-Handler-5:null) (logid:093b852c) Groovy scripting engine is not
initialized. Data transformation skipped.
~~~
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]