[one-users] oneservice database
Danny Sternkopf
danny.sternkopf at csc.fi
Wed Mar 2 23:15:55 PST 2011
Hi,
I have sqlite, but it also doesn't work. I wonder how the one service
database gets created.
[oneadmin at fog templates]$ oneservice list
Database does not exists and now creating at:
ID TITLE STATE
/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3/database.rb:91:in
`initialize': no such table: one_service (SQLite3::SQLException)
from
/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3/database.rb:91:in
`new'
from
/opt/ruby-1.9.2/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3/database.rb:91:in
`prepare'
from /srv/cloud/one/lib/ruby/oneservicedal.rb:159:in
`getOneservices'
from /srv/cloud/one/bin/oneservice:167:in `list'
from /srv/cloud/one/bin/oneservice:253:in `<class:Oneservice>'
from /srv/cloud/one/bin/oneservice:41:in `<main>'
[oneadmin at fog templates]$ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
[oneadmin at fog templates]$ gem -v
1.3.7
Regards,
Danny
On 2011-03-02 17:20, Ruben Diez wrote:
> Hi:
>
> We have a mysql based OpenNebula installation. When we install the
> oneservice stuff, we get messages about a not initialized sqlite database:
>
> $ oneservice list
> Database does not exists and now creating at:
> "/srv/cloud/one/one-service.db"
> /srv/cloud/one/lib/ruby/oneservicedal.rb:82:in `initialize': unable to
> open database file (SQLite3::CantOpenException)
> from /srv/cloud/one/lib/ruby/oneservicedal.rb:82:in `new'
> from /srv/cloud/one/lib/ruby/oneservicedal.rb:82:in `createDB'
> from /srv/cloud/one/lib/ruby/oneservicedal.rb:68:in `getOneserviceDB'
> from /srv/cloud/one/lib/ruby/oneservicedal.rb:39:in `initialize'
> from /srv/cloud/one/bin/oneservice:246:in `new'
> from /srv/cloud/one/bin/oneservice:246:in `<class:Oneservice>'
> from /srv/cloud/one/bin/oneservice:41:in `<main>'
>
>
> Is it possible to use oneservice in a mysql based OpenNebula
> installation?? so, How we can initialize the database ?
>
> Regards
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list