osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tripleo][ussuri][centos8] fails to introspect: my fsm encountered an exception


On 10/14/20 11:37 AM, Ruslanas Gžibovskis wrote:
> Hi all,
> 
> I have re-deployed undercloud with older *ironic* docker images.
> Still same issues.
> I am not sure how it is done and how all the things work, BUT.
> when doing "baremetal inspect NODE" it gives me:
> 
> | last_error             | ironic-inspector inspection failed: The PXE 
> filter driver DnsmasqFilter, state=uninitialized: my fsm encountered an 
> exception: Can not transition from state 'uninitialized' on event 'sync' 
> (no defined transition)
> 
> any hints?
> 
> This is what I see in /var.log/containers/ironic-inspector/dnsmasq.log:
> Oct 14 11:01:15 dnsmasq[8]: started, version 2.79 DNS disabled
> Oct 14 11:01:15 dnsmasq[8]: compile time options: IPv6 GNU-getopt DBus 
> no-i18n IDN2 DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC 
> loop-detect inotify
> Oct 14 11:01:15 dnsmasq-dhcp[8]: DHCP, IP range 10.40.1.230 -- 
> 10.40.1.249, lease time 10m
> Oct 14 11:01:15 dnsmasq-dhcp[8]: read 
> /var/lib/ironic-inspector/dhcp-hostsdir/unknown_hosts_filter
> Oct 14 12:09:07 dnsmasq[8]: inotify, new or changed file 
> /var/lib/ironic-inspector/dhcp-hostsdir/24:6e:96:66:34:2a
> Oct 14 12:09:07 dnsmasq-dhcp[8]: read 
> /var/lib/ironic-inspector/dhcp-hostsdir/24:6e:96:66:34:2a
> 
> Also, I think this part in log, might be interesting [1], fails on 
> ironic_inspector.pxe_filter.dnsmasq
> with message:
> 
> join()  argument must be str or bytes, not'NoneType';  resetting the filter: TypeError: join()  argument must be str or bytes, not'NoneType'
> 
> 
> [1] http://paste.openstack.org/show/AnBXBP2p8frdsHqzsBse/
> 

? That is strange, do you have a port where the MAC address is "None"?
Is that even possible?[1] The address field is mandatory[2], and 
should'nt be None for any baremetal port. How was the nodes enrolled?

[1] 
https://opendev.org/openstack/ironic/src/branch/master/ironic/api/controllers/v1/types.py#L36-L50
[2] 
https://opendev.org/openstack/ironic/src/branch/master/ironic/api/controllers/v1/port.py#L132



> On Wed, 7 Oct 2020 at 17:24, Julia Kreger <juliaashleykreger at gmail.com 
> <mailto:juliaashleykreger at gmail.com>> wrote:
> 
>     You're really in the territory of TripleO at this point. As such I'm
>     replying with an altered subject to get their attention.
> 
>     On Tue, Oct 6, 2020 at 7:57 AM Ruslanas Gžibovskis <ruslanas at lpic.lt
>     <mailto:ruslanas at lpic.lt>> wrote:
>      >
>      > I am curious, could I somehow use my last known working version?
>      > It was:
>     docker.io/tripleou/centos-binary-ironic-inspector at sha256:ad5d58c4cce48ed0c660a0be7fed69f53202a781e75b1037dcee96147e9b8c4b
>     <http://docker.io/tripleou/centos-binary-ironic-inspector at sha256:ad5d58c4cce48ed0c660a0be7fed69f53202a781e75b1037dcee96147e9b8c4b>
>      >
>      >
>