You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "rohityadavcloud (via GitHub)" <gi...@apache.org> on 2025/02/12 16:48:50 UTC
[I] Ubuntu KVM agent installation warnings [cloudstack]
rohityadavcloud opened a new issue, #10379:
URL: https://github.com/apache/cloudstack/issues/10379
### problem
This is seen when installing cloudstack-agent deb pkg on Ubuntu 24.04:
```
Setting up cloudstack-common (4.20.0.0-shapeblue0) ...
Listing '/usr/lib/python3/dist-packages/cloudutils'...
Compiling '/usr/lib/python3/dist-packages/cloudutils/__init__.py'...
Compiling '/usr/lib/python3/dist-packages/cloudutils/cloudException.py'...
Compiling '/usr/lib/python3/dist-packages/cloudutils/configFileOps.py'...
/usr/lib/python3/dist-packages/cloudutils/configFileOps.py:71: SyntaxWarning: invalid escape sequence '\ '
matchString = "^\ *" + entry.name + ".*"
/usr/lib/python3/dist-packages/cloudutils/configFileOps.py:73: SyntaxWarning: invalid escape sequence '\ '
matchString = "^\ *" + entry.name + "\ *" + entry.value
/usr/lib/python3/dist-packages/cloudutils/configFileOps.py:73: SyntaxWarning: invalid escape sequence '\ '
matchString = "^\ *" + entry.name + "\ *" + entry.value
/usr/lib/python3/dist-packages/cloudutils/configFileOps.py:76: SyntaxWarning: invalid escape sequence '\ '
matchString = "^\ *" + entry.name + "\ *=\ *" + entry.value
/usr/lib/python3/dist-packages/cloudutils/configFileOps.py:76: SyntaxWarning: invalid escape sequence '\ '
matchString = "^\ *" + entry.name + "\ *=\ *" + entry.value
/usr/lib/python3/dist-packages/cloudutils/configFileOps.py:78: SyntaxWarning: invalid escape sequence '\ '
matchString = "^\ *" + entry.name + "\ *" + entry.value
/usr/lib/python3/dist-packages/cloudutils/configFileOps.py:78: SyntaxWarning: invalid escape sequence '\ '
matchString = "^\ *" + entry.name + "\ *" + entry.value
Compiling '/usr/lib/python3/dist-packages/cloudutils/db.py'...
Compiling '/usr/lib/python3/dist-packages/cloudutils/globalEnv.py'...
Compiling '/usr/lib/python3/dist-packages/cloudutils/networkConfig.py'...
/usr/lib/python3/dist-packages/cloudutils/networkConfig.py:153: SyntaxWarning: invalid escape sequence '\ '
m = re.search("addr:(.*)\ *Bcast:(.*)\ *Mask:(.*)", line)
Compiling '/usr/lib/python3/dist-packages/cloudutils/serviceConfig.py'...
Compiling '/usr/lib/python3/dist-packages/cloudutils/serviceConfigServer.py'...
Compiling '/usr/lib/python3/dist-packages/cloudutils/syscfg.py'...
Compiling '/usr/lib/python3/dist-packages/cloudutils/utilities.py'...
Processing triggers for initramfs-tools (0.142ubuntu25.1) ...
```
Also installing iptables-persistent removed `cloudstack-agent` package :(
Further on host setup, I saw this in /var/log/cloudstack/agent/setup.log:
```
...
DEBUG:root:Failed to execute:Unit network-manager.service could not be found.
DEBUG:root:execute:route -n|awk '/^0.0.0.0/ {print $2,$8}'
DEBUG:root:list index out of range
File "/usr/lib/python3/dist-packages/cloudutils/serviceConfig.py", line 38, in configuration
result = self.config()
^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/cloudutils/serviceConfig.py", line 211, in config
super(networkConfigUbuntu, self).cfgNetwork()
File "/usr/lib/python3/dist-packages/cloudutils/serviceConfig.py", line 108, in cfgNetwork
device = self.netcfg.getDefaultNetwork()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/cloudutils/networkConfig.py", line 51, in getDefaultNetwork
dev = result[1]
~~~~~~^^^
```
However, I was able to add the KVM host and it just worked.
### versions
ACS 4.20, with Ubuntu 24.04.1, on ARM64 host, typical adv zone configuration.
### The steps to reproduce the bug
_No response_
### What to do about it?
I'm wondering if these warning had any consequences or worth looking into.
--
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
Re: [I] Ubuntu KVM agent installation warnings [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10379:
URL: https://github.com/apache/cloudstack/issues/10379#issuecomment-3407755464
fixed by #11318
--
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
Re: [I] Ubuntu KVM agent installation warnings [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #10379:
URL: https://github.com/apache/cloudstack/issues/10379#issuecomment-3401276834
Are those addressed, should we close it @shwstppr @weizhouapache ?
--
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
Re: [I] Ubuntu KVM agent installation warnings [cloudstack]
Posted by "Jayd603 (via GitHub)" <gi...@apache.org>.
Jayd603 commented on issue #10379:
URL: https://github.com/apache/cloudstack/issues/10379#issuecomment-2708482124
I noticed the iptables-persistent package manager issue. You can use your own script to load the iptables on boot or use UFW instead I assume.
--
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
Re: [I] Ubuntu KVM agent installation warnings [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache closed issue #10379: Ubuntu KVM agent installation warnings
URL: https://github.com/apache/cloudstack/issues/10379
--
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