Error crating compute profile for HP Openstack Cloud

Hi,

I'm successfully using an AWS compute resource, and am working on a project
to trial a few other providers. I've added a compute resource for HP's
Openstack Cloud, but when I try to edit a compute profile for the compute
resource (for example https://foreman/compute_profiles/1-1-small), I get
the following error:

Fog::Compute::OpenStack::NotFound
Expected([200, 203]) <=> Actual(404 Not Found) response =>
#<Excon::Response:0x7f53c6c903f8 @local_address="10.233.51.73", @body="404
Not Found\n\nThe resource could not be found.\n\n ",
@headers={"Connection"=>"close", "Content-Type"=>"text/plain;
charset=UTF-8", "Date"=>"Fri, 06 Jun 2014 22:38:22 GMT",
"Content-Length"=>"52"}, @local_port=56090, @data={:status=>404,
:local_address=>"10.233.51.73", :remote_ip=>"206.164.176.21",
:headers=>{"Connection"=>"close", "Content-Type"=>"text/plain;
charset=UTF-8", "Date"=>"Fri, 06 Jun 2014 22:38:22 GMT",
"Content-Length"=>"52"}, :body=>"404 Not Found\n\nThe resource could not be
found.\n\n ", :local_port=>56090}, @status=404,
@remote_ip="206.164.176.21">

app/models/compute_resources/foreman/model/openstack.rb:49:in
address_pools&#39; app/views/compute_resources_vms/form/_openstack.html.erb:16:in_cc8479ad640a87a6625783cea2b66714'
app/views/compute_attributes/_form.html.erb:10:in
_4238ce817fddcb36647d29de16b9bdf4&#39; app/views/compute_attributes/_form.html.erb:8:in_4238ce817fddcb36647d29de16b9bdf4'
app/helpers/layout_helper.rb:250:in form_for&#39; app/views/compute_attributes/_form.html.erb:2:in_4238ce817fddcb36647d29de16b9bdf4'
app/views/compute_attributes/new.html.erb:3:in
_239fc7bca2cd6628ce0df6b78f46b96e&#39; app/models/concerns/foreman/thread_session.rb:33:inclear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Is there something I might need to set up or enable on the HP side?

-Doug

In working with the HP console more, I've enabled a second region, and now
have a new error:

Unable to save
Multiple regions available choose one of these
'region-a.geo-1,region-b.geo-1'

I don't see anywhere to specify the region on the compute resource form,
and if I try to use the API, it returns "unknown attribute: region"

-Doug

Hi Doug,

fog has a separate provider for openstack on hp, I'm not why and what is
the difference between the two, TBH: I never tried using HP cloud, from
your trace it sounds like its not a huge effort, but still an issue
regardless.

Any chance you have ruby / rails / fog knowledge? if not, open a feature,
and hopefully someone could jump in.

Thanks,
Ohad

··· On Tue, Jun 10, 2014 at 5:00 PM, Doug Byrne wrote:

In working with the HP console more, I’ve enabled a second region, and now
have a new error:

Unable to save
Multiple regions available choose one of these
’region-a.geo-1,region-b.geo-1’

I don’t see anywhere to specify the region on the compute resource form,
and if I try to use the API, it returns “unknown attribute: region”

-Doug


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.
To post to this group, send email to 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.

Thank you, I've created as Feature #6142
http://projects.theforeman.org/issues/6142

-Doug

··· On Tuesday, June 10, 2014 10:27:01 AM UTC-4, ohad wrote: > > Hi Doug, > > fog has a separate provider for openstack on hp, I'm not why and what is > the difference between the two, TBH: I never tried using HP cloud, from > your trace it sounds like its not a huge effort, but still an issue > regardless. > > Any chance you have ruby / rails / fog knowledge? if not, open a feature, > and hopefully someone could jump in. > > Thanks, > Ohad > > > On Tue, Jun 10, 2014 at 5:00 PM, Doug Byrne > wrote: > >> In working with the HP console more, I've enabled a second region, and >> now have a new error: >> >> Unable to save >> Multiple regions available choose one of these >> 'region-a.geo-1,region-b.geo-1' >> >> I don't see anywhere to specify the region on the compute resource form, >> and if I try to use the API, it returns "unknown attribute: region" >> >> -Doug >> >> -- >> 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-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > >