Hi, I don't believe this is a cloud-init bug. Cloud-init wrote the two
certificate files requested.
2018-05-02 08:55:00,913 - stages.py[DEBUG]: Running module ca-certs (<module
cloudinit.config.cc_ca_certs' from
'/usr/lib/python3/dist-packages/cloudinit/config/cc_ca_certs.py'>) with
frequency once-per-instance
2018-05-02 08:55:00,914 - handlers.py[DEBUG]: start:
init-network/config-ca-certs: running config-ca-certs with frequency
once-per-instance
2018-05-02 08:55:00,914 - util.py[DEBUG]: Writing to
/var/lib/cloud/instances/44574988-144d-485a-9386-2ec4f4f545c4/sem/config_ca_certs
- wb: [644] 24 bytes
2018-05-02 08:55:00,914 - helpers.py[DEBUG]: Running config-ca-certs using lock
(<FileLock using file
'/var/lib/cloud/instances/44574988-144d-485a-9386-2ec4f4f545c4/sem/config_ca_certs'>)
2018-05-02 08:55:00,914 - cc_ca_certs.py[DEBUG]: Adding 2 certificates
2018-05-02 08:55:00,916 - util.py[DEBUG]: Writing to
/usr/share/ca-certificates/cloud-init-ca-certs.crt - wb: [644] 4545 bytes
2018-05-02 08:55:00,917 - util.py[DEBUG]: Reading from
/etc/ca-certificates.conf (quiet=False)
2018-05-02 08:55:00,917 - util.py[DEBUG]: Read 5898 bytes from
/etc/ca-certificates.conf
2018-05-02 08:55:00,917 - util.py[DEBUG]: Writing to /etc/ca-certificates.conf
- wb: [644] 5922 bytes
2018-05-02 08:55:00,918 - cc_ca_certs.py[DEBUG]: Updating certificates
2018-05-02 08:55:00,918 - util.py[DEBUG]: Running command
['update-ca-certificates'] with allowed return codes [0] (shell=False,
capture=False)
2018-05-02 08:55:01,845 - handlers.py[DEBUG]: finish:
init-network/config-ca-certs: SUCCESS: config-ca-certs ran successfully
The error you show mentions a 'cloud-init-ca-certs.pem' It may be
related the ca-certificates package? I'm adding the package as a task.
** Also affects: ca-certificates (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1768468
Title:
error in ca_certs module
Status in cloud-init:
Invalid
Status in ca-certificates package in Ubuntu:
New
Bug description:
Hello,
I'm using cloud-init in order to customize Nutanix AHV images.
I'm using the ca_certs module to upload our private ca chain (root and
intermediate) but in the log I found a log that states that
-------------------------------------------------
Cloud-init v. 18.2 running 'init-local' at Wed, 02 May 2018 08:54:58 +0000.
Up 6.25 seconds.
Updating certificates in /etc/ssl/certs...
rehash: skipping cloud-init-ca-certs.pem,it does not contain exactly one
certificate or CRL
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
-------------------------------------------------
And the certificates are not trusted.
Ubuntu version is 18.04.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1768468/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp