OpenNebula Plugin Problems

Hello,

I´m getting the below errors for the OpenNebula Plugin, maybe someone can
help…

*- Procedure "edit Compute Profile" => undefined method
vm_description'...(see below)* Successfully decrypted field for ForemanOne::One OpenNebula Operation FAILED: undefined methodvm_description' for
#<Fog::Compute::OpenNebula::Server:0x007f9ed81d4f38>
Rendered common/500.html.erb (4.1ms)
Completed 500 Internal Server Error in 39ms (Views: 4.9ms | ActiveRecord:
10.4ms)

NoMethodError
undefined method vm_description&#39; for #&lt;Fog::Compute::OpenNebula::Server:0x007f9ed81d4f38&gt; app/models/compute_attribute.rb:26:inpretty_vm_attrs'
app/models/compute_attribute.rb:32:in update_name&#39; app/controllers/compute_attributes_controller.rb:10:increate'
app/models/concerns/foreman/thread_session.rb:33:in clear_thread&#39; lib/middleware/catch_json_parse_errors.rb:9:incall'

- Procedure "create new host" => operator does not exist…(see below)
Unable to save
Query instance details for testhost.cesystems.at task failed with the
following error: PGError: ERROR: operator does not exist: character varying
= integer LINE 1: …D "hosts"."location_id" IN (3) AND "hosts"."uuid" = 11
LIMIT… ^ HINT: No operator matches the given name and argument type(s).
You might need to add explicit type casts. : SELECT "hosts".* FROM "hosts"
WHERE "hosts"."organization_id" IN (4) AND "hosts"."location_id" IN (3) AND
"hosts"."uuid" = 11 LIMIT 1

Package List:
Foreman Server
ruby193-rubygem-foreman_one-0.2-1.el6.noarch
ruby193-rubygem-fog-1.23.0-1.el6.noarch
ruby193-rubygem-fog-core-1.23.0-1.el6.noarch

OpenNebula Server:
opennebula-common-4.8.0-1.x86_64
opennebula-server-4.8.0-1.x86_64
opennebula-4.8.0-1.x86_64
opennebula-sunstone-4.8.0-1.x86_64
opennebula-node-kvm-4.8.0-1.x86_64
opennebula-ruby-4.8.0-1.x86_64

See also

https://github.com/theforeman/foreman-one/issues/4
https://github.com/fog/fog/pull/3038

0xE2356889.asc (3.06 KB)

··· -- Arnold Bechtoldt

Karlsruhe, Germany

On 29.09.14 19:12, ehartchr@gmail.com wrote:

Hello,

I´m getting the below errors for the OpenNebula Plugin, maybe someone
can help…

- Procedure “edit Compute Profile” => undefined method
`vm_description’…(see below)

Successfullydecrypted field forForemanOne::OneOpenNebula
OperationFAILED:undefinedmethod `vm_description’ for
#Fog::Compute::OpenNebula::Server:0x007f9ed81d4f38
Rendered common/500.html.erb (4.1ms)
Completed 500 Internal Server Error in 39ms (Views: 4.9ms |
ActiveRecord: 10.4ms)

NoMethodError
undefinedmethod vm_description' for #<Fog::Compute::OpenNebula::Server:0x007f9ed81d4f38> app/models/compute_attribute.rb:26:in pretty_vm_attrs’
app/models/compute_attribute.rb:32:in update_name' app/controllers/compute_attributes_controller.rb:10:increate’
app/models/concerns/foreman/thread_session.rb:33:in clear_thread' lib/middleware/catch_json_parse_errors.rb:9:in call’

*- Procedure “create new host” => |operatordoes notexist…(see below)||

Unableto save
Queryinstance details fortesthost.cesystems.at task failed withthe
following error:PGError:ERROR:operatordoes notexist:character varying
=integer LINE 1:…D “hosts”."location_id"IN (3)AND
“hosts”.“uuid”=11LIMIT…^HINT:Nooperatormatches the given name
andargument type(s).Youmight need to add explicittype casts.:SELECT
“hosts”.*FROM "hosts"WHERE “hosts”."organization_id"IN (4)AND
“hosts”."location_id"IN (3)AND “hosts”.“uuid”=11LIMIT 1

Package List:

ForemanServer
ruby193-rubygem-foreman_one-0.2-1.el6.noarch
ruby193-rubygem-fog-1.23.0-1.el6.noarch
ruby193-rubygem-fog-core-1.23.0-1.el6.noarch

OpenNebulaServer:
opennebula-common-4.8.0-1.x86_64
opennebula-server-4.8.0-1.x86_64
opennebula-4.8.0-1.x86_64
opennebula-sunstone-4.8.0-1.x86_64
opennebula-node-kvm-4.8.0-1.x86_64
opennebula-ruby-4.8.0-1.x86_64


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.