Thanks for the tip.
I looked, and sure enough the "host" setting in the Global Settings has the 
bizarre value.
I think I figured out where the wrong value is coming from.

I am using a script to do the install.  The script sets the network 
configuration --- but it doesn't do a systemctl restart network before running 
the cloudstack mgt configuration.... so it must be picking up whatever random 
IP address is set before the static address is applied.

That breaks the logjam for me.
Thanks again.

--jay



On 2021/09/28 08:35:29, Wei ZHOU <ustcweiz...@gmail.com> wrote: 
> Hi Jay,
> 
> Please note that `host` is the IP of the cloudstack management server, not
> the IP of the kvm host.
> 
> If it is wrong, you can change agent.properties manually and restart
> cloudstack-agent.
> 
> Please also check `host` in the cloustack global settings.
> 
> -Wei
> 
> 
> 
> 
> 
> On Tue, 28 Sept 2021 at 09:02, jay hs <jhahn-steic...@whatcom.edu> wrote:
> 
> > Hi all:
> > I must be doing something wrong.
> > I am installing 4.15 from the apt repositories on ubuntu 16.04
> > deb http://download.cloudstack.org/ubuntu xenial 4.15
> >
> > Everything goes grandly, except that when cloudstack-agent starts up, it
> > puts a seemingly random IP address (from the correct subnet) in host= at
> > agent.properties.
> >
> > It should be
> > host=172.16.10.2
> > but it picks up
> > host=172.16.10.246@static
> >
> > Evidently, it passes this *.246 value on to the ssvm -- which makes it
> > very mad.
> >
> > I've redone my management server and first kvm host a second time, and it
> > got *.234 instead of *.246.
> >
> > I am doing these on a test network that is NATed off from the main
> > network.  That NAT network did have its own DHCP active.  I've switched
> > that off -- and will do another try (tomorrow).
> >
> > But does this sound like I've got a configuration missing -- or am I
> > picking up a bum copy of the cloudstack-agent from the repo?  or... ideas?
> >
> > thanks.
> > --jay
> >
> 

Reply via email to