Failed to start Execute cloud user/final scripts.
Scott Moser
smoser at ubuntu.com
Tue Nov 29 18:34:49 UTC 2016
On Tue, 29 Nov 2016, Daniel Bidwell wrote:
> I am running maas-2.1.21 with ubuntu-16.04
> installing on /dev/sde1 which is labeled for gpt
>
> deployment fails with "Failed to start Execute cloud user/final
> scripts."
>
> The cloud-init.log contains:
> Nov 29 16:36:23 acauitsr9u40 [CLOUDINIT] util.py[WARNING]: Running
> module scripts-user (<module 'cloudinit.config.cc_scripts_user' from
> '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>)
> failed
> Nov 29 16:36:23 acauitsr9u40 [CLOUDINIT] util.py[DEBUG]: Running module
> scripts-user (<module 'cloudinit.config.cc_scripts_user' from
> '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>)
> failed#012Traceback (most recent call last):#012 File
> "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 792, in
> _run_modules#012 freq=freq)#012 File "/usr/lib/python3/dist-
> packages/cloudinit/cloud.py", line 70, in run#012 return
> self._runners.run(name, functor, args, freq, clear_on_fail)#012 File
> "/usr/lib/python3/dist-packages/cloudinit/helpers.py", line 200, in
> run#012 return (True, results)#012 File
> "/usr/lib/python3.5/contextlib.py", line 77, in
> __exit__#012 self.gen.throw(type, value, traceback)#012 File
> "/usr/lib/python3/dist-packages/cloudinit/helpers.py", line 88, in
> lock#012 yield self._acquire(name, freq)#012 File
> "/usr/lib/python3/dist-packages/cloudinit/helpers.py", line 199, in
> run#012 results = functor(*args)#012 File "/usr/lib/python3/dist-
> packages/cloudinit/config/cc_scripts_user.py", line 57, in
> handle#012 util.runparts(runparts_path)#012 File
> "/usr/lib/python3/dist-packages/cloudinit/util.py", line 800, in
> runparts#012 % (len(failed), len(attempted)))#012RuntimeError:
> Runparts: 1 failures in 1 attempted commands
>
> What causes this? What other logs are useful in debugging this? How
> do I fix it?
The output of all cloud-init initiated commands goes to the
* console (ie, serial console or vga)
* /var/log/cloud-init-output.log
* systemctl status cloud-final.service
For the last, though the journal might have been rotated and you not get
all of the output.
More information about the Maas-devel
mailing list