[openstack-dev] Nodepool: puppet fails to create image

Eduard Matei eduard.matei at cloudfounders.com
Thu May 28 08:58:43 UTC 2015


Hi,

We had some issues with jenkins/devstack so i updated both the jenkins
version and the devstack.
When starting nodepool it tries to create a new image but it fails after ~5
minutes:

2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + sudo
puppet apply --detailed-exitcodes --modulepath=/root/system-config/modules:/
etc/puppet/modules -e 'class {'\''openstack_project::single_use_slave'\'':
sudo => true, thin => true, python3 => false, include_pypy => false, all_my
sql_privs => false, }'
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: Warning:
Setting templatedir is deprecated. See http://links.puppetlabs.com/env-set
tings-deprecations
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c:    (at
/usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warn
ing')
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: Error:
Invalid parameter python3 on Class[Openstack_project::Single_use_slave] at l
ine 1 on node d-p-c-1432802582.template.openstack.org
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: Error:
Invalid parameter python3 on Class[Openstack_project::Single_use_slave] at l
ine 1 on node d-p-c-1432802582.template.openstack.org
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: +
PUPPET_RET_CODE=1
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + '[' 1
-eq 4 ']'
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + '[' 1
-eq 6 ']'
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + set -e
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + cat
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + sudo
mv /tmp/forwarding.conf /etc/unbound/
2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: mv:
cannot move ‘/tmp/forwarding.conf’ to ‘/etc/unbound/’: Not a directory
2015-05-28 10:49:21,509 ERROR nodepool.SnapshotImageUpdater: Exception
updating image d-p-c in local_01:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nodepool/nodepool.py", line
862, in _run
    self.updateImage(session)
  File "/usr/local/lib/python2.7/dist-packages/nodepool/nodepool.py", line
995, in updateImage
    self.bootstrapServer(server, key, use_password=use_password)
  File "/usr/local/lib/python2.7/dist-packages/nodepool/nodepool.py", line
1091, in bootstrapServer
    (set_path, env_vars, self.image.setup, server['name']))
  File "/usr/local/lib/python2.7/dist-packages/nodepool/sshclient.py", line
55, in ssh
    % (action, command, out, err))
Exception: Unable to run setup script
command: export
PATH=/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin; cd
/opt/nodepool-scripts &&  NODEPOOL_NO_PROXY="" NODEPOOL_HTTPS_PROXY=""
NODEPOOL_SSH_KEY="" NODEPOOL_HTTP_PROXY="" ./prepare_node_devstack.sh
d-p-c-1432802582.template.openstack.org
stdout:
stderr:

Anyone has any idea how to fix this?

Nodepool was not updated.
Jenkins is 1.596.3
Devstack is 2015.1.1

Thanks,
Eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150528/2be3c1dc/attachment.html>


More information about the OpenStack-dev mailing list