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

Tong Li litong01 at us.ibm.com
Thu Sep 22 02:59:08 UTC 2016


It seems to me that your cloud-config was not run or the bootstrap.sh was
not run correctly.

Tong Li
IBM Open Technology
Building 501/B205
litong01 at us.ibm.com



From:	Stefano Maffulli <stefano at openstack.org>
To:	defcore-committee at lists.openstack.org
Date:	09/21/2016 07:04 PM
Subject:	Re: [OpenStack-DefCore] [interop] Looking for participants in
            the Interop Challenge for Barcelona



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'.


_______________________________________________
Defcore-committee mailing list
Defcore-committee at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/defcore-committee


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/defcore-committee/attachments/20160921/f37ae0c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/defcore-committee/attachments/20160921/f37ae0c3/attachment.gif>


More information about the Defcore-committee mailing list