-
Notifications
You must be signed in to change notification settings - Fork 898
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
Can't enable Embedded Ansible #17600
Comments
[root@manageiq ~]# docker ps but after a few moment docker ps shows: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? |
I'm not sure it is related but with yesterday's build (manageiq-ovirt-gaprindashvili-20180704-afd03d7488.qc2), I have a similar behavior: ManageIQ continuously tries to start AWX and fails. In the
And right after the container dies, I have the same error message as @smopihub :
Any idea ? |
Hi, |
I think this was solved in the Hammer RC-1 build. I believe one of the main fixes that allows this to work in Hammer is #17407 which has been requested for Gaprindashvili backport. |
I think this is tracking the same issue as #17738 going to close this as a duplicate. |
Hi!
I try enable Embedded Ansible with no success:
tail -f evm.log | grep -i "EmbeddedAnsible"
[----] I, [2018-06-18T07:56:59.619206 #2156:b7dd9c] INFO -- : MIQ(DockerEmbeddedAnsible#start) Waiting for Ansible container to respond
[----] I, [2018-06-18T07:57:00.951231 #2156:b7dd9c] INFO -- : MIQ(DockerEmbeddedAnsible#start) Waiting for Ansible container to respond
[----] I, [2018-06-18T07:57:08.503775 #2156:b7dd9c] INFO -- : MIQ(EmbeddedAnsibleWorker::Runner#setup_ansible) Finished starting embedded ansible service.
[----] I, [2018-06-18T07:57:16.150046 #2156:b7dd9c] INFO -- : MIQ(EmbeddedAnsibleWorker#log_status) [Embedded Ansible Worker] Worker ID [69], PID [], GUID [aee9e33b-605f-4503-b2fb-ab87da354287], Last Heartbeat [2018-06-18 11:56:27 UTC], Process Info: Memory Usage [], Memory Size [], Proportional Set Size: [], Unique Set Size: [], Memory % [], CPU Time [], CPU % [], Priority []
[----] E, [2018-06-18T07:57:16.150310 #2156:b7dd9c] ERROR -- : MIQ(EmbeddedAnsibleWorker::Runner) ID [69] PID [2156] GUID [aee9e33b-605f-4503-b2fb-ab87da354287] {"detail":"A server error has occurred."} Worker exiting.
[----] I, [2018-06-18T07:57:16.150401 #2156:b7dd9c] INFO -- : MIQ(EmbeddedAnsibleWorker#start_monitor_thread) SystemExit received, exiting monitoring Thread
[----] I, [2018-06-18T07:57:16.218982 #2156:b65134] INFO -- : MIQ(MiqServer#clean_worker_records) SQL Record for Worker [EmbeddedAnsibleWorker] with ID: [69], PID: [], GUID: [aee9e33b-605f-4503-b2fb-ab87da354287], Status: [aborted] is being deleted
[----] I, [2018-06-18T07:57:31.809991 #2156:b65134] INFO -- : MIQ(EmbeddedAnsibleWorker.sync_workers) Workers are being synchronized: Current #: [0], Desired #: [1]
[----] I, [2018-06-18T07:57:31.923288 #2156:b65134] INFO -- : MIQ(MiqQueue.put) Message id: [310], id: [], Zone: [default], Role: [], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqEvent.raise_evm_event], Timeout: [600], Priority: [100], State: [ready], Deliver On: [], Data: [], Args: [["MiqServer", 1], "evm_worker_start", {:event_details=>"Worker started: ID [70], PID [], GUID [f6dce890-8b16-48ef-9de1-3c3ad1da60d1]", :type=>"EmbeddedAnsibleWorker"}]
[----] I, [2018-06-18T07:57:31.923415 #2156:b65134] INFO -- : MIQ(EmbeddedAnsibleWorker#start) Worker started: ID [70], PID [], GUID [f6dce890-8b16-48ef-9de1-3c3ad1da60d1]
[----] I, [2018-06-18T07:57:32.098069 #2156:75e7700] INFO -- : MIQ(EmbeddedAnsibleWorker::Runner#sync_config) ID [70], PID [2156], GUID [f6dce890-8b16-48ef-9de1-3c3ad1da60d1], Zone [default], Active Roles [automate,database_operations,database_owner,embedded_ansible,ems_inventory,ems_operations,event,reporting,scheduler,smartstate,user_interface,web_services,websocket], Assigned Roles [automate,database_operations,database_owner,embedded_ansible,ems_inventory,ems_operations,event,reporting,scheduler,smartstate,user_interface,web_services,websocket], Configuration:
[----] I, [2018-06-18T07:57:32.559610 #2156:75e7700] INFO -- : MIQ(EmbeddedAnsibleWorker::Runner#setup_ansible) Starting embedded ansible service ...
[----] I, [2018-06-18T07:57:34.660730 #3188:b65134] INFO -- : MIQ(MiqGenericWorker::Runner#get_message_via_drb) Message id: [310], MiqWorker id: [38], Zone: [default], Role: [], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqEvent.raise_evm_event], Timeout: [600], Priority: [100], State: [dequeue], Deliver On: [], Data: [], Args: [["MiqServer", 1], "evm_worker_start", {:event_details=>"Worker started: ID [70], PID [], GUID [f6dce890-8b16-48ef-9de1-3c3ad1da60d1]", :type=>"EmbeddedAnsibleWorker"}], Dequeued in: [2.744226555] seconds
[----] I, [2018-06-18T07:57:34.691883 #3188:b65134] INFO -- : MIQ(MiqQueue.put) Message id: [311], id: [], Zone: [default], Role: [automate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqAeEngine.deliver], Timeout: [3600], Priority: [20], State: [ready], Deliver On: [], Data: [], Args: [{:object_type=>"MiqServer", :object_id=>1, :attrs=>{:event_type=>"evm_worker_start", :event_details=>"Worker started: ID [70], PID [], GUID [f6dce890-8b16-48ef-9de1-3c3ad1da60d1]", :type=>"EmbeddedAnsibleWorker", "MiqEvent::miq_event"=>80, :miq_event_id=>80, "EventStream::event_stream"=>80, :event_stream_id=>80}, :instance_name=>"Event", :user_id=>1, :miq_group_id=>2, :tenant_id=>1, :automate_message=>nil}]
[----] I, [2018-06-18T07:57:38.762874 #23404:b65134] INFO -- : MIQ(MiqPriorityWorker::Runner#get_message_via_drb) Message id: [311], MiqWorker id: [58], Zone: [default], Role: [automate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [], Command: [MiqAeEngine.deliver], Timeout: [3600], Priority: [20], State: [dequeue], Deliver On: [], Data: [], Args: [{:object_type=>"MiqServer", :object_id=>1, :attrs=>{:event_type=>"evm_worker_start", :event_details=>"Worker started: ID [70], PID [], GUID [f6dce890-8b16-48ef-9de1-3c3ad1da60d1]", :type=>"EmbeddedAnsibleWorker", "MiqEvent::miq_event"=>80, :miq_event_id=>80, "EventStream::event_stream"=>80, :event_stream_id=>80}, :instance_name=>"Event", :user_id=>1, :miq_group_id=>2, :tenant_id=>1, :automate_message=>nil}], Dequeued in: [4.077434976] seconds
[----] I, [2018-06-18T07:57:38.772352 #23404:b65134] INFO -- : MIQ(MiqAeEngine.deliver) Delivering {:event_type=>"evm_worker_start", :event_details=>"Worker started: ID [70], PID [], GUID [f6dce890-8b16-48ef-9de1-3c3ad1da60d1]", :type=>"EmbeddedAnsibleWorker", "MiqEvent::miq_event"=>80, :miq_event_id=>80, "EventStream::event_stream"=>80, :event_stream_id=>80} for object [MiqServer.1] with state [] to Automate
[----] I, [2018-06-18T07:57:48.996727 #2156:b65134] INFO -- : MIQ(MiqServer#worker_set_message) Worker [EmbeddedAnsibleWorker] with ID: [70], PID: [], GUID: [f6dce890-8b16-48ef-9de1-3c3ad1da60d1] is being requested to sync_config
[----] I, [2018-06-18T07:58:03.624793 #2156:75e7700] INFO -- : MIQ(DockerEmbeddedAnsible#start) Waiting for Ansible container to respond
[----] I, [2018-06-18T07:58:05.055296 #2156:75e7700] INFO -- : MIQ(DockerEmbeddedAnsible#start) Waiting for Ansible container to respond
All help is welcome!
Kind Regards!
The text was updated successfully, but these errors were encountered: