Getting this error?
cloud-setup-management Starting to configure CloudStack Management Server: Can't find the distribution version Traceback (most recent call last): File "/usr/bin/cloud-setup-management", line 21, in syscfg = sysConfigFactory.getSysConfigFactory(glbEnv) File "/usr/lib/python2.6/dist-packages/cloudutils/syscfg.py", line 21, in getSysConfigFactory return sysConfigServerFactory.getServer(glbEnv) File "/usr/lib/python2.6/dist-packages/cloudutils/syscfg.py", line 55, in getServer return sysConfig() TypeError: __init__() takes exactly 2 arguments (1 given)
I will explain the problem and solution shortly:
The Python Script for Cloudutils is checking which Distribution your Host is running on.
Because Cloudstack is officially supported only by Ubuntu Distro it will fail because it checks for existing file /etc/legal
with entry “Ubuntu”.
So if the file doesn’t exist under /etc/
it will not find a match in Python Script and then fail with Error Message “Can’t find the distribution version”.
So if you are having Problems getting running cloud-setup-management
on Debian Squeeze or Wheezy you can try this quick workaround by entering following:
echo "Ubuntu" > /etc/legal
Then rerun cloud-setup-management
I’ve also posted this workaround in the official cloudstack.org forum earlier before.
HTTP/2 SSL Offloading with Hitch and Varnish Since Chrome browsers showing you insecure warning on…
File changed as we read it GlusterFS issue Recently i had trouble running Backups of…
Running multiple instances of varnish using systemd If you have not yet found a complete…
HTTP/2 SSL Offloading with Haproxy and Nginx After HTTP/2 becoming more an more prominent regarding SSL…
Get Real IP with Haproxy Tomcat Jira Confluence using x-forwarded-for Everyone knows the Problem. Get…
Review TDS2 How to backtest using tick data with Metatrader 4 in this Review TDS2…
This website uses cookies.
View Comments
Very usefull post!
So the picture you showed looks like a pretty old (2.2.x) version of CloudStack - does the same thing exist in recent 4.0 versions? If so, can you file a bug at http://issues.apache.org/jira
Thanks
--David
Hi David,
i've used the current latest stable acton release via git source (v3.0.2.). i can't tell you but think that the recent version 4.0 is still not supporting Debian yet.