Implement Fn::Base64

Bug #1072955 reported by Angus Salkeld
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Won't Fix
Low
Unassigned

Bug Description

Currently we don't actually encode anything in Base64 when Fn::Base64 appears in the template.

Revision history for this message
Angus Salkeld (asalkeld) wrote :

sdake
=====

I am pretty sure I tried this once and the userdata didn't end up in the virtual machine in a correct format. Feel free to give it another go tho :)

jeos tools show how to encode in b64. They encode the cfn tools.

Angus Salkeld (asalkeld)
Changed in heat:
status: New → Triaged
importance: Undecided → Low
Changed in heat:
milestone: none → grizzly-3
Zane Bitter (zaneb)
Changed in heat:
milestone: grizzly-3 → none
Jeff Sloyer (jsloyer)
Changed in heat:
assignee: Zane Bitter (zaneb) → Jeff Sloyer (jsloyer)
JunJie Nan (nanjj)
Changed in heat:
assignee: Jeff Sloyer (jsloyer) → Jun Jie Nan (nanjj)
Steven Dake (sdake)
Changed in heat:
milestone: none → icehouse-1
JunJie Nan (nanjj)
Changed in heat:
assignee: Jun Jie Nan (nanjj) → nobody
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

There are so many templates that (unnecessarily) use Fn::Base64 I worry that they will all break when this gets implemented.

Changed in heat:
milestone: icehouse-1 → icehouse-2
Revision history for this message
Zane Bitter (zaneb) wrote :

I think the key is to make sure the UserData accepts either plain or base-64 input.

Revision history for this message
Steve Baker (steve-stevebaker) wrote :

Ah, so nova_utils.build_userdata needs to detect if userdata is base-64, then decode it before adding it to the cloud-init package?

Changed in heat:
milestone: icehouse-2 → icehouse-3
Changed in heat:
status: Triaged → Won't Fix
milestone: icehouse-3 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.