← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1804653] [NEW] Provide user data to instances in nova should explicitly tell in the docs about the size limit

 

Public bug reported:


This bug tracker is for errors with the documentation, use the following
as a template and remove or add fields as you see fit. Convert [ ] into
[x] to check boxes:

- [x] This doc is inaccurate in this way:

So, you think cloud init is cool and you start building on it. The more
you learn about cloud init, the more you like it. Until your cloud init
becomes too big to the dislikes of who every design the database schema
or API. Then your calls to nova API will fail with:

novaclient.exceptions.BadRequest: User data too large. User data must be
no larger than 65535 bytes once base64 encoded. Your data is 66080 bytes
(HTTP 400) (Request-ID: req-13e1d006-2c77-4ab4-903f-92f279d64cfc)

At this point you invested quite sometime ... and now you have to figure
a new strategy.

The documentation could at least warn in advance ...

https://github.com/openstack/nova/blob/c6218428e9b29a2c52808ec7d27b4b21aadc0299/doc/source/user
/user-data.rst

Somewhere in there should be a notice about the max userdata size.


-----------------------------------
Release: 18.0.4.dev11 on 2018-11-21 20:54
SHA: e90e89219410a771f9b6b0c4200edb0480360afe
Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/user/user-data.rst
URL: https://docs.openstack.org/nova/rocky/user/user-data.html

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1804653

Title:
  Provide user data to instances in nova should explicitly tell in the
  docs about the size limit

Status in OpenStack Compute (nova):
  New

Bug description:

  This bug tracker is for errors with the documentation, use the
  following as a template and remove or add fields as you see fit.
  Convert [ ] into [x] to check boxes:

  - [x] This doc is inaccurate in this way:

  So, you think cloud init is cool and you start building on it. The
  more you learn about cloud init, the more you like it. Until your
  cloud init becomes too big to the dislikes of who every design the
  database schema or API. Then your calls to nova API will fail with:

  novaclient.exceptions.BadRequest: User data too large. User data must
  be no larger than 65535 bytes once base64 encoded. Your data is 66080
  bytes (HTTP 400) (Request-ID: req-13e1d006-2c77-4ab4-903f-
  92f279d64cfc)

  At this point you invested quite sometime ... and now you have to
  figure a new strategy.

  The documentation could at least warn in advance ...

  https://github.com/openstack/nova/blob/c6218428e9b29a2c52808ec7d27b4b21aadc0299/doc/source/user
  /user-data.rst

  Somewhere in there should be a notice about the max userdata size.


  -----------------------------------
  Release: 18.0.4.dev11 on 2018-11-21 20:54
  SHA: e90e89219410a771f9b6b0c4200edb0480360afe
  Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/user/user-data.rst
  URL: https://docs.openstack.org/nova/rocky/user/user-data.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1804653/+subscriptions


Follow ups