-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Pod fails when deploying on Red Hat Openshift #60
Comments
I'll take a look at this. |
sry, we have no openshift knwoledge atm. but as far as i understand you try to build the container yourself from this repository? we kindly recommend using the pre-builded images we provide on ghcr and docker hub. we have version tags like 8.3.0-v1.3.0 or up2date builds on push with 8.3.0-main. same goes for the 7 release of puppetdb. |
@rwaffen, thank you for your attention to this. The pre-built image doesn't work, either probably because of OpenShift's requirement that pods run as a non-root, random-ish UID. I'm working on a fix for that as well, but my OS knowledge is lacking. I got past these errors by adding puma and rack to the Gemfile but I don't know how that affects builds on non-OpenShift platforms. Is there a way in the Gemfile to do something like:
?? |
sry for late reply: you could try # add a gem when env var test is set to true
gem 'rspec', '~> 3.0' if ENV['test'] == 'true' |
In Red Hat Openshift 4.1, the puppetdb pod crashes after a successful build.
Steps I used to produce:
After Build completes successfully, but the Pod continuously crashes with the following error:
I'm a novice at Openshift so I don't have much else to provide. I know next to nothing about Ruby but perhaps the Gemfile or Rakefile need to be updated to include the Rack gem?
The text was updated successfully, but these errors were encountered: