<div dir="ltr">Hi,<div><br></div><div>We had some issues with jenkins/devstack so i updated both the jenkins version and the devstack.</div><div>When starting nodepool it tries to create a new image but it fails after ~5 minutes:</div><div><br></div><div><div>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:/</div><div>etc/puppet/modules -e 'class {'\''openstack_project::single_use_slave'\'': sudo => true, thin => true, python3 => false, include_pypy => false, all_my</div><div>sql_privs => false, }'</div><div>2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: Warning: Setting templatedir is deprecated. See <a href="http://links.puppetlabs.com/env-set">http://links.puppetlabs.com/env-set</a></div><div>tings-deprecations</div><div>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</div><div>ing')</div><div>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</div><div>ine 1 on node <a href="http://d-p-c-1432802582.template.openstack.org">d-p-c-1432802582.template.openstack.org</a></div><div>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</div><div>ine 1 on node <a href="http://d-p-c-1432802582.template.openstack.org">d-p-c-1432802582.template.openstack.org</a></div><div>2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + PUPPET_RET_CODE=1</div><div>2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + '[' 1 -eq 4 ']'</div><div>2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + '[' 1 -eq 6 ']'</div><div>2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + set -e</div><div>2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + cat</div><div>2015-05-28 10:49:21,509 ERROR nodepool.image.build.local_01.d-p-c: + sudo mv /tmp/forwarding.conf /etc/unbound/</div><div>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</div><div>2015-05-28 10:49:21,509 ERROR nodepool.SnapshotImageUpdater: Exception updating image d-p-c in local_01:</div><div>Traceback (most recent call last):</div><div> File "/usr/local/lib/python2.7/dist-packages/nodepool/nodepool.py", line 862, in _run</div><div> self.updateImage(session)</div><div> File "/usr/local/lib/python2.7/dist-packages/nodepool/nodepool.py", line 995, in updateImage</div><div> self.bootstrapServer(server, key, use_password=use_password)</div><div> File "/usr/local/lib/python2.7/dist-packages/nodepool/nodepool.py", line 1091, in bootstrapServer</div><div> (set_path, env_vars, self.image.setup, server['name']))</div><div> File "/usr/local/lib/python2.7/dist-packages/nodepool/sshclient.py", line 55, in ssh</div><div> % (action, command, out, err))</div><div>Exception: Unable to run setup script</div><div>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 <a href="http://d-p-c-1432802582.template.openstack.org">d-p-c-1432802582.template.openstack.org</a></div><div>stdout:</div><div>stderr:</div><div><br></div><div>Anyone has any idea how to fix this?</div><div><br></div><div>Nodepool was not updated.</div><div>Jenkins is 1.596.3</div><div>Devstack is 2015.1.1</div><div><br></div><div>Thanks,</div><div>Eduard</div><div><br></div><br>
</div></div>