Thursday, 2021-06-24

shubjeroDoes Horizon provide a way to generate ec2 credentials? I'm looking for the Horizon equivalent of 'openstack ec2 credentials ...'11:39
-opendevstatus- NOTICE: Our Zuul gating CI/CD services will be offline starting around 14:00 UTC (in roughly two hours from now) in order to apply some critical security updates, and is not expected to remain offline for more than 30 minutes.12:01
vishalmanchandashubjero: Hi, horizon only supports Application Credentials as of now.12:02
shubjerovishalmanchanda: Thank you, that explains why I cannot find it! :)12:59
shubjerovishalmanchanda: Actually, I also see you are the asignee to https://bugs.launchpad.net/horizon/+bug/1886025 . Has this been backported to Ussuri?13:16
shubjeroWe just upgraded to Ussuri a couple weeks ago and I just noticed this small bug13:16
vishalmanchandashubjero: hmm fix is purposed when victoria  is master branch.13:20
shubjerovishalmanchanda: Well your fix looks simple enough to just backport myself :)13:20
vishalmanchandashubjero: Do you want me to backport it to stable/ussuri https://review.opendev.org/c/openstack/horizon/+/73968513:20
shubjerovishalmanchanda: that would be ideal!13:20
opendevreviewVishal Manchanda proposed openstack/horizon stable/ussuri: Fix tooltips and popovers for flavor details on the instance list.  https://review.opendev.org/c/openstack/horizon/+/79791613:21
vishalmanchandashubjero: done ^^13:21
shubjerovishalmanchanda: Nice! thank you. I install Openstack from ubuntu packages so hopefully they can pick this up at some point too, in the meantime I'm happy to modify that html file manually 13:22
-opendevstatus- NOTICE: Our Zuul gating CI/CD services are being taken offline now in order to apply some critical security updates, and are not expected to remain offline for more than 30 minutes.13:56
amotokishubjero: regarding ec2 credentail, do you mean openrc/clouds.yaml equivalent for EC2 credential?14:09
shubjeroamotoki: no, I'm referring to the ability for openstack/keystone to generate a S3 style access/secret which can be used to authenticate against ceph radosgw backends instead of having to create the s3 access/secret via radosgw-admin (which would be limited to ceph administrators).14:10
shubjerothe ec2 credential is basically a self-serve s3 api key generation 14:11
shubjerothe key generated is scoped to the users defined or active/defaul topenstack project which is great14:12
amotokishubjero: okay. I found https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/api_access/views.py#L42 and just wondered this is what you want, but perhaps it is not the thing.14:12
shubjeroamotoki: Interesting, I am not sure. I'm not a dev just an operator but the terminology sounds correct. Where is this in the UI?14:14
amotokishubjero: IIRC I can access nova via nova ec2 service (which is now a part of openstack/ec2 project) using a credentail downloaded from there.14:15
amotokishubjero: it was several years ago (almost 10 years ago), so I might be wrong.14:15
shubjeroamotoki: yeah nova ec2 is different from ec2 credentials. Confusing, I know, but nova ec2 I believe was early days api equivalent to aws ec2.14:16
shubjeroand yeah, deprecated. But I don't think ec2 credentials is deprecated14:17
amotokishubjero: yes, I know. I just said I could access nova using ec2 credentials.14:17
shubjerooh I see, so its more than just object-storage then, if configured to support it I guess14:18
amotokinova ec2 uses ec2 credentials for authn, so I think we are talking the same thing.14:18
shubjeroYeah, I think so. But there's nothing built in Horizon to provide users a gui self-serve to create/manage ec2 creds, right? At least I can't seem to find it14:20
amotokishubjero: you can find the reason at https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/dashboards/project/api_access/tables.py#L4214:22
amotokishubjero: horizon shows the download button in the API access panel only when 'ec2' service is registered to the keystone catalog.14:23
shubjeroamotoki: ok cool thanks, I don't have that anymore, I think we removed that because we thought it was deprecated14:24
amotokishubjero: is the project https://opendev.org/openstack/ec2-api deprecated now?14:25
amotokishubjero: I am not so familiar with the status of the ec2-api project.14:26
shubjeroamotoki: Neither am I. There was likely some confusion on my end about 'ec2' stuff a couple years ago I think14:26
amotokishubjero: okay. no problem. nova ec2 API was deprecated and it was split out as ec2-api project.14:27
amotokiand then nova ec2 API was dropped.14:27
shubjeroYeah maybe that was it. Nova's seen a lot of functionality decoupled over the years14:28
shubjeroamotoki: thanks for your insight!14:28
amotokishubjero: some more info. as a quick look, python-openstackclient ec2 credentail create and horizon code I quoted use the same code internally.14:28
shubjeroamotoki: yeah, I've been setting up the ceph radosgw integration with keystone for our users and I've been writing our docs with openstackclient in mind and was just curious if I also needed to write up some documentation on how to do it in Horizon as well.. hence my questions here today :)14:29

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!