Ironic pxe tftp service failed | Tripleo wallaby

Takashi Kajinami tkajinam at redhat.com
Tue Jul 5 06:32:36 UTC 2022


 Looking at the latest wallaby code, it seems we use dnsmasq instead of
tftpd server[1]
even for CentOS 8 and I guess you are still using the old version.
Please check whether the following patch is included.

[1] https://review.opendev.org/c/openstack/tripleo-heat-templates/+/809213
<https://review.opendev.org/c/openstack/tripleo-heat-templates/+/809213> .


We've removed tftp-server from ironic-conductor image by[2]

So the latest container does not include the binary even if you are using
the correct one.

[2] https://review.opendev.org/c/openstack/tripleo-common/+/812690

On Tue, Jul 5, 2022 at 3:29 PM Brendan Shephard <bshephar at redhat.com> wrote:

> Hey,
>
> The tripleowallaby containers are all built on ubi8 at the moment:
> ❯ skopeo inspect docker://
> quay.io/tripleowallaby/openstack-ironic-base:current-tripleo | jq
> .Labels.name
> "ubi8"
>
> The container image should be ok. If it isn't an environmental issue, we
> should be seeing the same problem in our CI environments. Wallaby in
> particular  is getting a lot of attention in our CI environments at the
> moment.
>
> Are you able to inspect the container and share the output?
> sudo podman inspect ironic_pxe_tftp | jq .[].Config.Labels
>
>
>
> Brendan Shephard
>
> Software Engineer
>
> Red Hat APAC <https://www.redhat.com>
>
> 193 N Quay
>
> Brisbane City QLD 4000
> @RedHat <https://twitter.com/redhat>   Red Hat
> <https://www.linkedin.com/company/red-hat>  Red Hat
> <https://www.facebook.com/RedHatInc>
> <https://red.ht/sig>
> <https://redhat.com/summit>
>
>
> On Tue, Jul 5, 2022 at 3:39 PM Swogat Pradhan <swogatpradhan22 at gmail.com>
> wrote:
>
>> I had used the namespace: quay.io/tripleowallaby where I faced this
>> issue.
>> Which is why i started this thread.
>>
>> On Tue, Jul 5, 2022 at 11:06 AM Takashi Kajinami <tkajinam at redhat.com>
>> wrote:
>>
>>> Can you try
>>>
>>>  namespace: quay.io/tripleowallaby
>>>
>>> instead ?
>>>
>>> On Tue, Jul 5, 2022 at 2:27 PM Swogat Pradhan <swogatpradhan22 at gmail.com>
>>> wrote:
>>>
>>>> i believe that is the issue, the current continer parameters file is
>>>> trying to pull centos9 images.
>>>> i changed the namespace, but i was unable to find the
>>>> quay.io/tripleowallaby,iiuc in web, honestly i don't know ow to
>>>> specify that:
>>>> (undercloud) [stack at undercloud ~]$ cat
>>>> containers-prepare-parameter.yaml
>>>> # Generated with the following on 2022-07-04T13:53:39.943715
>>>> #
>>>> # openstack tripleo container image prepare default
>>>> --local-push-destination --output-env-file containers-prepare-parameter.yaml
>>>> #
>>>>
>>>> parameter_defaults:
>>>>   ContainerImagePrepare:
>>>>   - push_destination: true
>>>>     set:
>>>>       ceph_alertmanager_image: alertmanager
>>>>       ceph_alertmanager_namespace: quay.ceph.io/prometheus
>>>>       ceph_alertmanager_tag: v0.16.2
>>>>       ceph_grafana_image: grafana
>>>>       ceph_grafana_namespace: quay.ceph.io/app-sre
>>>>       ceph_grafana_tag: 6.7.4
>>>>       ceph_image: daemon
>>>>       ceph_namespace: quay.io/ceph
>>>>       ceph_node_exporter_image: node-exporter
>>>>       ceph_node_exporter_namespace: quay.ceph.io/prometheus
>>>>       ceph_node_exporter_tag: v0.17.0
>>>>       ceph_prometheus_image: prometheus
>>>>       ceph_prometheus_namespace: quay.ceph.io/prometheus
>>>>       ceph_prometheus_tag: v2.7.2
>>>>       ceph_tag: v6.0.4-stable-6.0-pacific-centos-8-x86_64
>>>>       name_prefix: openstack-
>>>>       name_suffix: ''
>>>>       namespace: quay.io/tripleowallaby,iiuc
>>>>       neutron_driver: ovn
>>>>       rhel_containers: false
>>>>       tag: current-tripleo
>>>>     tag_from_label: rdo_version
>>>>
>>>> Is this how to specify it?
>>>>
>>>> On Tue, Jul 5, 2022 at 10:12 AM Takashi Kajinami <tkajinam at redhat.com>
>>>> wrote:
>>>>
>>>>>  > The error indicates that you are running c9s containers on c8s
>>>>> containers.
>>>>> I mean to say
>>>>>
>>>>> c9s containers on c8s *hosts*.
>>>>>
>>>>> On Tue, Jul 5, 2022 at 1:41 PM Takashi Kajinami <tkajinam at redhat.com>
>>>>> wrote:
>>>>>
>>>>>> The error indicates that you are running c9s containers on c8s
>>>>>> containers.
>>>>>> I'd suggest you check your ContainParameterParameters and ensure you
>>>>>> are pulling
>>>>>> the correct image (wallaby + centos 8 stream).
>>>>>>
>>>>>> On Tue, Jul 5, 2022 at 1:12 PM Swogat Pradhan <
>>>>>> swogatpradhan22 at gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I am trying to setup openstack wallaby using the repo :
>>>>>>> centos-release-openstack-wallaby on top of centos 8 stream.
>>>>>>>
>>>>>>> I have deployed undercloud but the service ironic_pxe_tftp is not
>>>>>>> starting up. Previously the undercloud was failing but now the undercloud
>>>>>>> is deployed successfully but the service is not coming up.
>>>>>>>
>>>>>>> Error log from ironic_pxe_tftp:
>>>>>>>
>>>>>>> [root at undercloud ~]# podman logs 23427d845098
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>> /bin/bash: /usr/sbin/in.tftpd: No such file or directory
>>>>>>>
>>>>>>> My undercloud config:
>>>>>>>
>>>>>>> [DEFAULT]
>>>>>>> undercloud_hostname = undercloud.taashee.com
>>>>>>> container_images_file = containers-prepare-parameter.yaml
>>>>>>> local_ip = 192.168.30.50/24
>>>>>>> undercloud_public_host = 192.168.30.39
>>>>>>> undercloud_admin_host = 192.168.30.41
>>>>>>> undercloud_nameservers = 8.8.8.8
>>>>>>> pxe_enabled = true
>>>>>>> #undercloud_ntp_servers =
>>>>>>> overcloud_domain_name = taashee.com
>>>>>>> subnets = ctlplane-subnet
>>>>>>> local_subnet = ctlplane-subnet
>>>>>>> #undercloud_service_certificate =
>>>>>>> generate_service_certificate = true
>>>>>>> certificate_generation_ca = local
>>>>>>> local_interface = eno3
>>>>>>> inspection_extras = false
>>>>>>> undercloud_debug = false
>>>>>>> enable_tempest = false
>>>>>>> enable_ui = false
>>>>>>>
>>>>>>> [auth]
>>>>>>>
>>>>>>> [ctlplane-subnet]
>>>>>>> cidr = 192.168.30.0/24
>>>>>>> dhcp_start = 192.168.30.60
>>>>>>> dhcp_end = 192.168.30.100
>>>>>>> inspection_iprange = 192.168.30.110,192.168.30.150
>>>>>>> gateway = 192.168.30.1
>>>>>>>
>>>>>>> With regards,
>>>>>>>
>>>>>>> Swogat Pradhan
>>>>>>>
>>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220705/40eedcd1/attachment-0001.htm>


More information about the openstack-discuss mailing list