Comments (9)
Hi, I faced the same issue and found out a solution after several hours inspecting awx-web and awx-task containers :)
It seems that the current version of awx from the devel branch is not stable and doesn't create the admin user at all.
Therefore, this command from Installition Guidline with AWX Operator and Minikube doesn't work:
minikube kubectl -- get secret awx-admin-password -o jsonpath='{.data.password}' | base64 --decode
To fix this issue you can run:
minikube kubectl get pods
and then replace <awx_pod_name> with your awx pod name:
minikube kubectl exec pod/<awx_pod_name> -- --container awx-web -it awx-manage createsuperuser
I created user with default awx name and it works perfectly.
Hope, it will help :)
from awx-operator.
Hey, I reset the password for my installation using:
http://vcloud-lab.com/entries/devops/reset-ansible-awx-tower-admin-password
awx-manage changepassword admin
If the user does not exist, you need to:
awx-manage createsuperuser --user admin
To ssh into the awx_task container you can install lens, and get your kubeconfig from:
kubectl config view
from awx-operator.
Thank you all, I already created the admin superuser from inside the awx-web.
Just let this open, as there is a bug with admin user creating.
from awx-operator.
Hello all,
My guess is that you might be affected by this #124
TL;DR: Current devel
of the CRDs and logic does not necessarily work with 0.6.0
. If you want to fix this now while the above issue is addressed, follow this pattern:
- Download and install
operator-sdk==0.19.4
https://v0-19-x.sdk.operatorframework.io/docs/install-operator-sdk/ - Build the operator container
operator-sdk build <url>:<tag>
(at the root of this repo) - Push the container
docker push <url>:<tag>
- Retrieve locally https://raw.githubusercontent.com/ansible/awx-operator/devel/deploy/awx-operator.yaml and update the url to the operator container
- Deploy.
Hope this helps,
from awx-operator.
I tried this way to create a superuser not with name admin, but it doesn't work, will try with admin. Thanks.
Anyway the documentation doesn't reflect the reality.
from awx-operator.
Thanks it works,
on kubernetes cluster : kubectl exec pod/<awx_pod_name> --container awx-web -it awx-manage createsuperuser
on minikube : minikube kubectl exec pod/<awx_pod_name> -- --container awx-web -it awx-manage createsuperuser
from awx-operator.
Hi @Spredzy, thanks. I built and replaced the image and it works.
I hope this inconsistency will be fixed shortly.
from awx-operator.
Yes! Thank you even the current version is glitched with this issue:
This command works: k exec -n awx -it $(k get pods -n awx -l app.kubernetes.io/component=awx -o name) -c awx-task -- awx-
from awx-operator.
Current version (v2.16.1 for operator and v24.3.1 for awx) is glitched with this issue as well. This helped on kubernetes cluster : kubectl exec pod/<awx_pod_name> --container awx-web -it awx-manage createsuperuser
from awx-operator.
Related Issues (20)
- Container image quay.io/ansible/awx:24.2.0 not found HOT 3
- Add ability to specify labels for "default" AWX template HOT 1
- Violates PodSecurity "restricted:latest" HOT 1
- AWX Operator won't create in a healthy state using the default request and limits HOT 1
- Unable to find an execution environment HOT 2
- AWXBackup: mkdir: cannot create directory '/backups/tower-openshift-backup-2024-04-17-141257': Permission denied HOT 8
- Receptor error when starting jobs in new AWX deployment in AKS. HOT 3
- awx-web missing HOT 14
- Allow adding extra settings files from configmaps or secrets HOT 1
- awx-migration pod stuck in Completed HOT 3
- Operator fails on TASK [Enable optional metrics-utility] when upgrading to 2.15 HOT 2
- [init-database] - Issues to connect to the database when workload is meshed using Istio HOT 1
- Resources for migration-job. HOT 9
- Fake crash of external postgres leader - Can't launch new job and instance healthcheck hanging HOT 2
- AWX Operator doesn't respect when a image_pull_secrets is specified, creates redhat-operator-pull-secret regardless. HOT 1
- Jobs failed with "The running ansible process received a shutdown signal." HOT 2
- unable to start task container on awx v24.3.1 HOT 5
- CrashLoopBackoff awx-operator-controller-manager - failed to wait for awxmeshingress-controller caches to sync HOT 3
- Tech Preview UI does not present Source Control credentials to project
- CRDs not updated by awx-operator helm deployment 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 awx-operator.