[OpenStack-DefCore] [interop] Looking for participants in the Interop Challenge for Barcelona

Stefano Maffulli stefano at openstack.org
Wed Sep 21 23:04:30 UTC 2016


On 09/21/2016 03:39 PM, Stefano Maffulli wrote:
> Thoughts? (i can connect manually to the hosts and solve the issue, but
> I'd rather have a clean solution, once and for all).

and of course, I solved this part as soon as I hit 'send'. The issue is
on the roles/prov_apply/tasks/main.yml, since it calls shell and I
assume scp ignores the env variables set for ansible :)

Adding `-o StrictHostKeyChecking=no` to scp command does the job.

- name: Transfer configuration
  shell: scp -o StrictHostKeyChecking=no -r "/tmp/{{ env }}/{{ node_ip
}}/keys" "core@{{ node_ip }}:/home/core"


Now I'm hitting another issue on the nodes:

    Job for swarm-manager.service failed because a configured resource
    limit was exceeded

http://paste.openstack.org/show/582482/

I connected to one of the hosts and found:

core at docker-swarm-1 ~ $ systemctl status swarm-agent.service
● swarm-agent.service - swarm agent
   Loaded: loaded (/etc/systemd/system/swarm-agent.service; static;
vendor preset: disabled)
   Active: failed (Result: resources)

Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]:
swarm-agent.service: Failed to load environment files: No such file or
directory
Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]:
swarm-agent.service: Failed to run 'start-pre' task: No such file or
directory
Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]: Failed to start
swarm agent.
Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]:
swarm-agent.service: Unit entered failed state.
Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]:
swarm-agent.service: Failed with result 'resources'.
Sep 21 22:47:47 docker-swarm-1.novalocal systemd[1]:
swarm-agent.service: Failed to load environment files: No such file or
directory
Sep 21 22:47:47 docker-swarm-1.novalocal systemd[1]:
swarm-agent.service: Failed to run 'start-pre' task: No such file or
directory
Sep 21 22:47:47 docker-swarm-1.novalocal systemd[1]: Failed to start
swarm agent.
Sep 21 22:47:47 docker-swarm-1.novalocal systemd[1]:
swarm-agent.service: Failed with result 'resources'.




More information about the Defcore-committee mailing list