You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/12/03 16:48:09 UTC
[GitHub] [cloudstack] Notespeak opened a new issue, #6944: CloudStack agent is not working on Debian 11.5.0
Notespeak opened a new issue, #6944:
URL: https://github.com/apache/cloudstack/issues/6944
<!--
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
<!--
cloudstack agent
-->
~~~
~~~
##### CLOUDSTACK VERSION
<!--
Cloudstack version 4.17
-->
~~~
~~~
##### CONFIGURATION
<!--
`Networking config`
`auto eno1
iface eno1 inet manual
auto eno2
iface eno2 inet manual
# address something-something
# gateway something-something
#dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 1.1.1.1
auto br0
iface br0 inet static
bridge_ports eno1
address 185.185.58.82/26
gateway 185.185.58.65
dns-nameservers 1.1.1.1
bridge_fd 15
bridge_hello 2
bridge_maxage 20
bridge_stp off
auto cloudbrvm0
iface cloudbrvm0 inet manual
bridge_ports eno2
bridge_fd 15
bridge_hello 2
bridge_maxage 20
bridge_stp off
`
`Host specs`
Dell R620
CPU E5-2695v2
Ram 64GB DDR3 ECC RAM
Networking 4 x 1gb/s interfaces
VT extentions support - Yes
Nested Virtualization support - Yes
`Vm host specs`
MacBook pro 2019
CPU I9-9900
RAM 32GB DDR4
Networking 1 bridged wifi interface
VT extentions support - Yes
Nested Virtualization support - Yes
-->
##### OS / ENVIRONMENT
<!--
Debian 11.5.0
Java -v
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode, sharing)
Python -v
Python 3.9.2
Libvirt version
version: 7.0.0, package: 3
-->
##### SUMMARY
<!-- Explain the problem/feature briefly -->
I am getting repeatable errors when installing cloudstack-agent on a fresh Debian 11 installation. For some reason I am getting libvirtd errors, when I is installing as a dependancy of cloudstack-agent. I tried removing the pid and also purging libvirt and cloudstack agent, but unfortunately this didn't yield any results. I was also able to reproduce this behaviour on a vm.
##### STEPS TO REPRODUCE
<!--
Install a new OS ( Debian 11.5.0)
Install openjdk 11.0.16+8-1~deb11u1
Install python3 connector
Setup Database
Install Cloudstack-management
Install Cloustack-agent
Setup networking (networking config)
Configure uuid in cloudstack-agent
Observe agent failing
Check agent log ( log snippet 1)
Check libvirtd status ( libvirt deamon status)
Send a sample call to libvrtd service ( log snippet 2)
Enable debug level logs for libvirt
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
**log snippet 1**
`2022-12-03 10:08:35,792 WARN [kvm.storage.KVMStoragePoolManager] (main:null) (logid:) Duplicate StorageAdaptor type PowerFlex, not loading com.cloud.hypervisor.kvm.storage.ScaleIOStorageAdaptor
2022-12-03 10:08:35,793 INFO [kvm.resource.LibvirtComputingResource] (main:null) (logid:) No libvirt.vif.driver specified. Defaults to BridgeVifDriver.
2022-12-03 10:08:35,799 ERROR [kvm.resource.LibvirtComputingResource] (main:null) (logid:) Failed to get private nic name
2022-12-03 10:08:35,799 ERROR [cloud.agent.AgentShell] (main:null) (logid:) Unable to start agent: Failed to get private nic name
`
`● libvirtd.service - Virtualization daemon
Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2022-12-03 10:08:49 CST; 17min ago
TriggeredBy: ● libvirtd-ro.socket
● libvirtd.socket
● libvirtd-admin.socket
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 4210 (libvirtd)
Tasks: 19 (limit: 32768)
Memory: 11.2M
CPU: 257ms
CGroup: /system.slice/libvirtd.service
└─4210 /usr/sbin/libvirtd
`
`libvirtd -v
2022-12-03 16:27:52.629+0000: 5169: info : libvirt version: 7.0.0, package: 3 (Andrea Bolognani <eo...@kiyuko.org> Fri, 26 Feb 2021 16:46:34 +0100)
2022-12-03 16:27:52.629+0000: 5169: info : hostname: mskn101
2022-12-03 16:27:52.629+0000: 5169: info : virObjectNew:259 : OBJECT_NEW: obj=0x55b6a17dc5f0 classname=virAccessManager
2022-12-03 16:27:52.629+0000: 5169: info : virObjectNew:259 : OBJECT_NEW: obj=0x55b6a17dc650 classname=virAccessManager
2022-12-03 16:27:52.629+0000: 5169: info : virObjectRef:403 : OBJECT_REF: obj=0x55b6a17dc5f0
2022-12-03 16:27:52.629+0000: 5169: info : virObjectUnref:381 : OBJECT_UNREF: obj=0x55b6a17dc5f0
2022-12-03 16:27:52.629+0000: 5169: error : virPidFileAcquirePath:367 : Failed to acquire pid file '/run/libvirtd.pid': Resource temporarily unavailable
2022-12-03 16:27:52.629+0000: 5169: info : virNetlinkEventServiceStopAll:956 : stopping all netlink event services
2022-12-03 16:27:52.629+0000: 5169: info : virNetlinkEventServiceStop:919 : stopping netlink event service
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
A clean installation of cloudstack-agent
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
Issues with libvirt and non operational cloudstack-agent.
~~~
~~~
--
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: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] rohityadavcloud commented on issue #6944: CloudStack agent is not working on Debian 11.5.0
Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #6944:
URL: https://github.com/apache/cloudstack/issues/6944#issuecomment-1341259904
Hi @Notespeak thanks for the issue, we don't have Debian 11 as a support KVM distro. You can refer to the compatibility matrix here: https://docs.cloudstack.apache.org/en/latest/releasenotes/compat.html
You may use one of the supported KVM distros until we can support Debian 11.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] boring-cyborg[bot] commented on issue #6944: CloudStack agent is not working on Debian 11.5.0
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #6944:
URL: https://github.com/apache/cloudstack/issues/6944#issuecomment-1336196552
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] Notespeak commented on issue #6944: CloudStack agent is not working on Debian 11.5.0
Posted by GitBox <gi...@apache.org>.
Notespeak commented on issue #6944:
URL: https://github.com/apache/cloudstack/issues/6944#issuecomment-1336216049
>
Thank you for such a fast reply, weizhouapache. The only thing that I changed in agent.properties are uuid keys and I also tried to specify a public interface right in the config https://pastebin.com/WmxvXjvJ. The agent is exiting, before I am able to add it to the cloudstack zone. The management server is located right on this test vm, so don't mind me using localhost.)
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on issue #6944: CloudStack agent is not working on Debian 11.5.0
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #6944:
URL: https://github.com/apache/cloudstack/issues/6944#issuecomment-1336212367
It seems the cloudstack-agent is not setup correctly, please check /etc/cloudstack/agent/agent.properties.
When kvm host is added to a cloudstack zone, cloudstack-agent will be setup automatically.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on issue #6944: CloudStack agent is not working on Debian 11.5.0
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #6944:
URL: https://github.com/apache/cloudstack/issues/6944#issuecomment-1337049195
> >
>
> Greetings, weizhouapache. The only thing that I changed in agent.properties are uuid keys and I also tried to specify a public interface right in the config https://pastebin.com/WmxvXjvJ. The agent is exiting before I am able to add it to the cloudstack zone. The management server is located right on this test vm, so don't mind me using localhost.)
@Notespeak
based on what you described, you need to set
public.network.device=br0
private.network.device=cloudbrvm0
guest.network.device=cloudbrvm0
Anyway, I suggest you to add the host in cloudstack management server UI, instead of manually configuring agent.properties.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org