cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Montfort <adrien.montf...@gmail.com>
Subject Re: SSVM sets Management Server as localhost
Date Tue, 16 Apr 2013 12:12:56 GMT
Here is the JIRA issue :
https://issues.apache.org/jira/browse/CLOUDSTACK-2047

Regarding my other issue (/usr/local/cloud is empty) it was fixed with
apt-get install cloud-system-iso on the KVM host (as mentionned in a
previous email<http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201211.mbox/%3CCAA3XVTzORZ5eGp4WOsM-cSFQL0uS2GiJb9mNpbbN0ZtLkX3HVw@mail.gmail.com%3E>
).

Thanks guys.


On Tue, Apr 16, 2013 at 10:37 AM, Nitin Mehta <Nitin.Mehta@citrix.com>wrote:

> Yes, this is indeed a bug. Can you please file it against JIRA ?
>
> 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
>
> On 15/04/13 10:35 PM, "Abhinandan Prateek" <cloudstack@aprateek.com>
> wrote:
>
> >In configuration table there is a entry by name "host" set it to MS ip and
> >restart.
> >You will need to recreate SSVM.
> >
> >The ssvm-check.sh should be around, probably a bug ? Can someone confirm.
> >
> >-abhi
> >
> >On 15/04/13 10:16 PM, "Adrien Montfort" <adrien.montfort@gmail.com>
> wrote:
> >
> >>Hello,
> >>
> >>My SSVM does not seem to work. I can't upload any template/iso.
> >>I've been investigating a bit and I've found that in my SSVM
> >>configuration
> >>(/var/cache/cloud/cmdline) there's host=localhost which does not seem to
> >>be
> >>correct... How did this happen ? How can I overwrite it (my change are
> >>erased by reboot) ?
> >>As a side note, I could not find the script ssvm-check.sh in
> >>/usr/local/cloud/systemvm/ssvm-check.sh
> >>and anywhere on the VM. Is it expected ?
> >>
> >>Thanks a lot,
> >>
> >>Regards,
> >>
> >>Adrien
> >
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message