Project

General

Profile

Actions

Bug #39286

open

foreman-installer --enable-iop : Systemd start for iop-core-host-inventory-migrate failed!

Added by bdouxx etienne about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

hi

trying to enable iop in a recent foreman/katello installation (server up to date, podman image up to date)

  1. podman image list
    REPOSITORY TAG IMAGE ID CREATED SIZE
    quay.io/iop/advisor-frontend foreman-3.16 3ff714a08afe 20 hours ago 21.6 MB
    quay.io/iop/host-inventory foreman-3.16 457add67bab0 21 hours ago 1.12 GB
    quay.io/iop/remediations foreman-3.16 b9c29e37bc75 25 hours ago 439 MB
    quay.io/iop/vmaas foreman-3.16 2a85274371fa 30 hours ago 482 MB
    quay.io/iop/vulnerability-engine foreman-3.16 f1690639b824 30 hours ago 391 MB
    quay.io/iop/ingress foreman-3.16 c58d0ac5c629 2 days ago 146 MB
    quay.io/iop/vulnerability-frontend foreman-3.16 2be5ae57fbe6 3 days ago 27.7 MB
    quay.io/iop/host-inventory-frontend foreman-3.16 dca4bd43a73d 5 days ago 20.3 MB
    quay.io/iop/puptoo foreman-3.16 4f1551e134ac 2 weeks ago 512 MB
    quay.io/iop/advisor-backend foreman-3.16 db1fbc51a6e7 2 weeks ago 458 MB
    quay.io/iop/yuptoo foreman-3.16 7b4ab6bf5d18 5 weeks ago 368 MB
    quay.io/iop/gateway foreman-3.16 555ccbf0b2b8 7 months ago 365 MB
    quay.io/iop/insights-engine foreman-3.16 f201ab60edf4 8 months ago 399 MB
    quay.io/strimzi/kafka latest-kafka-3.7.1 4ecb15407713 18 months ago 682 MB
  1. rpm -qa |egrep -i 'foreman|katello|puppet' |sort
    ansiblerole-foreman_scap_client-0.5.0-1.el9.noarch
    foreman-3.18.1-1.el9.noarch
    foreman-cli-3.18.1-1.el9.noarch
    foreman-dynflow-sidekiq-3.18.1-1.el9.noarch
    foreman-installer-3.18.1-1.el9.noarch
    foreman-installer-katello-3.18.1-1.el9.noarch
    foreman-postgresql-3.18.1-1.el9.noarch
    foreman-proxy-3.18.1-1.el9.noarch
    foreman-redis-3.18.1-1.el9.noarch
    foreman-release-3.18.1-1.el9.noarch
    foreman-selinux-3.18.1-1.el9.noarch
    foreman-service-3.18.1-1.el9.noarch
    katello-4.20.0-1.el9.noarch
    katello-certs-tools-2.10.0-1.el9.noarch
    katello-client-bootstrap-1.7.9-2.el9.noarch
    katello-common-4.20.0-1.el9.noarch
    katello-repos-4.20.0-2.el9.noarch
    katello-selinux-5.2.0-1.el9.noarch
    puppet8-release-1.0.0-10.el9.noarch
    puppet-agent-8.10.0-1.el9.x86_64
    puppet-agent-oauth-0.5.10-2.el9.noarch
    rubygem-foreman_maintain-1.14.4-1.el9.noarch
    rubygem-foreman_openscap-12.0.3-1.fm3_18.el9.noarch
    rubygem-foreman_remote_execution-16.5.3-1.fm3_18.el9.noarch
    rubygem-foreman-tasks-11.1.1-1.fm3_18.el9.noarch
    rubygem-hammer_cli_foreman-3.18.1-1.el9.noarch
    rubygem-hammer_cli_foreman_openscap-0.2.3-1.fm3_17.el9.noarch
    rubygem-hammer_cli_foreman_remote_execution-0.4.2-1.fm3_18.el9.noarch
    rubygem-hammer_cli_foreman_tasks-0.0.24-1.fm3_17.el9.noarch
    rubygem-hammer_cli_katello-1.20.1-1.el9.noarch
    rubygem-katello-4.20.0-2.el9.noarch

iop-core-host-inventory-migrate323311: SQLALCHEMY_ENGINE_LOG_LEVEL=INFO FLASK_APP=manage.py flask db upgrade
iop-core-host-inventory-migrate323258: SQLALCHEMY_ENGINE_LOG_LEVEL=INFO FLASK_APP=manage.py flask db upgrade
iop-core-host-inventory-migrate323311: /usr/local/lib/python3.12/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.4.0.post2)/charset_normalizer (3.4.7) doesn't match a supported version!
iop-core-host-inventory-migrate323311: warnings.warn(
iop-core-host-inventory-migrate323258: /usr/local/lib/python3.12/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.4.0.post2)/charset_normalizer (3.4.7) doesn't match a supported version!
iop-core-host-inventory-migrate323258: warnings.warn(
iop-core-host-inventory-migrate323311: Error: While importing 'manage', an ImportError was raised:
iop-core-host-inventory-migrate323311:
iop-core-host-inventory-migrate323258: Error: While importing 'manage', an ImportError was raised:
iop-core-host-inventory-migrate323258: Traceback (most recent call last):
iop-core-host-inventory-migrate323258: File "/usr/local/lib/python3.12/site-packages/flask/cli.py", line 245, in locate_app
iop-core-host-inventory-migrate323258: import(module_name)
iop-core-host-inventory-migrate323258: File "/opt/app-root/src/manage.py", line 4, in <module>
iop-core-host-inventory-migrate323258: from app import create_app
iop-core-host-inventory-migrate323258: File "/opt/app-root/src/app/__init__.py", line 41, in <module>
iop-core-host-inventory-migrate323258: from lib.feature_flags import SchemaStrategy
iop-core-host-inventory-migrate323258: File "/opt/app-root/src/lib/feature_flags.py", line 4, in <module>
iop-core-host-inventory-migrate323258: from UnleashClient.strategies import Strategy
iop-core-host-inventory-migrate323258: ModuleNotFoundError: No module named 'UnleashClient.strategies'
iop-core-host-inventory-migrate323311: Traceback (most recent call last):
iop-core-host-inventory-migrate323258: Usage: flask [OPTIONS] COMMAND [ARGS]...
iop-core-host-inventory-migrate323258: Try 'flask --help' for help.
iop-core-host-inventory-migrate323258: Error: No such command 'db'.
iop-core-host-inventory-migrate323311: File "/usr/local/lib/python3.12/site-packages/flask/cli.py", line 245, in locate_app
iop-core-host-inventory-migrate323311: import(module_name)
iop-core-host-inventory-migrate323311: File "/opt/app-root/src/manage.py", line 4, in <module>
iop-core-host-inventory-migrate323311: from app import create_app
iop-core-host-inventory-migrate323311: File "/opt/app-root/src/app/__init__.py", line 41, in <module>
iop-core-host-inventory-migrate323311: from lib.feature_flags import SchemaStrategy
iop-core-host-inventory-migrate323311: File "/opt/app-root/src/lib/feature_flags.py", line 4, in <module>
iop-core-host-inventory-migrate323311: from UnleashClient.strategies import Strategy
iop-core-host-inventory-migrate323311: ModuleNotFoundError: No module named 'UnleashClient.strategies'
iop-core-host-inventory-migrate323311:
iop-core-host-inventory-migrate323311:
iop-core-host-inventory-migrate323311: Usage: flask [OPTIONS] COMMAND [ARGS]...
iop-core-host-inventory-migrate323311: Try 'flask --help' for help.
iop-core-host-inventory-migrate323311:
iop-core-host-inventory-migrate323311: Error: No such command 'db'.
iop-core-host-inventory-migrate323311: make: * [mk/base.mk:16: upgrade_db] Error 2
iop-core-host-inventory-migrate323258: make: *
[mk/base.mk:16: upgrade_db] Error 2


Files

foreman-installer_iop_errors.txt foreman-installer_iop_errors.txt 69.8 KB bdouxx etienne, 05/05/2026 11:57 AM
Actions #1

Updated by bdouxx etienne about 1 month ago

in podman version is foreman-3.16 , but in rpm version is foreman-3.18

Perhaps du to
https://github.com/theforeman/puppet-iop/pull/86

Actions

Also available in: Atom PDF