| Summary: | ES admin user cannot access many admin capabilities | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luke Meyer <lmeyer> |
| Component: | Logging | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Xia Zhao <xiazhao> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | aos-bugs, boris.ruppert, lmeyer, pdwyer, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-22 14:12:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Luke Meyer
2016-08-24 18:03:08 UTC
*** Bug 1373611 has been marked as a duplicate of this bug. *** This also applies to creating Elasticsearch snapshots. Repositories can be created as the admin user, but snapshots (on PV, mounted on s) can't be created. Tested in OpenShift 3.2.1 [root@master ~]# oc rsh logging-es-mo8mov2a-3-5tile sh-4.2$ cat /snapshot/create_repo.sh curl -XPUT --key /etc/elasticsearch/keys/admin-key --cert /etc/elasticsearch/keys/admin-cert --cacert /etc/elasticsearch/keys/admin-ca "https://localhost:9200/_snapshot/backup" -d ' { "type": "fs", "settings": { "location": "/snapshot/backup", "compress": true } }' sh-4.2$ sh /snapshot/create_repo.sh {"acknowledged":true}sh-4.2$ sh-4.2$ cat /snapshot/create_snapshot.sh curl -XPUT --key /etc/elasticsearch/keys/admin-key --cert /etc/elasticsearch/keys/admin-cert --cacert /etc/elasticsearch/keys/admin-ca "https://localhost:9200/_snapshot/backup/snapshot_1?wait_for_completion=true" sh-4.2$ /snapshot/create_snapshot.sh {"error":"ForbiddenException[Attempt from null to _all indices for cluster:admin/snapshot/create and User [name=system.admin, roles=[]]]","status":403}sh-4.2$ This issue was fixed in 3.3 or 3.4. I'm closing this bug. |