Coder Social home page Coder Social logo

Comments (4)

blotto69 avatar blotto69 commented on August 27, 2024

Hello,
Same problem on my side using the same deployment method as you on releases 24.6.0 and 24.6.1 on Rocky Linux 9.4 and 9.3. I was able to build and run AWX until a few days ago. Now, I get the same error message as you:

tools_awx_1 | 2024-08-03 00:11:47,925 INFO [-] awx.main.dispatch Running worker dispatcher listening to queues ['tower_broadcast_all', 'tower_settings_change', 'awx-1']
tools_awx_1 | 2024-08-03 00:11:47,926 INFO spawned: 'awx-receptor' with pid 621
tools_awx_1 | empty receptor config, skipping...
tools_awx_1 | 2024-08-03 00:11:47,936 WARN exited: awx-receptor (exit status 0; not expected)
tools_awx_1 | 2024-08-03 00:11:47,962 ERROR [-] awx.main.dispatch Encountered unhandled error in dispatcher main loop
tools_awx_1 | Traceback (most recent call last):
tools_awx_1 | File "/awx_devel/awx/main/dispatch/worker/base.py", line 237, in run
tools_awx_1 | self.worker.on_start()
tools_awx_1 | File "/awx_devel/awx/main/dispatch/worker/task.py", line 141, in on_start
tools_awx_1 | dispatch_startup()
tools_awx_1 | File "/awx_devel/awx/main/tasks/system.py", line 117, in dispatch_startup
tools_awx_1 | cluster_node_heartbeat()
tools_awx_1 | File "/awx_devel/awx/main/tasks/system.py", line 575, in cluster_node_heartbeat
tools_awx_1 | inspect_execution_and_hop_nodes(instance_list)
tools_awx_1 | File "/awx_devel/awx/main/tasks/system.py", line 514, in inspect_execution_and_hop_nodes
tools_awx_1 | mesh_status = ctl.simple_command('status')
tools_awx_1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tools_awx_1 | File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/receptorctl/socket_interface.py", line 81, in simple_command
tools_awx_1 | self.connect()
tools_awx_1 | File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/receptorctl/socket_interface.py", line 99, in connect
tools_awx_1 | raise ValueError(f"Socket path does not exist: {path}")
tools_awx_1 | ValueError: Socket path does not exist: /var/run/awx-receptor/receptor.sock

Available if additional testing is needed

- name: Git checkout
  ansible.builtin.git:
    repo: "https://github.com/ansible/awx.git"
    dest: "{{ apps_dir }}/awx"
    version: 24.6.1
  become: false

- name: Run docker-compose-build
  community.general.make:
    chdir: "{{ apps_dir }}/awx"
    target: docker-compose-build
  become: false

- name: Run docker-compose -d
  community.general.make:
    chdir: "{{ apps_dir }}/awx"
    target: docker-compose
    params:
      COMPOSE_UP_OPTS: -d
  become: false

- name: Clean and build the UI
  community.docker.docker_container_exec:
    container: tools_awx_1
    command: make clean-ui ui-devel
  become: false

Update :

I just tried on CentOS 9 Stream and got the same result.

from awx.

rabindangol avatar rabindangol commented on August 27, 2024

Not sure if this is related (I have older version) but I am getting similar error. #15421

from awx.

fs30000 avatar fs30000 commented on August 27, 2024

I also tried with Rocky 9.2. Same result.

from awx.

fs30000 avatar fs30000 commented on August 27, 2024

Ok, managed to make it work with 23.9.0. Because with 24.6.1, this would happen: https://github.com/ansible/awx/issues/15404

Commands:

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

export RECEPTOR_IMAGE=quay.io/ansible/receptor:v1.4.8   COMPOSE_UP_OPTS=-d
make docker-compose-build
make docker-compose

docker update --restart always tools_awx_1
docker update --restart always tools_postgres_1
docker update --restart always tools_redis_1

docker exec  tools_awx_1 make clean-ui ui-devel
docker exec  -it tools_awx_1  awx-manage changepassword admin

So far so good.

from awx.

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.