Bug #461

oneauth missing require 'yaml'

Added by Stefan Praszalowicz over 10 years ago. Updated over 10 years ago.

Status:ClosedStart date:01/06/2011
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:CLI
Target version:Release 2.2
Resolution:fixed Pull request:
Affected Versions:

Description

On a debian lenny system, when running a quota set command, for instance oneauth quota set 1 10 3072, I get an error:

Error starting server: uninitialized constant YAML
/srv/cloud/one/bin/oneauth:77:in `get_database'
/srv/cloud/one/bin/oneauth:84:in `add_quota'
/srv/cloud/one/bin/oneauth:104

Adding require 'yaml' fixes the problem.

Attached is a patch (against git branch one-2.0)

0002-added-require-yaml-to-authm_mad-oneauth.patch Magnifier - trivial patch adding require 'yaml' (613 Bytes) Stefan Praszalowicz, 01/06/2011 03:13 PM

Associated revisions

Revision c22ec002
Added by Daniel Molina over 10 years ago

Bug #461: Add yaml dependency to oneauth

Revision 2c68e039
Added by Daniel Molina over 10 years ago

Bug #461: Add yaml dependency to oneauth(cherry picked from commit c22ec002b7bc621fb30d8daea4d14853c6d2f4c8)

Revision d597cefe
Added by Abel Coronado almost 4 years ago

B #5354: Solved bug wrong size to disk (VM temp update) (#461)

Revision 969af5fe
Added by Abel Coronado almost 4 years ago

B #5354: Solved bug wrong size to disk (VM temp update) (#461)

(cherry picked from commit d597cefe154fd8a86e35ac8f14da24a0768f17eb)

History

#1 Updated by Ruben S. Montero over 10 years ago

  • Target version set to Release 2.2

#2 Updated by Ruben S. Montero over 10 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

changes in master and one-2.0. Thanks for the patch ;)

Also available in: Atom PDF