Bug #827
require 'yaml' missing in econe-server.rb
| Status: | Closed | Start date: | 09/24/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Cloud APIs | |||
| Target version: | Release 3.0 | |||
| Resolution: | fixed | Affected Version: | OpenNebula 3.0 | |
| Story points | - | |||
| Velocity based estimate | - |
Description
Hi there,
I had problem starting econe-server
[cloudadmin@frontend-cogeco etc]$ econe-server start Error executing econe-server. Check /vrstorm/cloud/one298/var/econe-server.log for more information [cloudadmin@frontend-cogeco etc]$ cat /vrstorm/cloud/one298/var/econe-server.log Error parsing config file /vrstorm/cloud/one298/etc/econe.conf: uninitialized constant YAML
Then I fixed it by simply adding
require 'yaml'
to $ONE_LOCATION/lib/ruby/cloud/econe/econe-server.rb.
Associated revisions
Bug #827: Removed unneeded Configuration file an associated requires. Added yaml explicit require as it seems to be needed by some ruby versions
Bug #827: Removed unneeded Configuration file an associated requires. Added yaml explicit require as it seems to be needed by some ruby versions
History
Updated by Ruben S. Montero 8 months ago
- Category set to Cloud APIs
- Status changed from New to Closed
- Assignee set to Ruben S. Montero
- Target version set to Release 3.0
- Resolution set to fixed
I can not reproduce this one. This may be caused by your ruby installation. Anyway, I added the requires as it shouldn't harm. Changes in master an one-3.0