Giter VIP home page Giter VIP logo

Comments (16)

keyz182 avatar keyz182 commented on June 14, 2024 1

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.

deztin avatar deztin commented on June 14, 2024 1

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.

kapilkumartrivedi avatar kapilkumartrivedi commented on June 14, 2024

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.

thedavidwhiteside avatar thedavidwhiteside commented on June 14, 2024

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.

keyz182 avatar keyz182 commented on June 14, 2024

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.

tchellomello avatar tchellomello commented on June 14, 2024

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.

eselvam avatar eselvam commented on June 14, 2024

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.

DaDenniX avatar DaDenniX commented on June 14, 2024

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.

eselvam avatar eselvam commented on June 14, 2024

from awx-operator.

DaDenniX avatar DaDenniX commented on June 14, 2024

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.

eselvam avatar eselvam commented on June 14, 2024

from awx-operator.

DaDenniX avatar DaDenniX commented on June 14, 2024

Trying to migrate from 19.5.0 to 20.0.0 (with awx-operator 0.16.0 to 0.17.0)

from awx-operator.

eselvam avatar eselvam commented on June 14, 2024

from awx-operator.

DaDenniX avatar DaDenniX commented on June 14, 2024

Please check out my previous comment (#78 (comment))...

from awx-operator.

eselvam avatar eselvam commented on June 14, 2024

from awx-operator.

auroraqin avatar auroraqin commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.