Change access restrictions for OSWL collector service user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
High
|
Fuel Sustaining | ||
6.1.x |
Won't Fix
|
Wishlist
|
Fuel Library (Deprecated) | ||
7.0.x |
Won't Fix
|
High
|
Fuel Library (Deprecated) | ||
8.0.x |
Won't Fix
|
High
|
Fuel Library (Deprecated) | ||
Mitaka |
Won't Fix
|
High
|
Fuel Library (Deprecated) |
Bug Description
Now for collecting of OSWL separate OpenStack user is used. It has admin privileges in order to get info on all resources (for example, access to volumes and instances is provided only to users of tenant in which those resources has been created and admin tenant). But having additional user with power of "all-mighty-admin" could be a source of many security threats for the OpenStack cluster. Also there is possibility that cloud operator may accidentally delete the user in case he/she is not aware of the statistics feature and in that case OSWL info will be lost as is dependent on described way of authorization for collectors.
With all that being said we should lower access privileges of the OSWL user to grant it only read access but for all possible entities, for which we collect information, which so far are:
- vm instances
- volumes
- images
- flavors
- keystone tenants
- keystone users
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Bartlomiej Piotrowski (bpiotrowski) |
Changed in fuel: | |
status: | Confirmed → Triaged |
Changed in fuel: | |
assignee: | Bartlomiej Piotrowski (bpiotrowski) → Fuel Library Team (fuel-library) |
status: | In Progress → Confirmed |
status: | Confirmed → Triaged |
tags: |
added: feature-stats removed: stats |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Stanislaw Bogatkin (sbogatkin) |
tags: | added: qa-agree-8.0 |
tags: | added: feature |
Changed in fuel: | |
assignee: | Stanislaw Bogatkin (sbogatkin) → Fuel Library Team (fuel-library) |
milestone: | 6.1 → 8.0 |
status: | Won't Fix → Triaged |
no longer affects: | fuel/8.0.x |
tags: | added: area-library |
Changed in fuel: | |
milestone: | 8.0 → 9.0 |
status: | Triaged → New |
no longer affects: | fuel/future |
Changed in fuel: | |
status: | New → Confirmed |
tags: | removed: need-info |
Changed in fuel: | |
milestone: | 9.0 → 10.0 |
Changed in fuel: | |
assignee: | Fuel Library (Deprecated) (fuel-library) → Fuel Sustaining (fuel-sustaining-team) |
An example for policy: http:// paste.openstack .org/show/ 197018/ (thanks to Tatyanka)