It is not a problem, in my opinion. The password server and userdata server
listen on both guest ip and vip.

As I commented on the link in previous reply, if cloud-init does not work
in your vm template, it might be caused by systemd-resolved.

-Wei


On Wednesday, 3 November 2021, Edward St Pierre <edward.stpie...@gmail.com>
wrote:

> Hi,
>
> Thanks for your input, it actually looks like a bug with the redundant VR
> setup.
>
> See diagnostics directly on master VR:
>
> root@r-418-VM:~# netstat -anpl | grep 8080
> tcp        0      0 10.1.1.1:8080           0.0.0.0:*               LISTEN
>      1610/python
>
> root@r-418-VM:~# ip addr show
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
> default qlen 1000
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
> UP group default qlen 1000
>     link/ether 02:00:76:04:00:02 brd ff:ff:ff:ff:ff:ff
>     inet 10.1.1.154/24 brd 10.1.1.255 scope global eth0
>        valid_lft forever preferred_lft forever
>     inet 10.1.1.1/24 brd 10.1.1.255 scope global secondary eth0
>        valid_lft forever preferred_lft forever
>
> root@r-418-VM:~# dig data-server. @localhost
>
> ; <<>> DiG 9.11.5-P4-5.1+deb10u3-Debian <<>> data-server. @localhost
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32161
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 4096
> ;; QUESTION SECTION:
> ;data-server.                   IN      A
>
> ;; ANSWER SECTION:
> data-server.            0       IN      A       10.1.1.154
>
> ;; Query time: 1 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Wed Nov 03 11:58:43 UTC 2021
> ;; MSG SIZE  rcvd: 56
>
>
> Ed
>
> On Wed, 3 Nov 2021 at 20:15, Wei ZHOU <ustcweiz...@gmail.com> wrote:
>
> > Hi Edward,
> >
> > You may face an issue which has recently been fixed in cloud-init .
> > Please refer to https://github.com/canonical/cloud-init/pull/1004
> >
> > -Wei
> >
> > On Wed, 3 Nov 2021 at 12:48, Edward St Pierre <edward.stpie...@gmail.com
> >
> > wrote:
> >
> > > Hi Guys,
> > >
> > > Just a really quick question.
> > >
> > > Should 'data-server.' resolve to the virtual router or the guest?
> > >
> > > Basically the cloud-init datasource for Cloudstack that comes with
> CentOS
> > > Stream seems to use this as the address for the VR.
> > >
> > > Just looking to see if this is a VR bug or a bug with this module on
> > > CentOS.
> > >
> > > Regards
> > >
> > > Ed
> > >
> >
>

Reply via email to