Skip to content
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

Base monolithic container image on pods ui worker #19463

Merged
merged 1 commit into from
Nov 6, 2019

Conversation

carbonin
Copy link
Member

@carbonin carbonin commented Nov 5, 2019

To do this I overwrote the entrypoint from the base image with
what is mostly the previous appliance initialize script.

The main changes I made were to add the server start at the end
and to remove the old container scripts references by pasting
the v2 key writing function into where it was previously called.

Additionally I removed starting memcached from the block that only
gets called if the database doesn't exist. We should start memcached
regardless.

This should allow the container to be started after a clean stop
Fixes #17274

@carbonin
Copy link
Member Author

carbonin commented Nov 5, 2019

On a separate note, this makes this image very hard to build if you wanted to use it for development. I assume that's not the intention of this image? Otherwise we would probably have to separate out this image from the pods build tree completely and maintain a package list in a third location.

docker-assets/entrypoint Outdated Show resolved Hide resolved
To do this I overwrote the entrypoint from the base image with
what is mostly the previous appliance initialize script.

The main changes I made were to add the server start at the end
and to remove the old container scripts references by pasting
the v2 key writing function into where it was previously called.

Additionally I removed starting memcached from the block that only
gets called if the database doesn't exist. We should start memcached
regardless.

This should allow the container to be started after a clean stop
Fixes ManageIQ#17274
@carbonin carbonin force-pushed the base_monolithic_image_on_pods branch from b51e2b8 to e1df9e8 Compare November 5, 2019 21:34
@miq-bot
Copy link
Member

miq-bot commented Nov 5, 2019

Checked commit carbonin@e1df9e8 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 🍰

@miq-bot
Copy link
Member

miq-bot commented Nov 5, 2019

Some comments on commit carbonin@e1df9e8

docker-assets/entrypoint

  • ⚠️ - 13 - Detected puts. Remove all debugging statements.

@Fryguy Fryguy merged commit 8982d34 into ManageIQ:master Nov 6, 2019
@Fryguy Fryguy added this to the Sprint 124 Ending Nov 11, 2019 milestone Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker manageiq do not start after adding/removing network interface - memcached connectivity
3 participants