Hi man,
I’m try to install osbuild-composer to build a image, and i find obc service can not start;
what i refered document is Introduction to image builder - Fedora Magazine
There is log for me.
Mar 30 10:26:03 localhost systemd[1]: Started OSBuild Composer.
Mar 30 10:26:03 localhost osbuild-composer[457727]: 2022/03/30 10:26:03 Loaded configuration:
Mar 30 10:26:03 localhost osbuild-composer[457727]: [koji]
Mar 30 10:26:03 localhost osbuild-composer[457727]: ca = ""
Mar 30 10:26:03 localhost osbuild-composer[457727]: [worker]
Mar 30 10:26:03 localhost osbuild-composer[457727]: ca = ""
Mar 30 10:26:03 localhost osbuild-composer[457727]: pg_host = ""
Mar 30 10:26:03 localhost osbuild-composer[457727]: pg_port = ""
Mar 30 10:26:03 localhost osbuild-composer[457727]: pg_database = ""
Mar 30 10:26:03 localhost osbuild-composer[457727]: pg_user = ""
Mar 30 10:26:03 localhost osbuild-composer[457727]: pg_password = ""
Mar 30 10:26:03 localhost osbuild-composer[457727]: pg_ssl_mode = ""
Mar 30 10:26:03 localhost osbuild-composer[457727]: [composer_api]
Mar 30 10:26:03 localhost osbuild-composer[457727]: [weldr_api]
Mar 30 10:26:03 localhost osbuild-composer[457727]: 2022/03/30 10:26:03 Failed to load subscriptions. osbuild-composer will fail to build images if the configured repositories require them: no matching key and certificate pair
Mar 30 10:26:03 localhost osbuild-composer[457727]: 2022/03/30 10:26:03 neither the weldr API socket nor the composer API socket is enabled, osbuild-composer is useless without one of these APIs enabled
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Main process exited, code=exited, status=1/FAILURE
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Failed with result 'exit-code'.
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Service RestartSec=100ms expired, scheduling restart.
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Scheduled restart job, restart counter is at 4.
Mar 30 10:26:03 localhost systemd[1]: Stopped OSBuild Composer.
Mar 30 10:26:03 localhost systemd[1]: Started OSBuild Composer.
Mar 30 10:26:03 localhost osbuild-composer[457765]: 2022/03/30 10:26:03 Loaded configuration:
Mar 30 10:26:03 localhost osbuild-composer[457765]: [koji]
Mar 30 10:26:03 localhost osbuild-composer[457765]: ca = ""
Mar 30 10:26:03 localhost osbuild-composer[457765]: [worker]
Mar 30 10:26:03 localhost osbuild-composer[457765]: ca = ""
Mar 30 10:26:03 localhost osbuild-composer[457765]: pg_host = ""
Mar 30 10:26:03 localhost osbuild-composer[457765]: pg_port = ""
Mar 30 10:26:03 localhost osbuild-composer[457765]: pg_database = ""
Mar 30 10:26:03 localhost osbuild-composer[457765]: pg_user = ""
Mar 30 10:26:03 localhost osbuild-composer[457765]: pg_password = ""
Mar 30 10:26:03 localhost osbuild-composer[457765]: pg_ssl_mode = ""
Mar 30 10:26:03 localhost osbuild-composer[457765]: [composer_api]
Mar 30 10:26:03 localhost osbuild-composer[457765]: [weldr_api]
Mar 30 10:26:03 localhost osbuild-composer[457765]: 2022/03/30 10:26:03 Failed to load subscriptions. osbuild-composer will fail to build images if the configured repositories require them: no matching key and certificate pair
Mar 30 10:26:03 localhost osbuild-composer[457765]: 2022/03/30 10:26:03 neither the weldr API socket nor the composer API socket is enabled, osbuild-composer is useless without one of these APIs enabled
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Main process exited, code=exited, status=1/FAILURE
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Failed with result 'exit-code'.
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Service RestartSec=100ms expired, scheduling restart.
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Scheduled restart job, restart counter is at 5.
Mar 30 10:26:03 localhost systemd[1]: Stopped OSBuild Composer.
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Start request repeated too quickly.
Mar 30 10:26:03 localhost systemd[1]: osbuild-composer.service: Failed with result 'exit-code'.
Mar 30 10:26:03 localhost systemd[1]: Failed to start OSBuild Composer.
Mar 30 10:26:03 localhost systemd[1]: osbuild-local-worker.socket: Failed with result 'service-start-limit-hit'.
Mar 30 10:26:03 localhost osbuild-worker[457594]: 2022/03/30 10:26:03 error requesting job: Post "http://localhost/api/worker/v1/jobs": read unix @->/run/osbuild-composer/job.socket: read: connection reset by peer
Mar 30 10:26:03 localhost systemd[1]: osbuild-worker@1.service: Main process exited, code=exited, status=1/FAILURE
Mar 30 10:26:03 localhost systemd[1]: osbuild-worker@1.service: Failed with result 'exit-code'.