<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">The problem was due to there were no repositories in the generated image.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">I solved the problem with virt-customize, and the overcloud deployment completed successfully.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">But I think it's not a good and clean procedure.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:#000066">Thanks Yatin, I'll try the latest repo too.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 21 Jul 2020 at 12:46, Yatin Karel <<a href="mailto:ykarel@redhat.com">ykarel@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On Sun, Jul 19, 2020 at 12:41 PM Reza Bakhshayeshi <<a href="mailto:reza.b2008@gmail.com" target="_blank">reza.b2008@gmail.com</a>> wrote:<br>
><br>
> As Ruslanas guided, the problem was solved by disabling gpgcheck. For me there was no need of enabling HA repos.<br>
> I think this process should be reported as a bug.<br>
><br>
> Unfortunately, now my overcloud installation fails with:<br>
><br>
> ...<br>
> TASK [tripleo_podman : ensure podman and deps are installed] *******************<br>
> task path: /usr/share/ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml:21<br>
> Saturday 18 July 2020 15:04:29 +0430 (0:00:00.193) 0:04:37.581 *********<br>
> Running dnf<br>
> Using module file /usr/lib/python3.6/site-packages/ansible/modules/packaging/os/dnf.py<br>
> ...<br>
> fatal: [overcloud-controller-0]: FAILED! => changed=false<br>
> failures:<br>
> - No package buildah available.<br>
> invocation:<br>
> module_args:<br>
> allow_downgrade: false<br>
> autoremove: false<br>
> bugfix: false<br>
> conf_file: null<br>
> disable_excludes: null<br>
> disable_gpg_check: false<br>
> disable_plugin: []<br>
> disablerepo: []<br>
> download_dir: null<br>
> download_only: false<br>
> enable_plugin: []<br>
> enablerepo: []<br>
> exclude: []<br>
> install_repoquery: true<br>
> install_weak_deps: true<br>
> installroot: /<br>
> list: null<br>
> lock_timeout: 30<br>
> name:<br>
> - podman<br>
> - buildah<br>
> releasever: null<br>
> security: false<br>
> skip_broken: false<br>
> state: latest<br>
> update_cache: false<br>
> update_only: false<br>
> validate_certs: true<br>
> msg: Failed to install some of the specified packages<br>
> rc: 1<br>
> results: []<br>
> ...<br>
><br>
> Do you think the above error is something related to repos?<br>
<br>
The issue can happen when repos are not configured on overcloud nodes,<br>
but in this particular case buildah is not needed on overcloud nodes,<br>
which is fixed already[1], can u try again with latest repos.<br>
<br>
<br>
[1] <a href="https://review.opendev.org/#/q/Ibb91dfa9684b481dea34607fc47c0d531d56ee45" rel="noreferrer" target="_blank">https://review.opendev.org/#/q/Ibb91dfa9684b481dea34607fc47c0d531d56ee45</a><br>
><br>
> On Tue, 14 Jul 2020 at 18:20, Ruslanas Gžibovskis <<a href="mailto:ruslanas@lpic.lt" target="_blank">ruslanas@lpic.lt</a>> wrote:<br>
>><br>
>> I am not sure, but that might help. I use these steps for deployment:<br>
>><br>
>> cp -ar /etc/yum.repos.d repos<br>
>> sed -i s/gpgcheck=1/gpgcheck=0/g repos/*repo<br>
>> export DIB_YUM_REPO_CONF="$(ls /home/stack/repos/*repo)"<br>
>> export STABLE_RELEASE="ussuri"<br>
>> export OS_YAML="/usr/share/openstack-tripleo-common/image-yaml/overcloud-images-centos8.yaml"<br>
>> source /home/stack/stackrc<br>
>> mkdir /home/stack/images<br>
>> cd /home/stack/images<br>
>> openstack overcloud image build --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-images-python3.yaml --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-images-centos8.yaml && openstack overcloud image upload --update-existing<br>
>> cd /home/stack<br>
>> ls /home/stack/images<br>
>><br>
>> this works for all packages except:<br>
>><br>
>> pacemaker-remote osops-tools-monitoring-oschecks ansible-pacemaker crudini openstack-selinux pacemaker pcs<br>
>><br>
>> to solve these you need to enable in repos dir HA repo (change in enable=0 to enable=1<br>
>> and then this will solve you issues with most except: osops-tools-monitoring-oschecks<br>
>><br>
>> this one, you can change by:<br>
>> modify line in file:<br>
>> /usr/share/tripleo-puppet-elements/overcloud-opstools/pkg-map<br>
>> to have this line:<br>
>> "oschecks_package": "sysstat"<br>
>> instead of "oschecks_package": "osops-tools-monitoring-oschecks<br>
>><br>
>> "<br>
>><br>
>><br>
>><br>
>><br>
>> On Tue, 14 Jul 2020 at 15:14, Alex Schultz <<a href="mailto:aschultz@redhat.com" target="_blank">aschultz@redhat.com</a>> wrote:<br>
>>><br>
>>> On Tue, Jul 14, 2020 at 7:06 AM Reza Bakhshayeshi <<a href="mailto:reza.b2008@gmail.com" target="_blank">reza.b2008@gmail.com</a>> wrote:<br>
>>> ><br>
>>> > Thanks for your information.<br>
>>> > Actually, I was in doubt of using Ussuri (latest version) for my environment.<br>
>>> > Anyway, Undercloud Ussuri installed like a charm on CentOS 8, but overcloud image build got some error:<br>
>>> ><br>
>>> > $ openstack overcloud image build --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-images-python3.yaml --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-images-centos8.yaml<br>
>>> ><br>
>>> > ...<br>
>>> > 2020-07-14 12:14:22.714 | Running install-packages install.<br>
>>> > 2020-07-14 12:14:22.714 | + dnf -v -y install python3-aodhclient python3-barbicanclient python3-cinderclient python3-designateclient python3-glanceclient python3-gnocchiclient python3-heatclient python3-ironicclient python3-keystoneclient python3-manilaclient python3-mistralclient python3-neutronclient python3-novaclient python3-openstackclient python3-pankoclient python3-saharaclient python3-swiftclient python3-zaqarclient dpdk driverctl nfs-utils chrony pacemaker-remote cyrus-sasl-scram tuned-profiles-cpu-partitioning osops-tools-monitoring-oschecks aide ansible-pacemaker crudini gdisk podman libreswan openstack-selinux net-snmp numactl iptables-services tmpwatch openssl-perl lvm2 chrony certmonger fence-agents-all fence-virt ipa-admintools ipa-client ipxe-bootimgs nfs-utils chrony pacemaker pcs<br>
>>> > 2020-07-14 12:14:23.251 | Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync<br>
>>> > 2020-07-14 12:14:23.252 | DNF version: 4.2.17<br>
>>> > 2020-07-14 12:14:23.253 | cachedir: /tmp/yum<br>
>>> > 2020-07-14 12:14:23.278 | User-Agent: constructed: 'libdnf (CentOS Linux 8; generic; Linux.x86_64)'<br>
>>> > 2020-07-14 12:14:23.472 | repo: using cache for: AppStream<br>
>>> > 2020-07-14 12:14:23.493 | AppStream: using metadata from Tue Jul 7 23:25:16 2020.<br>
>>> > 2020-07-14 12:14:23.495 | repo: using cache for: BaseOS<br>
>>> > 2020-07-14 12:14:23.517 | BaseOS: using metadata from Tue Jul 7 23:25:12 2020.<br>
>>> > 2020-07-14 12:14:23.517 | repo: using cache for: extras<br>
>>> > 2020-07-14 12:14:23.518 | extras: using metadata from Fri Jun 5 00:15:26 2020.<br>
>>> > 2020-07-14 12:14:23.519 | Last metadata expiration check: 0:30:45 ago on Tue Jul 14 11:43:38 2020.<br>
>>> > 2020-07-14 12:14:23.767 | Completion plugin: Generating completion cache...<br>
>>> > 2020-07-14 12:14:23.850 | No match for argument: python3-aodhclient<br>
>>> > 2020-07-14 12:14:23.854 | No match for argument: python3-barbicanclient<br>
>>> > 2020-07-14 12:14:23.858 | No match for argument: python3-cinderclient<br>
>>> > 2020-07-14 12:14:23.862 | No match for argument: python3-designateclient<br>
>>> > 2020-07-14 12:14:23.865 | No match for argument: python3-glanceclient<br>
>>> > 2020-07-14 12:14:23.869 | No match for argument: python3-gnocchiclient<br>
>>> > 2020-07-14 12:14:23.873 | No match for argument: python3-heatclient<br>
>>> > 2020-07-14 12:14:23.876 | No match for argument: python3-ironicclient<br>
>>> > 2020-07-14 12:14:23.880 | No match for argument: python3-keystoneclient<br>
>>> > 2020-07-14 12:14:23.884 | No match for argument: python3-manilaclient<br>
>>> > 2020-07-14 12:14:23.887 | No match for argument: python3-mistralclient<br>
>>> > 2020-07-14 12:14:23.891 | No match for argument: python3-neutronclient<br>
>>> > 2020-07-14 12:14:23.895 | No match for argument: python3-novaclient<br>
>>> > 2020-07-14 12:14:23.898 | No match for argument: python3-openstackclient<br>
>>> > 2020-07-14 12:14:23.902 | No match for argument: python3-pankoclient<br>
>>> > 2020-07-14 12:14:23.906 | No match for argument: python3-saharaclient<br>
>>> > 2020-07-14 12:14:23.910 | No match for argument: python3-swiftclient<br>
>>> > 2020-07-14 12:14:23.915 | No match for argument: python3-zaqarclient<br>
>>> > 2020-07-14 12:14:23.920 | Package nfs-utils-1:2.3.3-31.el8.x86_64 is already installed.<br>
>>> > 2020-07-14 12:14:23.921 | Package chrony-3.5-1.el8.x86_64 is already installed.<br>
>>> > 2020-07-14 12:14:23.924 | No match for argument: pacemaker-remote<br>
>>> > 2020-07-14 12:14:23.929 | No match for argument: osops-tools-monitoring-oschecks<br>
>>> > 2020-07-14 12:14:23.933 | No match for argument: ansible-pacemaker<br>
>>> > 2020-07-14 12:14:23.936 | No match for argument: crudini<br>
>>> > 2020-07-14 12:14:23.942 | No match for argument: openstack-selinux<br>
>>> > 2020-07-14 12:14:23.953 | No match for argument: pacemaker<br>
>>> > 2020-07-14 12:14:23.957 | No match for argument: pcs<br>
>>> > 2020-07-14 12:14:23.961 | Error: Unable to find a match: python3-aodhclient python3-barbicanclient python3-cinderclient python3-designateclient python3-glanceclient python3-gnocchiclient python3-heatclient python3-ironicclient python3-keystoneclient python3-manilaclient python3-mistralclient python3-neutronclient python3-novaclient python3-openstackclient python3-pankoclient python3-saharaclient python3-swiftclient python3-zaqarclient pacemaker-remote osops-tools-monitoring-oschecks ansible-pacemaker crudini openstack-selinux pacemaker pcs<br>
>>> ><br>
>>> > Do you have any idea?<br>
>>> ><br>
>>><br>
>>> Seems like you are missing the correct DIP_YUM_REPO_CONF setting per<br>
>>> #3 from <a href="https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/install_overcloud.html#get-images" rel="noreferrer" target="_blank">https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/install_overcloud.html#get-images</a><br>
>>><br>
>>> ><br>
>>> ><br>
>>> > On Mon, 13 Jul 2020 at 10:50, Marios Andreou <<a href="mailto:marios@redhat.com" target="_blank">marios@redhat.com</a>> wrote:<br>
>>> >><br>
>>> >> Hi folks,<br>
>>> >><br>
>>> >> On Mon, Jul 13, 2020 at 12:13 AM Alex Schultz <<a href="mailto:aschultz@redhat.com" target="_blank">aschultz@redhat.com</a>> wrote:<br>
>>> >>><br>
>>> >>> I don't believe centos8 containers are available for Train yet. The<br>
>>> >>> error you're hitting is because it's fetching centos7 containers and<br>
>>> >>> the ironic container is not backwards compatible between the two<br>
>>> >>> versions. If you want centos8, use Ussuri.<br>
>>> >>><br>
>>> >><br>
>>> >> fyi we started pushing centos8 train last week - slightly different namespace - latest current-tripleo containers are pushed to <a href="https://hub.docker.com/u/tripleotraincentos8" rel="noreferrer" target="_blank">https://hub.docker.com/u/tripleotraincentos8</a><br>
>>> >><br>
>>> >> hope it helps<br>
>>> >><br>
>>> >>><br>
>>> >>> On Sat, Jul 11, 2020 at 7:03 AM Reza Bakhshayeshi <<a href="mailto:reza.b2008@gmail.com" target="_blank">reza.b2008@gmail.com</a>> wrote:<br>
>>> >>> ><br>
>>> >>> > I found following error in ironic and container-puppet-ironic container log during installation:<br>
>>> >>> ><br>
>>> >>> > puppet-user: Error: /Stage[main]/Ironic::Pxe/Ironic::Pxe::Tftpboot_file[ldlinux.c32]/File[/var/lib/ironic/tftpboot/ldlinux.c32]: Could not evaluate: Could not retrieve information from environment production source(s) file:/tftpboot/ldlinux.c32<br>
>>> >>> ><br>
>>> >>> > On Wed, 8 Jul 2020 at 16:09, Reza Bakhshayeshi <<a href="mailto:reza.b2008@gmail.com" target="_blank">reza.b2008@gmail.com</a>> wrote:<br>
>>> >>> >><br>
>>> >>> >> Hi,<br>
>>> >>> >><br>
>>> >>> >> I'm going to install OpenStack Train with the help of TripleO on CentOS 8, but undercloud installation fails with the following error:<br>
>>> >>> >><br>
>>> >>> >> "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat[10-zaqar_wsgi.conf]/Concat_file[10-zaqar_wsgi.conf]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat[10-zaqar_wsgi.conf]/File[/etc/httpd/conf.d/10-zaqar_wsgi.conf]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-apache-header]/Concat_fragment[zaqar_wsgi-apache-header]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-docroot]/Concat_fragment[zaqar_wsgi-docroot]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-directories]/Concat_fragment[zaqar_wsgi-directories]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-logging]/Concat_fragment[zaqar_wsgi-logging]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-serversignature]/Concat_fragment[zaqar_wsgi-serversignature]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-access_log]/Concat_fragment[zaqar_wsgi-access_log]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-setenv]/Concat_fragment[zaqar_wsgi-setenv]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-wsgi]/Concat_fragment[zaqar_wsgi-wsgi]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-custom_fragment]/Concat_fragment[zaqar_wsgi-custom_fragment]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Concat::Fragment[zaqar_wsgi-file_footer]/Concat_fragment[zaqar_wsgi-file_footer]: Skipping because of failed dependencies", "puppet-user: Warning: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/Apache::Vhost[zaqar_wsgi]/Apache::Listen[192.168.24.1:8888]/Concat::Fragment[Listen 192.168.24.1:8888]/Concat_fragment[Listen <a href="http://192.168.24.1:8888" rel="noreferrer" target="_blank">192.168.24.1:8888</a>]: Skipping because of failed dependencies", "puppet-user: Notice: Applied catalog in 1.72 seconds", "puppet-user: Changes:", "puppet-user: Total: 97", "puppet-user: Events:", "puppet-user: Failure: 1", "puppet-user: Success: 97", "puppet-user: Total: 98", "puppet-user: Resources:", "puppet-user: Failed: 1", "puppet-user: Skipped: 41", "puppet-user: Changed: 97", "puppet-user: Out of sync: 98", "puppet-user: Total: 235", "puppet-user: Time:", "puppet-user: Resources: 0.00", "puppet-user: Concat file: 0.00", "puppet-user: Anchor: 0.00", "puppet-user: Concat fragment: 0.00", "puppet-user: Augeas: 0.03", "puppet-user: File: 0.39", "puppet-user: Zaqar config: 0.61", "puppet-user: Transaction evaluation: 1.69", "puppet-user: Catalog application: 1.72", "puppet-user: Last run: 1594207735", "puppet-user: Config retrieval: 4.14", "puppet-user: Total: 1.72", "puppet-user: Version:", "puppet-user: Config: 1594207730", "puppet-user: Puppet: 5.5.10", "+ rc=6", "+ '[' False = false ']'", "+ set -e", "+ '[' 6 -ne 2 -a 6 -ne 0 ']'", "+ exit 6", " attempt(s): 3", "2020-07-08 15:59:00,478 WARNING: 95123 -- Retrying running container: zaqar", "2020-07-08 15:59:00,478 ERROR: 95123 -- Failed running container for zaqar", "2020-07-08 15:59:00,478 INFO: 95123 -- Finished processing puppet configs for zaqar", "2020-07-08 15:59:00,482 ERROR: 95117 -- ERROR configuring ironic", "2020-07-08 15:59:00,484 ERROR: 95117 -- ERROR configuring zaqar"]}<br>
>>> >>> >><br>
>>> >>> >> Any suggestion would be grateful.<br>
>>> >>> >> Regards,<br>
>>> >>> >> Reza<br>
>>> >>> >><br>
>>> >>> >><br>
>>> >>><br>
>>> >>><br>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> Ruslanas Gžibovskis<br>
>> +370 6030 7030<br>
<br>
<br>
Thanks and Regards<br>
Yatin Karel<br>
<br>
</blockquote></div>