Skip to content

Commit

Permalink
Add information about the VO property (#618)
Browse files Browse the repository at this point in the history
# Summary

Document the use of the `VO` property so discovery can properly work
with cloud-info-provider

---------

Co-authored-by: Baptiste Grenier <baptiste.grenier@egi.eu>
Co-authored-by: Sebastian Luna-Valero <sebastian-luna-valero@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 14, 2023
1 parent 1e94f6b commit b6b1cee
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions content/en/providers/cloud-compute/openstack/vo_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,24 @@ The usual method of supporting a VO is by creating a local project for it. You
should assign quotas to this project as agreed in the OLA defining the support
for the given VO.

1. Create a group where users belonging to the VO will be mapped to: :
1. Create a group where users belonging to the VO will be mapped to:

```shell
group_id=$(openstack group create -f value -c id <new_group>)
```

1. Add that group to the desired local project: :
1. Add that group to the desired local project:

```shell
$ openstack role add member --group $group_id --project <your project>

Check failure on line 27 in content/en/providers/cloud-compute/openstack/vo_config.md

View workflow job for this annotation

GitHub Actions / Check Spelling

`openstack` is not a recognized word. (unrecognized-spelling)
```

1. Set the `egi.VO` property to the name of the VO that you are supporting:

```shell
$ openstack project set --property egi.VO=<name of the VO> <your project>

Check failure on line 33 in content/en/providers/cloud-compute/openstack/vo_config.md

View workflow job for this annotation

GitHub Actions / Check Spelling

`openstack` is not a recognized word. (unrecognized-spelling)
```

## Keystone Mapping

Expand your `mapping.json` with the VO membership to the created group
Expand Down Expand Up @@ -105,16 +111,8 @@ openstack role add member --user <your caso user> --project <your new vo project

## Information system

Add the mapping to your site configuration with a new Pull Request to the
[fedcloud-catchall-operations repository](https://github.com/EGI-Federation/fedcloud-catchall-operations)

```yaml
---
vos:
- name: <vo name>
auth:
project_id: <your new vo project>
```
If you are correctly setting the `egi.VO` property to your projects, the configuration will
be automatically retrieved by the cloud-info-provider.

## VM Image Management

Expand Down

1 comment on commit b6b1cee

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@check-spelling-bot Report

🔴 Please review

See the 📜action log or 📝 job summary for details.

Unrecognized words (1)

openstack

To accept these unrecognized words as correct, you could run the following commands

... in a clone of the git@github.com:EGI-Federation/documentation.git repository
on the main branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/EGI-Federation/documentation/actions/runs/6863104796/attempts/1'

Please sign in to comment.