I try to configure openSUSE 42.3 VMs using cloud-init with the nocloud datasource. I created an iso which works without any problems in Debian, RHEL/CentOS and Ubuntu. Only in opensuse, it does not work. By ‘not work’ I mean, that it does not get loaded or executed at any time in the boot process. I do not see anything in /var/log, (actually, /var/log/cloud-init.log does not exist after booting), nor in dmesg or journal. I enabled all the services (cloud-init.service, cloud-init-local.service, cloud-config.service and cloud-final.service) but still no result. I know the iso works, because after running
everything looks fine. Has anyone an idea where I might look for further hints?
For each of the services you created, check the status with the following command which should include a log snippet relevant to the service’s successful startup or failure.
systemctl status *service_name*
If you have problems interpreting the results, post them for all to see and comment.
If the results say that they all started successfully and are running, then if you created Unit files, you should post those as well. Else, if you’re deploying only the standard init files, that’s probably of less interest.
The service files are the ones shipped with the installation of cloud-init-17.1-34.2.x86_64 and cloud-init-config-suse-17.1-34.2.x86_64 from the openSuSE Update OSS repo. As they are oneshot-units, all their statuses look the same:
it runs just fine. Journalctl only reports an error in wickedd:
May 24 16:01:53 linux-7ymr audispd: No plugins found, exiting
May 24 16:01:56 linux-7ymr wickedd: ni_process_reap: process 1434 has not exited yet; now doing a blocking waitpid()
May 24 16:06:56 linux-7ymr wickedd: ni_process_reap: process 5545 has not exited yet; now doing a blocking waitpid()
May 24 16:16:56 linux-7ymr wickedd: ni_process_reap: process 13409 has not exited yet; now doing a blocking waitpid()
... (it just goes on with wickedd errors every 10mins)
And yes, I had to type it in manually. I work on the serial console of HyperV over RDP on a windows server. Don’t ask - copy/paste is just not working
journalctl -u cloud-init.service
only shows the entries generated by my manual run of