Comments (3)
I am getting as far as:
rhoas login --auth-url https://keycloak-mas-sso.apps.kwall-kafka2.j1j7.s1.devshift.org/auth/realms/rhoas --api-gateway https://kas-fleet-manager-kas-fleet-manager-kwall.apps.kwall-kafka2.j1j7.s1.devshift.org
but rhoas kafka list -v
fails.
rhoas kafka list -v
Refreshing tokens
Tokens refreshed
2021/10/25 16:31:24
GET /api/kafkas_mgmt/v1/kafkas?page=1&size=100 HTTP/1.1
Host: kas-fleet-manager-kas-fleet-manager-kwall.apps.kwall-kafka2.j1j7.s1.devshift.org
User-Agent: rhoas-cli_0.34.1
Accept: application/json
Accept-Encoding: gzip
GET /api/kafkas_mgmt/v1/kafkas?page=1&size=100 HTTP/1.1
Host: kas-fleet-manager-kas-fleet-manager-kwall.apps.kwall-kafka2.j1j7.s1.devshift.org
Accept: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ3Wm9haWl1NFFHekNvVkJ3bXJ6VXVxZEd3bmpaaFlqZUNMRWhXZURWSjVvIn0.eyJleHAiOjE2MzUxNzYxODQsImlhdCI6MTYzNTE3NTg4NCwiYXV0aF90aW1lIjoxNjM1MTc1ODY3LCJqdGkiOiI1Y2ZjMDAzMS1kYWRmLTQ0NjktYjVlNC0wMzM0YmM3YTU4NWMiLCJpc3MiOiJodHRwczovL2tleWNsb2FrLW1hcy1zc28uYXBwcy5rd2FsbC1rYWZrYTIuajFqNy5zMS5kZXZzaGlmdC5vcmcvYXV0aC9yZWFsbXMvcmhvYXMiLCJzdWIiOiI2ZTI1NGU1YS03Mjc1LTQyZmYtOWFiOS04YjdjZDE5YmU0OTMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJyaG9hcy1jbGktcHJvZCIsInNlc3Npb25fc3RhdGUiOiJlODkxMzVhMy03NWFjLTQzOWUtOWQzMS1jNmEzNzQwN2UzZDAiLCJhY3IiOiIxIiwic2NvcGUiOiJvcGVuaWQiLCJzaWQiOiJlODkxMzVhMy03NWFjLTQzOWUtOWQzMS1jNmEzNzQwN2UzZDAifQ.CLwbX9fOnViYGtsgzRf-2BZBIkbbSkNCG6R7XquXyXe_96bWUf-nBwPLl5iRYD-QsFhikKLd5i4RVgun9Gk9K67YBblM8gYnKO_Mnxltw9nlEDX9zXxzzmKY5x94Sa9HwOJiMVc6nHVaCQLwJ0w1TjbjYXusen5wfQ3qI2X2DEJUEPDgUN3WNIKzno2uCChVZ-DsyTw0Og87YXV5Bq6wcwBk6goOy8fL3lLAxTf3i0I_McKgFH7ew_auK1fzG0Ph8rMV6PAkGTU6sfTO8ar6H-vIMeZU-aA0DjIqxEvhWFHKUDsU4EV3mK533gE2s9n-eOgg_8QWjv0psBZnmfZyXQ
User-Agent: rhoas-cli_0.34.1
HTTP/1.1 401 Unauthorized
Content-Type: application/json
Date: Mon, 25 Oct 2021 15:31:25 GMT
Server: envoy
Set-Cookie: fdd8d63f9a2767579204507d225f30c6=6d927c490db29ca8976b0ab9aed5942e; path=/; HttpOnly; Secure; SameSite=None
Vary: Authorization
X-Envoy-Upstream-Service-Time: 1
X-Operation-Id: c5rcrj9rplk4vd6inseg
{"id":"15","kind":"Error","href":"/api/kafkas_mgmt/v1/errors/15","code":"KAFKAS-MGMT-15","reason":"Account authentication could not be verified","operation_id":"c5rcrj9rplk4vd6inseg"}
2021/10/25 16:31:25
HTTP/1.1 401 Unauthorized
Content-Type: application/json
Date: Mon, 25 Oct 2021 15:31:25 GMT
Server: envoy
Set-Cookie: fdd8d63f9a2767579204507d225f30c6=6d927c490db29ca8976b0ab9aed5942e; path=/; HttpOnly; Secure; SameSite=None
Vary: Authorization
X-Envoy-Upstream-Service-Time: 1
X-Operation-Id: c5rcrj9rplk4vd6inseg
{"id":"15","kind":"Error","href":"/api/kafkas_mgmt/v1/errors/15","code":"KAFKAS-MGMT-15","reason":"Account authentication could not be verified","operation_id":"c5rcrj9rplk4vd6inseg"}
❌ 401 Unauthorized. Run the command in verbose mode using the -v flag to see more information
I notice if I decode the JWT token I see only:
"exp": 1635175306,
"iat": 1635175006,
"auth_time": 1635174571,
"jti": "b2081b11-b075-4e15-bf35-ad05cf6f7aee",
"iss": "https://keycloak-mas-sso.apps.kwall-kafka2.j1j7.s1.devshift.org/auth/realms/rhoas",
"sub": "6e254e5a-7275-42ff-9ab9-8b7cd19be493",
"typ": "Bearer",
"azp": "rhoas-cli-prod",
"session_state": "082e3c21-3491-4a3d-8608-ce4e84529dcc",
"acr": "1",
"scope": "openid",
"sid": "082e3c21-3491-4a3d-8608-ce4e84529dcc"
}
I am wondering if this is part of the issue?
I also notice that rhoas whoami -v
shows:
Refreshing tokens
Tokens refreshed
Token has no username
from kas-installer.
Adding #107
got rhoas whoami
returning the user id.
kwall_mk-bin-packing
from kas-installer.
so with the changes so far, I able to list instances:
rhoas kafka list
ID (12) NAME OWNER STATUS CLOUD PROVIDER REGION
---------------------- ------ ---------------------- -------- ---------------- -----------
c5qq31j7pns7rjb9r950 f1 kwall_mk-bin-packing ready aws us-east-1
c5qq5bkou97ameb9djig f10 kwall_mk-bin-packing ready aws us-east-1
c5qq5ckou97ameb9djmg f11 kwall_mk-bin-packing ready aws us-east-1
c5qq5e4ou97ameb9djq0 f12 kwall_mk-bin-packing ready aws us-east-1
c5qq52sou97ameb9diu0 f2 kwall_mk-bin-packing ready aws us-east-1
c5qq54cou97ameb9dj0g f3 kwall_mk-bin-packing ready aws us-east-1
c5qq55cou97ameb9dj30 f4 kwall_mk-bin-packing ready aws us-east-1
c5qq56sou97ameb9dj60 f5 kwall_mk-bin-packing ready aws us-east-1
c5qq57sou97ameb9dj80 f6 kwall_mk-bin-packing ready aws us-east-1
c5qq58kou97ameb9djbg f7 kwall_mk-bin-packing ready aws us-east-1
c5qq59kou97ameb9djf0 f8 kwall_mk-bin-packing ready aws us-east-1
c5qq5acou97ameb9djh0 f9 kwall_mk-bin-packing ready aws us-east-1
I'm able to successfully delete instances
rhoas kafka delete --id c5qq5acou97ameb9djh0
? Confirm the name of the instance you want to delete (f9): f9
Kafka instance "f9" is being deleted
but creating a new one fails on the T&C check:
rhoas kafka create -v
Refreshing tokens
Tokens refreshed
POST /api/authorizations/v1/self_terms_review HTTP/1.1
Host: kas-fleet-manager-kas-fleet-manager-kwall.apps.kwall-kafka2.j1j7.s1.devshift.org
Accept: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ3Wm9haWl1NFFHekNvVkJ3bXJ6VXVxZEd3bmpaaFlqZUNMRWhXZURWSjVvIn0.eyJleHAiOjE2MzUxODQ1MTcsImlhdCI6MTYzNTE4NDIxNywiYXV0aF90aW1lIjoxNjM1MTgyNjU0LCJqdGkiOiIzMDEyNmIxOS04MGNjLTQ3YjEtOGQ4OS1hMTVlNDJjNWNlODgiLCJpc3MiOiJodHRwczovL2tleWNsb2FrLW1hcy1zc28uYXBwcy5rd2FsbC1rYWZrYTIuajFqNy5zMS5kZXZzaGlmdC5vcmcvYXV0aC9yZWFsbXMvcmhvYXMiLCJzdWIiOiI2ZTI1NGU1YS03Mjc1LTQyZmYtOWFiOS04YjdjZDE5YmU0OTMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJyaG9hcy1jbGktcHJvZCIsInNlc3Npb25fc3RhdGUiOiJlMzE4NmRiZi1lZWQxLTRhNmUtYjIzZi1lMThjOTIyZDkzMWYiLCJhY3IiOiIwIiwic2NvcGUiOiJvcGVuaWQiLCJzaWQiOiJlMzE4NmRiZi1lZWQxLTRhNmUtYjIzZi1lMThjOTIyZDkzMWYiLCJ1c2VyX2lkIjoiNTM2ODcwNDkiLCJvcmdfaWQiOiIxMzYzOTg0MyIsInByZWZlcnJlZF91c2VybmFtZSI6Imt3YWxsX21rLWJpbi1wYWNraW5nIn0.gZcqsOyrA62p7ZnwdV3NAj1pk23gxS8SvMAmFzMtUTmJsHhW10ocZWHnpGQhodXLX5DAmCtXWfi62Np7XWYWXirEXfplCglPqohzmEIGZmTLJg_tZvfZ1sAs8ByTm8h4YMnX-s5tpJ4o5_irke9dZo7JI7zkOTxM2DtP676E8hB9YO3oAnuTxohAgr-p6fNdcLpGp095DXP8OXbnbKftsNGGMFMcVrBB_YSMyK6V64fxIvfggl8-BGkSS4efAMDz9o2tOj45uqLUT2Qaamheew1RW8TAQfRjME5zu4H_U812zY_mJsi-R4NtUI_pUSkMKsWeKlIFZliPBERDEfeiug
Content-Type: application/json
User-Agent: rhoas-cli_0.34.1
HTTP/1.1 404 Not Found
Content-Length: 177
Content-Type: application/json
Date: Mon, 25 Oct 2021 17:50:18 GMT
Server: envoy
Set-Cookie: fdd8d63f9a2767579204507d225f30c6=f6232741a72603c5038edf304717b657; path=/; HttpOnly; Secure; SameSite=None
X-Envoy-Upstream-Service-Time: 0
{"id":"7","kind":"Error","href":"/api/kafkas_mgmt/v1/errors/7","code":"KAFKAS-MGMT-7","reason":"The requested resource '/api/authorizations/v1/self_terms_review' doesn't exist"}
❌ 404 Not Found. Run the command in verbose mode using the -v flag to see more information
from kas-installer.
Related Issues (20)
- kas-fleetshard should be installed using a bundle HOT 5
- kas-fleet-manager pod failed on installation: CrashLoopBackOff HOT 3
- Kafka instance creation is always failing HOT 7
- Request: replicate keycloak and keycloak-postgresql pods in all AZ HOT 1
- enable us-east-2 region HOT 2
- Allow for multi cloud provider and multi region support HOT 7
- Allow the configuration of the quota management list
- Release 0.2.0 release notes HOT 2
- Use the exposed admin server url HOT 1
- MANAGEDKAFKA_ADMINSERVER_EDGE_TLS_ENABLED broken HOT 2
- metrics not available through fleet-manager endpoint HOT 2
- Add instructions on how to generate operators bundle HOT 8
- Allow to configure KFM in dynamic scaling mode
- Support podman in operators/generate-kas-fleetshard-olm-bundle.sh
- Fail to scale down the kas-fleet-manager deployment during install
- Cannot install Observatorium CRDs on K8s 1.22+
- Integrate new KFM Quota list changes
- PodSecurity warnings from fleetmanager when deploying to OpenShift 4.11.18 HOT 6
- deployment keycloak-postgresql gets stuck HOT 1
- Changes to support provisioning a Kafka on a dedicated cluster a.k.a enterprise data plane cluster HOT 18
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 kas-installer.