The problem was due to there were no repositories in the generated image. I solved the problem with virt-customize, and the overcloud deployment completed successfully. But I think it's not a good and clean procedure. Thanks Yatin, I'll try the latest repo too. On Tue, 21 Jul 2020 at 12:46, Yatin Karel <ykarel@redhat.com> wrote:
Hi,
On Sun, Jul 19, 2020 at 12:41 PM Reza Bakhshayeshi <reza.b2008@gmail.com> wrote:
As Ruslanas guided, the problem was solved by disabling gpgcheck. For me
there was no need of enabling HA repos.
I think this process should be reported as a bug.
Unfortunately, now my overcloud installation fails with:
... TASK [tripleo_podman : ensure podman and deps are installed]
task path: /usr/share/ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml:21 Saturday 18 July 2020 15:04:29 +0430 (0:00:00.193) 0:04:37.581
Running dnf Using module file /usr/lib/python3.6/site-packages/ansible/modules/packaging/os/dnf.py ... fatal: [overcloud-controller-0]: FAILED! => changed=false failures: - No package buildah available. invocation: module_args: allow_downgrade: false autoremove: false bugfix: false conf_file: null disable_excludes: null disable_gpg_check: false disable_plugin: [] disablerepo: [] download_dir: null download_only: false enable_plugin: [] enablerepo: [] exclude: [] install_repoquery: true install_weak_deps: true installroot: / list: null lock_timeout: 30 name: - podman - buildah releasever: null security: false skip_broken: false state: latest update_cache: false update_only: false validate_certs: true msg: Failed to install some of the specified packages rc: 1 results: [] ...
Do you think the above error is something related to repos?
The issue can happen when repos are not configured on overcloud nodes, but in this particular case buildah is not needed on overcloud nodes, which is fixed already[1], can u try again with latest repos.
[1] https://review.opendev.org/#/q/Ibb91dfa9684b481dea34607fc47c0d531d56ee45
On Tue, 14 Jul 2020 at 18:20, Ruslanas Gžibovskis <ruslanas@lpic.lt>
I am not sure, but that might help. I use these steps for deployment:
cp -ar /etc/yum.repos.d repos sed -i s/gpgcheck=1/gpgcheck=0/g repos/*repo export DIB_YUM_REPO_CONF="$(ls /home/stack/repos/*repo)" export STABLE_RELEASE="ussuri" export
OS_YAML="/usr/share/openstack-tripleo-common/image-yaml/overcloud-images-centos8.yaml"
source /home/stack/stackrc mkdir /home/stack/images cd /home/stack/images 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 cd /home/stack ls /home/stack/images
this works for all packages except:
pacemaker-remote osops-tools-monitoring-oschecks ansible-pacemaker crudini openstack-selinux pacemaker pcs
to solve these you need to enable in repos dir HA repo (change in enable=0 to enable=1 and then this will solve you issues with most except: osops-tools-monitoring-oschecks
this one, you can change by: modify line in file: /usr/share/tripleo-puppet-elements/overcloud-opstools/pkg-map to have this line: "oschecks_package": "sysstat" instead of "oschecks_package": "osops-tools-monitoring-oschecks
"
On Tue, 14 Jul 2020 at 15:14, Alex Schultz <aschultz@redhat.com> wrote:
On Tue, Jul 14, 2020 at 7:06 AM Reza Bakhshayeshi <
reza.b2008@gmail.com> wrote:
Thanks for your information. Actually, I was in doubt of using Ussuri (latest version) for my
environment.
Anyway, Undercloud Ussuri installed like a charm on CentOS 8, but overcloud image build got some error:
$ 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
... 2020-07-14 12:14:22.714 | Running install-packages install. 2020-07-14 12:14:22.714 | + dnf -v -y install python3-aodhclient
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 2020-07-14 12:14:23.252 | DNF version: 4.2.17 2020-07-14 12:14:23.253 | cachedir: /tmp/yum 2020-07-14 12:14:23.278 | User-Agent: constructed: 'libdnf (CentOS Linux 8; generic; Linux.x86_64)' 2020-07-14 12:14:23.472 | repo: using cache for: AppStream 2020-07-14 12:14:23.493 | AppStream: using metadata from Tue Jul 7 23:25:16 2020. 2020-07-14 12:14:23.495 | repo: using cache for: BaseOS 2020-07-14 12:14:23.517 | BaseOS: using metadata from Tue Jul 7 23:25:12 2020. 2020-07-14 12:14:23.517 | repo: using cache for: extras 2020-07-14 12:14:23.518 | extras: using metadata from Fri Jun 5 00:15:26 2020. 2020-07-14 12:14:23.519 | Last metadata expiration check: 0:30:45 ago on Tue Jul 14 11:43:38 2020. 2020-07-14 12:14:23.767 | Completion plugin: Generating completion cache... 2020-07-14 12:14:23.850 | No match for argument: python3-aodhclient 2020-07-14 12:14:23.854 | No match for argument:
2020-07-14 12:14:23.858 | No match for argument: python3-cinderclient 2020-07-14 12:14:23.862 | No match for argument:
2020-07-14 12:14:23.865 | No match for argument: python3-glanceclient 2020-07-14 12:14:23.869 | No match for argument:
2020-07-14 12:14:23.873 | No match for argument: python3-heatclient 2020-07-14 12:14:23.876 | No match for argument: python3-ironicclient 2020-07-14 12:14:23.880 | No match for argument:
2020-07-14 12:14:23.884 | No match for argument: python3-manilaclient 2020-07-14 12:14:23.887 | No match for argument:
2020-07-14 12:14:23.891 | No match for argument:
2020-07-14 12:14:23.895 | No match for argument: python3-novaclient 2020-07-14 12:14:23.898 | No match for argument:
2020-07-14 12:14:23.902 | No match for argument: python3-pankoclient 2020-07-14 12:14:23.906 | No match for argument: python3-saharaclient 2020-07-14 12:14:23.910 | No match for argument: python3-swiftclient 2020-07-14 12:14:23.915 | No match for argument: python3-zaqarclient 2020-07-14 12:14:23.920 | Package nfs-utils-1:2.3.3-31.el8.x86_64 is already installed. 2020-07-14 12:14:23.921 | Package chrony-3.5-1.el8.x86_64 is already installed. 2020-07-14 12:14:23.924 | No match for argument: pacemaker-remote 2020-07-14 12:14:23.929 | No match for argument: osops-tools-monitoring-oschecks 2020-07-14 12:14:23.933 | No match for argument: ansible-pacemaker 2020-07-14 12:14:23.936 | No match for argument: crudini 2020-07-14 12:14:23.942 | No match for argument: openstack-selinux 2020-07-14 12:14:23.953 | No match for argument: pacemaker 2020-07-14 12:14:23.957 | No match for argument: pcs 2020-07-14 12:14:23.961 | Error: Unable to find a match:
Do you have any idea?
Seems like you are missing the correct DIP_YUM_REPO_CONF setting per #3 from https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployme...
On Mon, 13 Jul 2020 at 10:50, Marios Andreou <marios@redhat.com>
wrote:
Hi folks,
On Mon, Jul 13, 2020 at 12:13 AM Alex Schultz <aschultz@redhat.com>
wrote:
> > I don't believe centos8 containers are available for Train yet. The > error you're hitting is because it's fetching centos7 containers and > the ironic container is not backwards compatible between the two > versions. If you want centos8, use Ussuri. >
fyi we started pushing centos8 train last week - slightly different namespace - latest current-tripleo containers are pushed to https://hub.docker.com/u/tripleotraincentos8
hope it helps
> > On Sat, Jul 11, 2020 at 7:03 AM Reza Bakhshayeshi < reza.b2008@gmail.com> wrote: > > > > I found following error in ironic and container-puppet-ironic container log during installation: > > > > 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
wrote: 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 python3-barbicanclient python3-designateclient python3-gnocchiclient python3-keystoneclient python3-mistralclient python3-neutronclient python3-openstackclient 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 production source(s) file:/tftpboot/ldlinux.c32
> > > > On Wed, 8 Jul 2020 at 16:09, Reza Bakhshayeshi < reza.b2008@gmail.com> wrote: > >> > >> Hi, > >> > >> I'm going to install OpenStack Train with the help of TripleO on CentOS 8, but undercloud installation fails with the following error: > >> > >> "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 192.168.24.1:8888]: 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"]} > >> > >> Any suggestion would be grateful. > >> Regards, > >> Reza > >> > >> > >
-- Ruslanas Gžibovskis +370 6030 7030
Thanks and Regards Yatin Karel