<html><body><p>It seems to me that your cloud-config was not run or the bootstrap.sh was not run correctly.<br><br>Tong Li<br>IBM Open Technology<br>Building 501/B205<br>litong01@us.ibm.com<br><br><img width="16" height="16" src="cid:1__=0ABB0AA5DF83D4A48f9e8a93df938690918c0AB@" border="0" alt="Inactive hide details for Stefano Maffulli ---09/21/2016 07:04:57 PM---On 09/21/2016 03:39 PM, Stefano Maffulli wrote: > Though"><font color="#424282">Stefano Maffulli ---09/21/2016 07:04:57 PM---On 09/21/2016 03:39 PM, Stefano Maffulli wrote: > Thoughts? (i can connect manually to the hosts and</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Stefano Maffulli <stefano@openstack.org></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">defcore-committee@lists.openstack.org</font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">09/21/2016 07:04 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [OpenStack-DefCore] [interop] Looking for participants in the Interop Challenge for Barcelona</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt>On 09/21/2016 03:39 PM, Stefano Maffulli wrote:<br>> Thoughts? (i can connect manually to the hosts and solve the issue, but<br>> I'd rather have a clean solution, once and for all).<br><br>and of course, I solved this part as soon as I hit 'send'. The issue is<br>on the roles/prov_apply/tasks/main.yml, since it calls shell and I<br>assume scp ignores the env variables set for ansible :)<br><br>Adding `-o StrictHostKeyChecking=no` to scp command does the job.<br><br>- name: Transfer configuration<br>  shell: scp -o StrictHostKeyChecking=no -r "/tmp/{{ env }}/{{ node_ip<br>}}/keys" "core@{{ node_ip }}:/home/core"<br><br><br>Now I'm hitting another issue on the nodes:<br><br>    Job for swarm-manager.service failed because a configured resource<br>    limit was exceeded<br><br></tt><tt><a href="http://paste.openstack.org/show/582482/">http://paste.openstack.org/show/582482/</a></tt><tt><br><br>I connected to one of the hosts and found:<br><br>core@docker-swarm-1 ~ $ systemctl status swarm-agent.service<br>● swarm-agent.service - swarm agent<br>   Loaded: loaded (/etc/systemd/system/swarm-agent.service; static;<br>vendor preset: disabled)<br>   Active: failed (Result: resources)<br><br>Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]:<br>swarm-agent.service: Failed to load environment files: No such file or<br>directory<br>Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]:<br>swarm-agent.service: Failed to run 'start-pre' task: No such file or<br>directory<br>Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]: Failed to start<br>swarm agent.<br>Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]:<br>swarm-agent.service: Unit entered failed state.<br>Sep 21 22:38:46 docker-swarm-1.novalocal systemd[1]:<br>swarm-agent.service: Failed with result 'resources'.<br>Sep 21 22:47:47 docker-swarm-1.novalocal systemd[1]:<br>swarm-agent.service: Failed to load environment files: No such file or<br>directory<br>Sep 21 22:47:47 docker-swarm-1.novalocal systemd[1]:<br>swarm-agent.service: Failed to run 'start-pre' task: No such file or<br>directory<br>Sep 21 22:47:47 docker-swarm-1.novalocal systemd[1]: Failed to start<br>swarm agent.<br>Sep 21 22:47:47 docker-swarm-1.novalocal systemd[1]:<br>swarm-agent.service: Failed with result 'resources'.<br><br><br>_______________________________________________<br>Defcore-committee mailing list<br>Defcore-committee@lists.openstack.org<br></tt><tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/defcore-committee">http://lists.openstack.org/cgi-bin/mailman/listinfo/defcore-committee</a></tt><tt><br></tt><br><br><BR>
</body></html>