-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pulp ostree: compose job is finished but importing to pulp is not finished #3673
Comments
Pulling in some quotes from the PR where this issue was discussed: Comment from @teg #3636 (comment)
Response from @thozza #3636 (comment)
|
Upload function now waits for async tasks to finish: #3636 (comment) |
Verified, fixed. |
Describe the bug
When build edge image with pulp enabled, the compose job show as finished, but the importing to pulp is not finished yet, need to wait until import finished. (wait time is usually several minutes, depends on network or pulp server location)
From customer's point of view, if compose job finished, it means they can use image content in pulp.
Environment
To Reproduce
Steps to reproduce the behavior:
provider = "pulp.ostree"
[settings]
server_address = "http://localhost:9090"
repository = "commit-repo"
basepath = "commit-path"
username = "admin"
password = "foobar"
3. build image with command "composer-cli compose start-ostree firstcommit edge-commit --ref rhel/9/x86_64/edge ./pulp.toml"
4. After some time, check compose job status, it is finished. Check pulp content, it's empty.
5. Then after another several minutes, check pulp content, the image is imported.
Expected behavior
If compose job is finished, the image should be imported into pulp already.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: