Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0
-
Patch
Description
It is very common to gzip userdata on openstack to preserve space (when using cloud-init for example).
If debug logging is enabled, then this binary data is shown as is which disrupts the log.
Example output:
>> creating new server region(RegionOne) name(foo-f2e) image(41c50bca-cb94-4dc4-b4ce-6c98242eaaa6) flavor(08fbed24-7fcf-42e3-bc5a-cdd7a701ef0c) options(CreateServerOptions{keyName=null, securityGroupNames=[default], metadata={Name=foo, jclouds-group=foo}, userData=*lots of "garbage"*, networks=[73cbec8a-f53d-41af-843b-1cd4a6afc025], availabilityZone=null, configDrive=false})
See https://github.com/jclouds/jclouds/pull/1061 (master) and https://github.com/jclouds/jclouds/pull/1062 (2.0.x branch)