[Starlingx-discuss] Use of sysinv_api_bind_ip and sysinv_api_pxeboot_ip, Difference ?

Penney, Don Don.Penney at windriver.com
Mon Nov 26 22:13:15 UTC 2018


The 169.254.202.2 address is assigned for pxeboot:

controller-0:~$ sudo grep -r 169.254.202.2 /etc 2>/dev/null
/etc/sysinv/sysinv.conf:sysinv_api_pxeboot_ip=169.254.202.2
/etc/dnsmasq.conf:dhcp-range=set:pxeboot,169.254.202.2,169.254.202.254,255.255.255.0,1h
/etc/dnsmasq.conf:dhcp-option=tag:pxeboot,option:dns-server,169.254.202.2
/etc/dnsmasq.conf:dhcp-boot=tag:bios,tag:pxeboot,pxelinux.0,pxecontroller,169.254.202.2
/etc/dnsmasq.conf:dhcp-boot=tag:efi,tag:pxeboot,EFI/grubx64.efi,pxecontroller,169.254.202.2
/etc/hosts:169.254.202.2        pxecontroller

The address gets added to the mgmt interface on the active controller, for responding to pxeboot/dhcp requests from hosts during installation from the active controller. Sysinv binds to the address so that it can respond to limited API queries and notifications that occur during the installation process.


From: Luis Ramirez [mailto:luis.ramirez at opencloud.es]
Sent: Monday, November 26, 2018 5:04 PM
To: sajuptpm at gmail.com
Cc: starlingx-discuss at lists.starlingx.io
Subject: Re: [Starlingx-discuss] Use of sysinv_api_bind_ip and sysinv_api_pxeboot_ip, Difference ?

Hi,

This IP is provided by Automatic Private IP Addressing. This process assigns an IP address even in the absence of a DHCP server. If a DISCOVER message is not answered, the client picks a random 16-bit number and prepends it with 169.254.x.x. It performs a gratuitous ARP and assigns that address to itself. It means that the DHCP server is not reachable.

Br,
Luis Rmz<https://www.linkedin.com/in/luisframirez/>
Blockchain, DevOps & Open Source Cloud Solutions Architect
----------------------------------------
Founder & CEO
OpenCloud.es<http://www.opencloud.es/>
luis.ramirez at opencloud.es<mailto:luis.ramirez at opencloud.es>
Skype ID: d.overload
Hangouts: luis.ramirez at opencloud.es<mailto:luis.ramirez at opencloud.es>
[Image removed by sender. ] +34 682 740 973 / [Image removed by sender. ] +39 392 1289553 / [Image removed by sender. ] +49 152 26917722 / Česká republika: +420 774 274 882
-----------------------------------------------------


El lun., 26 nov. 2018 a las 10:39, Saju M (<sajuptpm at gmail.com<mailto:sajuptpm at gmail.com>>) escribió:
HI,

I have noticed that sysinv is trying to listen to 6385 with 2 different IPs.
I dont know, How 169.254.202.2 came in etc/sysinv/sysinv.conf, I could not find that IP in hiera.

Error from /var/log/sysinv.log
==========================
2018-11-26 08:46:09.298 18046 INFO oslo.service.wsgi [-] sysinv_api listening on 0.0.0.0:6385<http://0.0.0.0:6385>
ERROR oslo.service.wsgi [-] Could not bind to 169.254.202.2:6385<http://169.254.202.2:6385>

http://paste.openstack.org/show/735998/

Somebody please explain the use of sysinv_api() and sysinv_pxe()
==========================================
https://github.com/openstack/stx-config/blob/ddb407fccbf5d5490400f21d26973ff5a148d737/sysinv/sysinv/sysinv/sysinv/cmd/api.py#L68

https://github.com/openstack/stx-config/blob/ddb407fccbf5d5490400f21d26973ff5a148d737/sysinv/sysinv/sysinv/sysinv/api/__init__.py#L28




Regards
Saju Madhavan
+91 09535134654
_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss at lists.starlingx.io<mailto:Starlingx-discuss at lists.starlingx.io>
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20181126/fa0d47d4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20181126/fa0d47d4/attachment.jpg>


More information about the Starlingx-discuss mailing list