Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes Install - Job Pending Status #9608

Closed
kchandan opened this issue Mar 17, 2021 · 1 comment
Closed

Kubernetes Install - Job Pending Status #9608

kchandan opened this issue Mar 17, 2021 · 1 comment
Labels

Comments

@kchandan
Copy link

kchandan commented Mar 17, 2021

ISSUE TYPE
  • Bug Report
SUMMARY

I just installed AWX 17.1.0 for k8s using the helm method as mentioned in the install guide. The installation went fine, but post install, I am unable to run any job.Its showing as pending. I had similar issues with 17.0.1 and thought it might have been fixed in newer version.

ENVIRONMENT
  • AWX version: 17.1.0
  • AWX install method: Kubernetes (EKS )
  • Ansible version: 2.9.1
  • Operating System: Linux
  • Web Browser: Chrome
STEPS TO REPRODUCE

Please help me understand, am I missing any step ?

git clone -b 17.1.0 https://github.com/ansible/awx.git

diff --git a/installer/inventory b/installer/inventory
index b9e7d22cfa..e0b06bd27c 100644
--- a/installer/inventory
+++ b/installer/inventory
@@ -18,9 +18,9 @@ dockerhub_base=ansible
 # openshift_pg_emptydir=True

 # Kubernetes Install
-# kubernetes_context=test-cluster
-# kubernetes_namespace=awx
-# kubernetes_web_svc_type=NodePort
+kubernetes_context=my-k8s-cluster
+kubernetes_namespace=awx
+kubernetes_web_svc_type=LoadBalancer
 # Optional Kubernetes Variables
 # pg_image_registry=docker.io
 # pg_serviceaccount=awx
@@ -105,7 +105,7 @@ pg_port=5432
 # This will create or update a default admin (superuser) account in AWX, if not provided
 # then these default values are used
 admin_user=admin
-# admin_password=password
+admin_password=password

 # Whether or not to create preload
  1. Run the playbook
    ansible-playbook -i inventory install.yml

  2. I am using EKS ( AWS ) for my k8s.

kubectl get svc -n awx
NAME                      TYPE           CLUSTER-IP      EXTERNAL-IP      PORT(S)        AGE
awx-postgresql            ClusterIP      10.245.115.49   <none>           5432/TCP       28m
awx-postgresql-headless   ClusterIP      None            <none>           5432/TCP       28m
awx-web-svc               LoadBalancer   10.245.31.15    x.x.x.x   80:32191/TCP   27m

EXPECTED RESULTS

It should run any playbooks. Checked other bugs 1904 and posted questions on google group no response.

Looks like something missing in the installation guide for k8s installation.

ACTUAL RESULTS

Not able run & execute any job

ADDITIONAL INFORMATION

Tried these steps:

#5617
#9401
#1636

@kchandan
Copy link
Author

I was able to deploy the on a new cluster and run a template job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants