← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1225143] Re: Quota check for injected_file_contents does not consider base64 encoding

 

moved to Opinion based on the discussion on the abandoned patch

** Changed in: nova
       Status: Triaged => Opinion

-- 
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/1225143

Title:
  Quota check for injected_file_contents does not consider base64
  encoding

Status in OpenStack Compute (Nova):
  Opinion

Bug description:
  File content to be injected as part of instance creation is
  constrained by the injected_file_content_bytes quota, which is checked
  by _check_injected_file_quota() in compute/api.py.

  However the contents has to be base64 encoded, its encoded in the
  client and decoded in compute/manager.py.  The quota check however is
  performed against the encoded contents, and so fails when it should
  pass if the contents is very close to the quota limit

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