[OpenStack-Infra] Problems setting up my own OpenStack Infrastructure
Bernd Bausch
berndbausch at gmail.com
Thu Apr 5 13:55:29 UTC 2018
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:
nodepool_revision: 0.3.1
common.yaml serves as the hiera for this sample installation. It's setup
is described at
https://docs.openstack.org/infra/openstackci/third_party_ci.html#configure-masterless-puppet.
When I set the revision to /master/, 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.
Bernd
On 4/5/2018 9:59 AM, Ian Wienand wrote:
>> * Puppet doesn't create the //var/log/nodepool///images /log
>> directory
>
> Note that since [1] the builder log output changed; previously it went
> through python logging into the directory you mention, now it is
> written into log files directly in /var/log/nodepool/builds (by
> default)
>
>> * The command /service //nodepool-builder//start /seems to//start a
>> nodepool process that immediately aborts/
>
> You may be seeing the result of a bad logging configuration file. In
> this case, the daemonise happens correctly (so systemd thinks it
> worked) but it crashes soon after, but before any useful logging is
> captured. I have a change out for that in [2] (reviews appreciated :)
>> Let me see how far I can get on my own. Thanks much for the offer to
>> tutor me on the IRC; I will watch out for you in my morning. Our
>> time difference is between 13 hours (EDT) and 16 hours (PDT) if you
>> are located in the continental US, i.e. 7pm EDT is 8am next day here
>> in Japan.
>
> FWIW there are a couple of us in APAC who are happy to help too. IRC
> will always be the most immediate way however :)
>
> -i
>
> [1] https://review.openstack.org/#/c/542386/
> [2] https://review.openstack.org/#/c/547889/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20180405/ba8d4a92/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20180405/ba8d4a92/attachment-0001.sig>
More information about the OpenStack-Infra
mailing list