Skip to content

Unable to create managed user data, with content > (around)3100 bytes #8415

@sureshanaparti

Description

@sureshanaparti

Failed to register user data, with content > (around)3100 bytes. Error: User data is too long for an http GET request

ISSUE TYPE
  • Bug Report
COMPONENT NAME
Compute / User Data
CLOUDSTACK VERSION
4.18.1.0 
CONFIGURATION

N/A

OS / ENVIRONMENT

Oracle Linux Server 9.0 / KVM Hypervisor

SUMMARY

Unable to create managed user data, with content > (around)3100 bytes, as it is being restricted with certain bytes for the http GET request.

Also, the actual user data length is not considered to check the allowed limit.

should allow user data with GET request call?

userdata-error
STEPS TO REPRODUCE
  • Go to Compute -> User Data section
  • Register User Data with content > (around)3100 bytes
EXPECTED RESULTS
Able to register user data content upto 1048576 bytes (based on the setting 'vm.userdata.max.length') with POST request call, and 4096 bytes with GET request call.
ACTUAL RESULTS
Unable to register user data content > around 3100 bytes, with GET request call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions