Comments (16)
We need to upgrade our deployment (15.0.0) as we're running into a bug that's been fixed in a newer version (17.1.0). Is there any path to upgrade?
from awx-operator.
I was able to edit the my-awx.yml to include:
spec:
tower_image: ansible/awx:17.1.0
tower_image_pull_policy: Always
kubectl delete -f my-awx.yml
kubectl apply -f my-awx.yml
from awx-operator.
i realized it half way. @thedavidwhiteside were you able to deploy the awx using the operator? i am new and got confused about how the secrets are to be passed...
from awx-operator.
I was able to deploy using the operator, but ran into issues when I upgraded the AWX version. Currently just staying on the older version of AWX for now until I have time to work through the issues.
from awx-operator.
I was finally able to do it. I needed to ssh into one of the containers and run awx-manage migrate --noinput
. There was a migration in 15.0.x > 16.0.0 that wasn't being run for some reason. I also needed to pin the postgres db to 10.
from awx-operator.
Upgrades should be automatically whenever the awx-operator
gets upgraded. Please note as the only supported AWX version is the one shipped with the current awx-operator
version as explained at https://github.com/ansible/awx-operator#deploying-a-specific-version-of-awx
Closing this for now since it is already present in the README
from awx-operator.
Hi All,
I try to do the upgrade as per readme however it is not working as expected. The operator get updated however not the awx version.
I am doing upgrade from 19.1 to 19.3
Current version: ansible/awx:19.1.0,quay.io/ansible/awx-ee:0.2.0
Current operator: 0.13.0
from awx-operator.
Hey, same for me.
Upgrading like it is said in the README doesn't help.
After upgrading awx-operator, the awx instance stays the same (upgrading from 19.5.0 to 20.0.0).
What I did was:
$ git pull https://github.com/ansible/awx-operator 0.17.0
From https://github.com/ansible/awx-operator
- tag 0.17.0 -> FETCH_HEAD
Already up to date.
$ make deploy
namespace/awx unchanged
customresourcedefinition.apiextensions.k8s.io/awxbackups.awx.ansible.com unchanged
customresourcedefinition.apiextensions.k8s.io/awxrestores.awx.ansible.com unchanged
customresourcedefinition.apiextensions.k8s.io/awxs.awx.ansible.com configured
serviceaccount/awx-operator-controller-manager unchanged
role.rbac.authorization.k8s.io/awx-operator-awx-manager-role configured
role.rbac.authorization.k8s.io/awx-operator-leader-election-role unchanged
clusterrole.rbac.authorization.k8s.io/awx-operator-metrics-reader unchanged
clusterrole.rbac.authorization.k8s.io/awx-operator-proxy-role unchanged
rolebinding.rbac.authorization.k8s.io/awx-operator-awx-manager-rolebinding unchanged
rolebinding.rbac.authorization.k8s.io/awx-operator-leader-election-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/awx-operator-proxy-rolebinding unchanged
configmap/awx-operator-awx-manager-config unchanged
service/awx-operator-controller-manager-metrics-service unchanged
deployment.apps/awx-operator-controller-manager configured
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
awx-7d74496d7d-grmsq 4/4 Running 20 (3m34s ago) 46d
awx-postgres-0 1/1 Running 5 (3m34s ago) 46d
awx-operator-controller-manager-774bbb775-qnnkk 2/2 Running 0 70s
awx-operator-controller-manager-6d959bd7dd-gvtfr 2/2 Terminating 4 (3m34s ago) 20d
But image version of awx is still 19.5.0:
$ kubectl describe pod awx-7d74496d7d-grmsq | grep -i "image:"
Image: quay.io/centos/centos:8
Image: docker.io/redis:latest
Image: quay.io/ansible/awx:19.5.0
Image: quay.io/ansible/awx:19.5.0
Image: quay.io/ansible/awx-ee:latest
How to upgrade awx/awx-operator is really intransparent and difficult for kubernetes-newbies.
What can I do? Thanks in advance.
from awx-operator.
from awx-operator.
Does not work, as I'm running already awx-operator 0.16.0 and awx 19.5.0.
$ kubectl delete deployment awx-operator
Error from server (NotFound): deployments.apps "awx-operator" not found
$ kubectl delete serviceaccount awx-operator
Error from server (NotFound): serviceaccounts "awx-operator" not found
$ kubectl delete clusterrolebinding awx-operator
Error from server (NotFound): clusterrolebindings.rbac.authorization.k8s.io "awx-operator" not found
$ kubectl delete clusterrole awx-operator
Error from server (NotFound): clusterroles.rbac.authorization.k8s.io "awx-operator" not found
from awx-operator.
from awx-operator.
Trying to migrate from 19.5.0 to 20.0.0 (with awx-operator 0.16.0 to 0.17.0)
from awx-operator.
from awx-operator.
Please check out my previous comment (#78 (comment))...
from awx-operator.
from awx-operator.
Upgrading not work for me neither. I met the PV mount error for [postgres-awx-postgres-0]
MountVolume.SetUp failed for volume "pvc-0eb05452-2586-448c-**********" : mount command failed, status: Failure, reason: Error while mounting the volume &errors.errorString{s:"RWO check has failed.
The accessmod for postgres PVC was readwriteonce by default, but upgrading looks like it needs a RWM volume.
from awx-operator.
Related Issues (20)
- 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 3
- 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 3
- 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
- CRDs not updated by awx-operator helm deployment HOT 2
- Postgres persistent volume reclaiming HOT 1
- Add ee_image description directly from déployment files HOT 1
- Feature Wants: kubectel delete -k . should only delete all the awx resources, but not the entire namespace HOT 1
- AWXBackup Tolerations Support HOT 1
- awx-web pod fail to start with error "Handshake status 500 Internal Server Error" HOT 1
- Failing Install new or upgrade to version 2.13.x and higher (with pg15) on existing EKS cluster HOT 6
- Update to use ubi 8.10 to resolve vulnerabilities present in 8.8
- Make the helm install instructions more intuitive for longhorn HOT 1
- Project Sync has started failing on default Control Plane Execution Environment after reapplying the AWX-operator and AWX CRD in the cluster. However, certain tasks, such as ping or win_ping, are still functioning correctly
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.