bsd-cloudinit
bsd-cloudinit copied to clipboard
FreeBSD 10.3 : SetUserPasswordPlugin failes with HTTP 500
Hi,
We've prepared a FreeBSD 10.3 image to run bsd-cloudinit during boot and have setup the image so that a root password is offered by the Openstack environment .
"Everything" seems to work ok except for the password provided by openstack nog being set correctly.
The error displayed is :
Nov 15 11:09:27 freebsd-template kernel: 2016-11-15 11:09:27.026 682 ERROR cloudbaseinit.init [-] plugin 'SetUserPasswordPlugin' failed with error 'HTTP Error 500: Internal Server Error'
The same openstack environment has no trouble setting the root password in other images as far as I can tell.
We've modified the default behaviour of the .sh script to include a configfile like this:
$PYTHON $BSDINIT_DIR/run.py --config-file /etc/cloudinit.conf --log-file /tmp/cloudinit.log $BSDINIT_SCRIPT_DEBUG_FLAG
config file contents:
cat /etc/cloudinit.conf [DEFAULT] username=root
Any thought on how to troubleshoot this issue?
Kind regards,
Fuxjezz