← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.openstack.org/620700
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d63afbf6c59c1565e1c6943747834555852f3bbc
Submitter: Zuul
Branch:    master

commit d63afbf6c59c1565e1c6943747834555852f3bbc
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Wed Nov 28 16:13:21 2018 -0500

    Mention size limit on user data in docs
    
    The API reference for the "user_data" parameter to server
    create and rebuild mentions the size restriction but the
    user docs did not, so this adds that note. While doing this,
    several other user-facing docs that mention user data link back
    to the overall user-data doc so that we can centralize any
    further documentation about that topic in a single location.
    
    Change-Id: Id4a61d58150337e0dec223d4d2741336ed6d5387
    Closes-Bug: #1804653


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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


References