Use Candlepin project official image#104
Conversation
roles/candlepin/defaults/main.yml
Outdated
| candlepin_db_ssl_ca: None | ||
| candlepin_db_ssl_verify: true | ||
|
|
||
| candlepin_tomcat_home: /opt/tomcat/conf |
There was a problem hiding this comment.
what was the reason for this change? Once I undid this change and let the config files be under /etc/tomcat then it worked
There was a problem hiding this comment.
I think I ran into errors originally with this path. And then I assumed since tomcat is in /opt/tomcat and there is a conf directory in there that it should use that. Since it wouldn't want to clash with system tomcat from package.
What is the expectation for where configuration files should live with this image?
There was a problem hiding this comment.
I tested this locally and got a green result. Pushed update to this PR and we'll see what automation says.
There was a problem hiding this comment.
I see in the candlepin image we build we use /opt/tomcat/conf, so I have no idea why that doesn't work. I'll try to tinker a bit more on monday to see why
There was a problem hiding this comment.
@ehelms so it looks like the reason it worked previously by using /etc/tomcat/conf was because the wrong container was still being used (the one with the rpms). I had to do a few changes to get it working. Should I push a commit to this PR?
There was a problem hiding this comment.
You can find the diff here: nikosmoum@94d127d
6409bed to
981bbae
Compare
We can still create a container that is |
|
Sure, or post a diff.
…On Wed, Mar 26, 2025, 5:53 PM Nikos Moumoulidis ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In roles/candlepin/defaults/main.yml
<#104 (comment)>
:
>
candlepin_db_host: localhost
candlepin_db_port: 5432
candlepin_db_ssl: false
candlepin_db_ssl_ca: None
candlepin_db_ssl_verify: true
+
+candlepin_tomcat_home: /opt/tomcat/conf
@ehelms <https://github.com/ehelms> so it looks like the reason it worked
previously by using /etc/tomcat/conf was because the wrong container was
still being used (the one with the rpms). I had to do a few changes to get
it working. Should I push a commit to this PR?
—
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACHT46PW24CDPADXLUIS4T2WLEPRAVCNFSM6AAAAABYQEX2COVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDOMJXHE3DOMJUGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Signed-off-by: Eric D. Helms <ericdhelms@gmail.com>
981bbae to
abefc94
Compare
|
@nikosmoum Updated based on your diff |
Attempting to use the Candlepin project's official container, but running into errors I do not understand: