cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Montfort (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-2047) Cloudstack Management Server host key is set to localhost
Date Tue, 16 Apr 2013 12:09:16 GMT
Adrien Montfort created CLOUDSTACK-2047:
-------------------------------------------

             Summary: Cloudstack Management Server host key is set to localhost
                 Key: CLOUDSTACK-2047
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2047
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.0.0
         Environment: Ubuntu 10.04.02
            Reporter: Adrien Montfort
            Priority: Minor


During the first boot MS tries to run the code below, but for some of the
dev environments it finds  hostIpAdr as null and so persists the default
value which is localhost.

if (hostIpAdr != null) {
                _configDao.update(Config.ManagementHostIPAdr.key(),
Config.ManagementHostIPAdr.getCategory(), hostIpAdr);
                s_logger.debug("ConfigurationServer saved \"" + hostIpAdr
+ "\" as host.");
}


I guess the way it retrieves the hostIpAdr by running a bunch of linux
commands doesn't work for all the OS versions (like for mine). That needs
to be fixed

--
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

Mime
View raw message