OOD update from 1.5 to 1.6 experience

Hi everyone,

I just updated our OOD instance and overall it was fairly smooth except for a few issues that I want to share to potentially help others.

The first issue is that I have modified /opt/rh/httpd24/root/etc/httpd/conf.d/ood-portal.conf, not /etc/ood/config/ood-portal.yml on our test instance so the ood-portal.conf got overwritten. Lesson learned.

During the troubleshooting I noticed that the info in /opt/rh/httpd24/root/etc/httpd/conf.d/ood-portal.conf has a typo - the ood_portal.yml is listed as ood-portal.yml on line 17. I don’t know where the source of this is so developers please check/fix that - the different file name caused an initial confusion as I was not sure if the file name has not changed in the update.

The second issue is that the update overwrites /var/www/ood/apps/sys/bc_desktop. I have made some customizations, in particular adding a field for number of tasks, and also adding the following to template/script.sh.erb to get rid of the dconf issues:

# Work around spam message about dconf write permissions
export XDG_RUNTIME_DIR="/tmp/${UID}"

I am not sure how to smoothly address this but if someone has an idea please post it. I ended up just backing up the old bc_desktop and then putting it back in after the update (after checking that it has not changed with the update).

Perhaps the XDG_RUNTIME_DIR can be put in by default as I am not sure if anyone would even have XDG base dir set up right.


1 Like

Sigh, editing rpm controlled files is always a trap waiting to snap shut and break your fingers.

I’ve found placing files in /etc/ood/config/apps/… /… seems to be the safe way to get local things done including initializers, … that would be wiped by rpm in /var/www/ood.

If you’ve found something that can’t be done via /etc/ood/config/apps/bc_desktop, you could open a feature request for it.



Hi Ric,

I have modified the form.yml and submit.yml.erb in the bc_desktop to add core count, so, I am not sure if I can modify it in the /etc/ood/config/apps/bc_desktop/*.yml cluster files. I’ll ask the OOD guys at PEARC about it.