Bug #827
require 'yaml' missing in econe-server.rb
Status: | Closed | Start date: | 09/24/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Ruben S. Montero | % Done: | 0% | |
Category: | - | |||
Target version: | Release 3.0 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.0 |
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
#1 Updated by Ruben S. Montero almost 10 years ago
- Category set to 11
- 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
#2 Updated by Shi Jin almost 10 years ago
Thanks. It is very likely due to the different between RHEL/CentOS and Ubuntu since I am using RHEL.
#3 Updated by Shi Jin almost 10 years ago
Just to point out that there is the same problem for the occi-server.rb.