Comments (9)
corrected typo and a task with - #53
from openshift-ops-workshops.
Is this still an issue @kmurudi @dmesser ?
from openshift-ops-workshops.
Can't verify because I am running into #62
from openshift-ops-workshops.
Worked for me in earlier deployment, but will have to check for #62 now first
from openshift-ops-workshops.
Fails for me with the following:
TASK [Checking if all the groups have been created by 'oc adm groups sync'] *****************************************************************************************************************
Friday 04 August 2017 06:49:07 -0400 (0:00:00.565) 0:00:00.657 *********
failed: [master.internal.aws.testdrive.openshift.com] (item=ose-user) => {
"changed": true,
"cmd": [
"oc",
"get",
"group",
"ose-user"
],
"delta": "0:00:00.216769",
"end": "2017-08-04 06:49:08.254813",
"failed": true,
"item": "ose-user",
"rc": 1,
"start": "2017-08-04 06:49:08.038044"
}
STDERR:
Error from server (Forbidden): User "teamuser1" cannot get groups at the cluster scope
failed: [master.internal.aws.testdrive.openshift.com] (item=ose-normal-dev) => {
"changed": true,
"cmd": [
"oc",
"get",
"group",
"ose-normal-dev"
],
"delta": "0:00:00.209247",
"end": "2017-08-04 06:49:08.612416",
"failed": true,
"item": "ose-normal-dev",
"rc": 1,
"start": "2017-08-04 06:49:08.403169"
}
STDERR:
Error from server (Forbidden): User "teamuser1" cannot get groups at the cluster scope
failed: [master.internal.aws.testdrive.openshift.com] (item=ose-fancy-dev) => {
"changed": true,
"cmd": [
"oc",
"get",
"group",
"ose-fancy-dev"
],
"delta": "0:00:00.206244",
"end": "2017-08-04 06:49:08.971087",
"failed": true,
"item": "ose-fancy-dev",
"rc": 1,
"start": "2017-08-04 06:49:08.764843"
}
STDERR:
Error from server (Forbidden): User "teamuser1" cannot get groups at the cluster scope
failed: [master.internal.aws.testdrive.openshift.com] (item=ose-teamed-app) => {
"changed": true,
"cmd": [
"oc",
"get",
"group",
"ose-teamed-app"
],
"delta": "0:00:00.206438",
"end": "2017-08-04 06:49:09.326905",
"failed": true,
"item": "ose-teamed-app",
"rc": 1,
"start": "2017-08-04 06:49:09.120467"
}
STDERR:
Error from server (Forbidden): User "teamuser1" cannot get groups at the cluster scope
from openshift-ops-workshops.
This is a common problem when using Ansible to automate/test OpenShift. We forget to choose the right OpenShift user and assume we are running the right one! Looks like you were not a cluster admin.
Kshitija should add a task at the beginning of the play that does a oc login -u system:admin
to become the cluster administrator before performing these tests.
from openshift-ops-workshops.
Temporary fix for you @dmesser is to perform that yourself before launching Ansible.
from openshift-ops-workshops.
@thoraxe @dmesser in the automation script - I have assigned role of 'cluster_admin' to group - ose-normal-dev so, teamuser1.2 were able to access all the projects and do the verif tests
from openshift-ops-workshops.
Dunno what fixed this but It's no longer a problem.
from openshift-ops-workshops.
Related Issues (20)
- Logging Module: Need to specify Elasticsearch version 4.2 HOT 2
- OCS, Elasticsearch, Logging Operators fail to deploy using Console webUI in Homeroom HOT 5
- remove reference to glusterfs HOT 4
- MCG would benefit of little more explanation HOT 4
- Remove reference that Pods with RWO volume can scale up HOT 6
- MachineSet name mismatch HOT 3
- installation module bug HOT 2
- elastic search operator install is ambiguous HOT 2
- kibana index setup instructions are incorrect HOT 3
- info on monitoring dashboards is outdated HOT 3
- AMI id for "workerocs" MachineSet HOT 3
- [OCP 4.8] Need to update ~/support/ocslab_rails-app.yaml HOT 3
- Deployment not DepolymentConfig HOT 4
- Update Elastic Operator description during install HOT 1
- Update Network module with OVN HOT 1
- OC New app for php uploader HOT 1
- Add Backup and Restore HOT 5
- Provide container image for the user
- LDAP module doesn't work HOT 1
- OpenShift client is outdated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openshift-ops-workshops.