[
https://issues.apache.org/jira/browse/CLOUDSTACK-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552155#comment-13552155
]
Prasanna Santhanam commented on CLOUDSTACK-966:
-----------------------------------------------
commit 127867cc999a7c772cdf5108b3e7432f91178cfe
Author: Noa Resare <[email protected]>
Date: Sat Jan 12 19:07:32 2013 +0000
Improved handling of unknown OS, Distribution
Introduce UnknownSystemExcpetion to indicate that the system is
is unknonwn. Catch said exception in cloud-setup-management,
print an error and exit.
CLOUDSTACK-966: Improve error reporting when running on unknown OS / version
Signed-off-by: Prasanna Santhanam <[email protected]>
> Improve error reporting when running on unknown OS / version
> ------------------------------------------------------------
>
> Key: CLOUDSTACK-966
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-966
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Noa Resare
> Priority: Minor
>
> We are going to encounter people installing cloudstack on unsupported systems
> more in the future. When running cloud-setup-management on a Debian Squeeze
> machine you currently get the following feedback:
> noa@lon2-cloudtest-a1:~$ 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 38, in <module>
> syscfg = sysConfigFactory.getSysConfigFactory(glbEnv)
> File "/usr/lib/python2.6/dist-packages/cloudutils/syscfg.py", line 25, in
> getSysConfigFactory
> return sysConfigServerFactory.getServer(glbEnv)
> File "/usr/lib/python2.6/dist-packages/cloudutils/syscfg.py", line 59, in
> getServer
> return sysConfig()
> TypeError: __init__() takes exactly 2 arguments (1 given)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira