Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1239

Gzipped userdata not handled in openstack-nova debug logging

    XMLWordPrintableJSON

Details

    • 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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            felfert2 Fritz Elfert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: