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

Arrange access to GRNET OpenStack #5

Closed
backeb opened this issue Jun 21, 2021 · 42 comments
Closed

Arrange access to GRNET OpenStack #5

backeb opened this issue Jun 21, 2021 · 42 comments
Assignees

Comments

@backeb
Copy link
Contributor

backeb commented Jun 21, 2021

Hi @kkoumantaros
for this use case we need access to GRNET's cloud, and later probably HPC.
The VO is currently being enabled in PERUN, see #1.
Please advise what we, the users, should do on our side to get access to the GRNET OpenStack.
Thanks
Bjorn
cc @sandragaytan @avgils @nikosT @soumplis @sebastian-luna-valero @yan0s @ntellgrnet

@kkoumantaros
Copy link

please assign this one to @yan0s

@kkoumantaros
Copy link

Also I think you will need to provide some configuration info @enolfc ?

@yan0s
Copy link

yan0s commented Jun 23, 2021

We have currently integrated EGI Check-In with our OpenStack.
Is the VO registered in EGI?
As a first step I need my account to become a member of this VO.
How can I do that?

@yan0s
Copy link

yan0s commented Jun 23, 2021

@backeb

@enolfc
Copy link

enolfc commented Jun 23, 2021

@yan0s you can register at https://perun.egi.eu/fed/registrar/?vo=hisea it should work with your existing Check-in identity.
In any case, you don't need to be a member of the VO to support it at the site (unless of course you want to test things)

@yan0s
Copy link

yan0s commented Jun 23, 2021

Hello @enolfc , I goτ the following error:
image

@nikosT
Copy link

nikosT commented Jun 23, 2021

Hello @enolfc , I goτ the following error:
image

I also experience the same error

@sebastian-luna-valero
Copy link
Contributor

Hi @yan0s @nikosT

I had a similar issue. Please try clicking It's not me to pass that pop-up window and see if you get something similar to this:

imagen

If yes, then click submit.

Then, according to https://operations-portal.egi.eu/vo/view/voname/hisea.c-scale.eu @sandragaytan should receive and approve your request to join the VO.

I hope that helps.

Best regards,
Sebastian

@yan0s
Copy link

yan0s commented Jun 23, 2021

Thanks @sebastian-luna-valero. That did it. Now I can see in Perun that I am a member of the VO.
To provide access to OpenStack to the members of the VO, the EGI login must provide a hisea specific entitlement.
It was my impression that being a member of the VO in Perun would grant me some kind of new entitlement, but I see that this is not the case.

My test to make sure EGI Check-In is integrated with OpenStack was to create a group in EGI, become a member and then the entilement "urn:mace:egi.eu:group:registry:cloud.grnet.gr:role=member#aai.egi.eu" was granted to all members of the group.
I then used this entitlement to map users having it as users that can access a certain project in OpenStack.

How can we get something similar with Perun?
@enolfc

@nikosT
Copy link

nikosT commented Jun 23, 2021

Hi @yan0s @nikosT

I had a similar issue. Please try clicking It's not me to pass that pop-up window and see if you get something similar to this:

imagen

If yes, then click submit.

Then, according to https://operations-portal.egi.eu/vo/view/voname/hisea.c-scale.eu @sandragaytan should receive and approve your request to join the VO.

I hope that helps.

Best regards,
Sebastian

I also confirm that. I'm waiting now for the approval.

Thanks @sebastian-luna-valero !

@sebastian-luna-valero
Copy link
Contributor

Hi @yan0s

Enol may confirm later but I think the conversation here might be relevant regarding your question about the entilement.

Best regards,
Sebastian

@yan0s
Copy link

yan0s commented Jun 24, 2021

Hi @sebastian-luna-valero, according to the conversation you mentioned I should have the entitlement "urn:mace:egi.eu:group:hisea:members:role=member#aai.egi.eu". Trying to connect to our OpenStack service I can see that I do not have such an entitlement.
Is there, maybe, an extra step in Perun or in EGI needed in order to release this entitlement?

@enolfc
Copy link

enolfc commented Jun 24, 2021

In principle there shouldn't be any extra step for Check-in to get this info (if you are using the same user in Perun and Check-in). If this is not happening we need to get in touch with Check-in support to clarify.

@sebastian-luna-valero
Copy link
Contributor

I have reported the issue to Check-in and will report back the answer.

@sebastian-luna-valero
Copy link
Contributor

PERUN support confirmed that this issue is solved now.

@yan0s could you please check whether you have the entitlement now?

However, here is the error I get when I try to log into the GRNET's OpenStack service today:

An error occurred during a connection to keystone-louros.cloud.grnet.gr:5000. SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

I think yesterday was working fine.

@soumplis
Copy link

soumplis commented Jul 2, 2021

@sebastian-luna-valero Can you please try again, there were some transient issues earlier today.

@sebastian-luna-valero
Copy link
Contributor

That's working for me now, thank you very much!

I guess we wait until others have joined the VO and confirmed access to the Horizon dashboard before closing the ticket?

@backeb
Copy link
Contributor Author

backeb commented Jul 6, 2021

When I follow this link: https://perun.egi.eu/fed/registrar/?vo=hisea
I get:
You are already registered
Your membership in hisea.c-scale.eu is valid until 2023-08-23.

@yan0s can you share the link to your OpenStack Dashboard so we can try instantiate a VM?

@soumplis
Copy link

soumplis commented Jul 6, 2021

@backeb Please use https://ui.cloud.grnet.gr

@backeb
Copy link
Contributor Author

backeb commented Jul 8, 2021

@backeb Please use https://ui.cloud.grnet.gr

Thanks @soumplis I can access the OpenStack Dashboard. @sandragaytan could you follow the link and sign in using EGI SSO. If it works for you we can set up a test VM for @lorincmeszaros

@backeb
Copy link
Contributor Author

backeb commented Jul 26, 2021

@backeb @lorincmeszaros @avgils test workflow to get access and feedback issues (if any)

@backeb
Copy link
Contributor Author

backeb commented Aug 3, 2021

Hi @soumplis 👋
For some reason now, when I follow the link to https://ui.cloud.grnet.gr and try login using EGI SSO I get the following error:
{"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}}

@kkoumantaros
Copy link

I guess you mean egi check-in not EGI SSO
I'm able to login with GRNET idp using EGI Check-in perhaps the issue is with egi SSO

@backeb
Copy link
Contributor Author

backeb commented Aug 3, 2021

Yes, sorry I mean EGI Check-in (how is EGI Check-in different EGI SSO?)

image

After this step it takes me to https://aai.egi.eu and talks about "EGI AAI OpenID Connect Provider Proxy requires that the information below is transferred."

After clicking "Yes" I get
{"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}}

@enolfc @sebastian-luna-valero is there something going on with EGI Check-in?

@kkoumantaros
Copy link

try incognito window, I think you have stale cache.

@yan0s
Copy link

yan0s commented Aug 3, 2021

Hello @backeb, to access the "C-SCALE-HiSea" project in our OpenStack you need to have the entitlement "urn:mace:egi.eu:group:group:hisea:role=member#aai.egi.eu" in your EGI account. You can verify you have this entitlement when logging in when you are on this page

image

If you don't have the entitlement you need to register to the hisea group in Perun.

@sebastian-luna-valero
Copy link
Contributor

Hi,

I am having the same issue. I also tried an incognito window.

Please note that the VO info is hosted in Perun so I am wondering whether this is related:

tdviet/fedcloudclient#54

Is the group:group expected in:

urn:mace:egi.eu:group:group:hisea:role=member#aai.egi.eu

Could @sustr4 please confirm?

By the way @backeb here is https://aai.egi.eu/oidc/manage/user/profile how to get @yan0s info.

Best regards,
Sebastian

@backeb
Copy link
Contributor Author

backeb commented Aug 3, 2021

Hi @kkoumantaros and @yan0s

I've tried also in an incognito window and still get the same error.

I also have the entitlement urn:mace:egi.eu:group:group:hisea:role=member#aai.egi.eu in my EGI account
image

@yan0s
Copy link

yan0s commented Aug 3, 2021

It was a typo on my part, it should be fixed now.
Can you, please, try again?

@sebastian-luna-valero
Copy link
Contributor

It's working now.

Thank you very much @yan0s

@backeb
Copy link
Contributor Author

backeb commented Aug 3, 2021

Thanks @yan0s, I can confirm it works for me now as well.

@mariojmdavid
Copy link

please, tell me why and well justified do the entitlement now has a duplicate "group" since a week ago or so, because I can assure it didn't have before that date

these changes in either the identity or atribute providers simply breaks things, i.e. authorization of the users, with no notification whatsoever to the resource providers

@backeb
Copy link
Contributor Author

backeb commented Sep 7, 2021

@kkoumantaros this morning when I tried to access https://ui.cloud.grnet.gr/ using EGI SSO, I get an error:
{"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}}

I guess something changed in the backend again with EGI Check-in can someone please fix this?

cc @yan0s @sebastian-luna-valero @avgils

@kkoumantaros
Copy link

kkoumantaros commented Sep 7, 2021 via email

@sebastian-luna-valero
Copy link
Contributor

Same problem here. I tried logging in with a clean session.

Could this be related to the entitlement update? Before we had:

urn:mace:egi.eu:group:group:hisea:role=member#aai.egi.eu

Now we have

urn:mace:egi.eu:group:hisea:role=member#aai.egi.eu

i.e. group is no longer duplicated.

Please have a look at the Check-in configuration change explained in tdviet/fedcloudclient#54 (comment)

@backeb
Copy link
Contributor Author

backeb commented Sep 7, 2021

@kkoumantaros I get the same error with an incognito window. I agree it could be related to the issue above @sebastian-luna-valero describes. Had the same issue on INCD

@yan0s
Copy link

yan0s commented Sep 10, 2021

Hello @backeb , it seems that the entitlement that the users of "hisea" group get from EGI (or Perun) has changed
from:
urn:mace:egi.eu:group:group:hisea:role=member#aai.egi.eu
to
urn:mace:egi.eu:group:hisea:role=member#aai.egi.eu
I changed the mapping in our deployment with the updated entitlement.
It should be ok now.

@sebastian-luna-valero
Copy link
Contributor

Many thanks @yan0s

It works for me now.

@backeb backeb closed this as completed Sep 29, 2021
@sebastian-luna-valero
Copy link
Contributor

Hi,

After a recent change in Perun (see this ticket FYI) I no longer have access to:

Summary of the change for C-SCALE VOs

Sorry for the inconvenience!

@sustr4
Copy link

sustr4 commented Nov 12, 2021 via email

@mariojmdavid
Copy link

mapping updated at INCD, please check

@sebastian-luna-valero
Copy link
Contributor

It works for me again at INCD. Thanks @mariojmdavid

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

9 participants