Can not install ca cert for instance using userdata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
huangtianhua |
Bug Description
According the guidelines cloud-init supports to configure the trusted ca certificate for instance when booting: https:/
1. Create a stack with nova server (with an ubuntu image):
####
resources:
my_server:
type: OS::Nova::Server
properties:
...
user_data: {get_file: ca.yaml}
###
the snippet of ca.yaml:
#cloud-config
ca-certs:
trusted:
- |
-----BEGIN CERTIFICATE-----
......
-----END CERTIFICATE-----
2. the server is in active, login and found that the ca cert has not been installed.
Although we can figure it out by passing MultipartMime config to userdata, but for single userdata it's not easy to use.
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → ocata-2 |
Fix proposed to branch: master /review. openstack. org/400464
Review: https:/