Comments (15)
Did a fallback to previous version and AWX came up.
Oh, how did you do that? I have deployed AWX via AWX-Operator as a subscirption and did not see an obvious way to downgrade. Also isn't the database incompatible now? A few migrations did run, so the tables are definitly altered.
from awx.
@adpavlov Try 24.3.1
Migration passed fine. Thanks for the fix!
from awx.
Ah you have the same issue, I thought I was alone! I have commented on the PR from @AlanCoding which is responsible for that change.
Environment is external Postgres, but I guess this issue is Django related. Hope to see this fixed soon
from awx.
Same issue here as well
from awx.
Ah you have the same issue, I thought I was alone! I have commented on the PR from @AlanCoding which is responsible for that change.
Environment is external Postgres, but I guess this issue is Django related. Hope to see this fixed soon
Yes, same issue. And one day I will hardcode awx and operator version and wait at least 2 weeks after new release, but not now:)
postgres is not external in my case, but I also don’t think it’s related.
Did a fallback to previous version and AWX came up.
from awx.
Also upgrade to awx-migration-24.3.0 fail with same error:
AttributeError: 'ContentType' object has no attribute 'model_class'
Applying main.0192_custom_roles...
from awx.
Same error here,
And like Adpavlov, my postgres is not external.
from awx.
Thank you for the report. I have put a patch up at #15138 but it will take a while to fully verify it because the migration testing takes a while.
from awx.
Thank you for the report. I have put a patch up at #15138 but it will take a while to fully verify it because the migration testing takes a while.
Probably mark current release as not good for installation?
from awx.
Did a fallback to previous version and AWX came up.
Oh, how did you do that? I have deployed AWX via AWX-Operator as a subscirption and did not see an obvious way to downgrade. Also isn't the database incompatible now? A few migrations did run, so the tables are definitly altered.
Seems like data not affected much and back compatible.
I have local installation and deploying operator as following:
- name: Download and extract awx-operator into "{{ role_path }}/files"
ansible.builtin.unarchive:
src: "https://github.com/ansible/awx-operator/archive/{{ awx_operator_version }}.zip"
dest: "{{ role_path }}/files"
owner: "{{ devops.user.name }}"
group: "{{ devops.user.group }}"
mode: "0775"
remote_src: true
- name: Set DEFAULT_AWX_VERSION to {{ awx_version }} for awx-operator
ansible.builtin.lineinfile:
path: "{{ role_path }}/files/awx-operator-{{ awx_operator_version }}/config/manager/manager.yaml"
regexp: '^.*{{ item }}.*$'
line: '{{ item }}'
insertafter: 'env:'
firstmatch: true
state: present
backup: false
loop:
- ' value: {{ awx_version }}'
- ' - name: DEFAULT_AWX_VERSION'
loop_control:
label: "Adding {{ item }}"
- name: Deploy AWX Operator
ansible.builtin.shell: |
export DEFAULT_AWX_VERSION={{ awx_version }}
make deploy
args:
chdir: "{{ role_path }}/files/awx-operator-{{ awx_operator_version }}"
environment:
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin"
NAMESPACE: awx
VERSION: "{{ awx_operator_version }}"
DEFAULT_AWX_VERSION: "{{ awx_version }}"
from awx.
@adpavlov it will be marked as such shortly but not just for this issue, see also #15136
from awx.
@adpavlov it will be marked as such shortly but not just for this issue, see also #15136
Haven’t reached this issue yet as failed in earlier step😂
from awx.
The patch for this issue is merged into the devel
branch.
from awx.
@AlanCoding Trying to deploy using helm install, but i still get the error. What can i do to make it work?
from awx.
@adpavlov Try 24.3.1
from awx.
Related Issues (20)
- AWX + keycloak with AzureAD
- Bug with workflow approve permission HOT 2
- Survey permission for Job Template is incorrect in UI HOT 1
- awx.awx.import returns Ok with no changes made. HOT 1
- Installing collections - Unexpected Exception, this is probably a bug: stat: path should be string, bytes, os.PathLike or integer, not GalaxyAPI HOT 1
- Missing update function for AWX CLI for constructed inventory
- Project sync fails with "OCI runtime attempted to invoke a command that was not found". HOT 10
- AWX task error: django.db.utils.ProgrammingError: trailing junk after numeric literal at or near 10m, LINE 1: SET idle_in_transaction_session_timeout = 500s HOT 3
- dynamic list in survey HOT 1
- Doesn't build without VERSION file in the repo root HOT 3
- Django version upgrade to 3.2.0 breaking AWX v17.1.0 HOT 1
- AWX Office Hours - August 13th 2024 HOT 1
- Networking BROKE. "Socket path does not exist: /var/run/awx-receptor/receptor.sock" HOT 4
- High concurrency causes delay in AWX Job starts in a workflow
- Job output is still not refreshing
- Error: Socket path does not exist: /var/run/receptor/receptor.sock HOT 6
- Job Summary missing, sometimes lines in output missing
- Aquasec drift prevention blocks execution of inventory script on the automation job pod
- Changing the type of a credential results in duplicate creation
- Set an env variable in the execution environment HOT 4
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.