On Demand portal accessible with IP but not with domain name

Hello,

I am testing Open Ondemand locally, I can access the ood portal when the servername in the ood_portal.conf is set to my IP, but it fails when I use domain name, I can only see the apache start page. Any suggestions?

Thank you,
Varun

Hi and welcome!

Sorry for the delay. I’m guessing you’re running on a Ubuntu system because I think that can happen with Ubuntu apache2 distributions. Here’s a page that may help you see the the virtualhosts that apache has configured.

https://osc.github.io/ood-documentation/latest/how-tos/debug/debug-apache.html#show-virtualhosts

That said - if you’re testing OnDemand locally I’d suggest this docker compose project. It has a slurm cluster as well as OnDemand. OnDemand is great, but a bit useless without a scheduler (plus it has the apps installed and tutorials).

But if you do use this project, please build the containers yourself. The ones on Dockerhub right now don’t work because the certificates they have in the images have expired.

Hi Jeff,

Thanks for the response. Yes I’m using Ubuntu 22.04.
I think there is an issue with SSL, as I can access the ood portal on http but not on https. I’m using a self signed certificate.

Yea I’d still suggest the toolset docker compose project just because it’s got everything built into it. And again, Open OnDemand without a scheduler is pretty useless. That project boots slurm containers and has Open OnDemand preconfigured to use that slurm cluster.

Hi Jeff,
Thank you for your help. Our OOD works now.
We do have clusters with scheduler that I have enabled through cluster configs.
I am now proceeding to configure batch connect for enabling Jupyter notebook.
We are not so keen on Docker solution right now as we want to deploy it on the cluster.

Yea if you want to take it to full production, installing a package (an .rpm or .deb) on a VM or somewhere is your best bet.