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

open ondemand 2.0 updates #963

Closed
johrstrom opened this issue May 27, 2021 · 7 comments
Closed

open ondemand 2.0 updates #963

johrstrom opened this issue May 27, 2021 · 7 comments

Comments

@johrstrom
Copy link

Hey, I'm updating the playbooks for Open OnDemand 2.0 and thought I'd drop in and let you folks know about some updates.

I was going to tell you we're on galaxy now as osc.open_ondemand, but I see you use the git tags which is just as well.

We don't ship this file in 2.0. So you'll either have to write your own or just use the user_map_match that we'll start shipping with.

- name: fix permissions on regex file
file:
path: "{{ ood_base_dir }}/ood_auth_map/bin/ood_auth_map.regex"
mode: 0755
tags:
- configure

This works in debian's in v1.8.1+ of the role - you should be able to remove this and have everything work. I'll continue to have ansible templates in 2.0.x, but I'd like to deprecate it just because it's duplicate work on my side with not a lot of benefit to the user.

ood_portal_generator: false

@dholt
Copy link
Contributor

dholt commented May 27, 2021

Thanks Jeff!

@github-actions
Copy link

github-actions bot commented Dec 4, 2021

This issue is stale because it has been open for 60 days with no activity. Please update the issue or it will be closed in 7 days.

@pedrosalgueiro
Copy link

pedrosalgueiro commented Dec 6, 2021

I am installing Open OnDemand using DeepOps on a DGX A100 and run into this problem:

TASK [ood-wrapper : fix permissions on regex file] *****************************
fatal: [theHostname]: FAILED! => changed=false 
  msg: file (/opt/ood/ood_auth_map/bin/ood_auth_map.regex) is absent, cannot continue
  path: /opt/ood/ood_auth_map/bin/ood_auth_map.regex
  state: absent

Any help on how to solve it is appreciated.

@johrstrom
Copy link
Author

Do you use and/or need that file? We've found most sites can get by with the user_map_match configuration instead.

Here are the release notes for the same.
https://osc.github.io/ood-documentation/latest/release-notes/v2.0-release-notes.html#no-longer-providing-ood-auth-map-regex

@ajdecon
Copy link
Collaborator

ajdecon commented Dec 6, 2021

Opened #1068 to remove this task from the DeepOps installation logic

@ksasagit
Copy link
Contributor

This task, which was removed in 21.12, seems to be back in 22.01. In 22.01, the following error has occurred again.

TASK [ood-wrapper : fix permissions on regex file] *****************************
fatal: [theHostname]: FAILED! => changed=false
msg: file (/opt/ood/ood_auth_map/bin/ood_auth_map.regex) is absent, cannot continue
path: /opt/ood/ood_auth_map/bin/ood_auth_map.regex
state: absent

ajdecon added a commit to ajdecon/deepops that referenced this issue Mar 2, 2022
- Remove task for non-existent ood_auth_map.rexex file
- Remove unnecessary ood_portal_generator var
ajdecon added a commit that referenced this issue Mar 23, 2022
@ajdecon
Copy link
Collaborator

ajdecon commented Mar 25, 2022

Addressed by #1125

@ajdecon ajdecon closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants