Open ogrand opened 2 years ago
@ogrand could you create a PR for that?
Hello Ruben, I create a PR in fog-openstack repository for this issue. Hope It will be merged soon.
Regards. Olivier
Hello Ruben, do you know if fog-openstack repository included in bosh openstack cpi is always active. Nothing new for my PR : https://github.com/fog/fog-openstack/pull/528
it seems that the fog-openstack
repo is dying as there is no activity since august
@ogrand the upstream pr has been merged could you make a pr so that the the cpi is using the updated version.
Hello,
Bosh Openstack cpi send a POST request for instance creation, with body content
user_data
base64 encoded row containing newlines\n
every 60 characters:Recent upgrade (openstack 22.3) is less permissive for base64 decoding and refuses newlines
\n
inside base64 encoded value.To be compliant, it will be nice to replace encoding format in
/var/vcap/packages/bosh_openstack_cpi/vendor/bundle/ruby/*/gems/fog-openstack-*/lib/fog/openstack/compute/models/server.rb
ruby script:Replace
[ascii_userdata].pack('m')
with[ascii_userdata].pack('m0')
which disable newlines assertion.Thanks. Olivier