<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Ian's message made me wonder what nodepool version was installed
on my system, and indeed, I found this line in
/etc/puppet/environment/common.yaml:</p>
<p><tt>nodepool_revision: 0.3.1</tt></p>
<p>common.yaml serves as the hiera for this sample installation.
It's setup is described at
<a class="moz-txt-link-freetext" href="https://docs.openstack.org/infra/openstackci/third_party_ci.html#configure-masterless-puppet">https://docs.openstack.org/infra/openstackci/third_party_ci.html#configure-masterless-puppet</a>.</p>
<p>When I set the revision to <i>master</i>, nodepool-builder
aborts with a syntax error because it contains Python 3 syntax
(function annotations) but it's run by Python 2.7. It's also
installed in /usr/local/lib/python2.7/dist-packages. I currently
don't know how to change this. My guess is that the instructions
and the 3rd party CI code assume Python 2.7. To be continued.<br>
</p>
<p>Bernd</p>
<div class="moz-cite-prefix">On 4/5/2018 9:59 AM, Ian Wienand wrote:<br>
</div>
<blockquote type="cite"
cite="mid:760ae3f3-36be-4786-e2cd-bf0e518a1fce@redhat.com">
<blockquote type="cite"> * Puppet doesn't create the
//var/log/nodepool///images /log directory
<br>
</blockquote>
<br>
Note that since [1] the builder log output changed; previously it
went
<br>
through python logging into the directory you mention, now it is
<br>
written into log files directly in /var/log/nodepool/builds (by
<br>
default)
<br>
<br>
<blockquote type="cite"> * The command /service
//nodepool-builder//start /seems to//start a
<br>
nodepool process that immediately aborts/
<br>
</blockquote>
<br>
You may be seeing the result of a bad logging configuration file.
In
<br>
this case, the daemonise happens correctly (so systemd thinks it
<br>
worked) but it crashes soon after, but before any useful logging
is
<br>
captured. I have a change out for that in [2] (reviews appreciated
:)
<br>
<blockquote type="cite">Let me see how far I can get on my own.
Thanks much for the offer to
<br>
tutor me on the IRC; I will watch out for you in my morning. Our
<br>
time difference is between 13 hours (EDT) and 16 hours (PDT) if
you
<br>
are located in the continental US, i.e. 7pm EDT is 8am next day
here
<br>
in Japan.
<br>
</blockquote>
<br>
FWIW there are a couple of us in APAC who are happy to help too.
IRC
<br>
will always be the most immediate way however :)
<br>
<br>
-i
<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/542386/">https://review.openstack.org/#/c/542386/</a>
<br>
[2] <a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/547889/">https://review.openstack.org/#/c/547889/</a>
<br>
</blockquote>
<br>
</body>
</html>