Bug 1144737 - Unable to add OpenStack Compute Resource: Permission denied - connect(2) (Errno::EACCES)
Summary: Unable to add OpenStack Compute Resource: Permission denied - connect(2) (Err...
Keywords:
Status: CLOSED DUPLICATE of bug 1136991
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.0.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-20 09:20 UTC by Andrea Perotti
Modified: 2017-02-23 20:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-22 06:55:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrea Perotti 2014-09-20 09:20:54 UTC
Description of problem:

In a freshly installed Satellite 6.0.4 if I try to add a "RHEL OpenStack" Compute Resource, via:

Infrastructure -> Compute Resources -> Add

I got from web UI:

Unable to save
Permission denied - connect(2) (Errno::EACCES)

and the log "/var/log/foreman/production.log" report:

Processing by ComputeResourcesController#provider_selected as HTML
  Parameters: {"provider"=>"Openstack"}
String does not start with the prefix 'encrypted-', so Foreman::Model::Openstack  was not decrypted
  Rendered compute_resources/form/_openstack.html.erb (7.4ms)
  Rendered taxonomies/_loc_org_tabs.html.erb (8.9ms)
  Rendered compute_resources/_form.html.erb (26.9ms)
Completed 200 OK in 75ms (Views: 25.5ms | ActiveRecord: 10.1ms)
Processing by ComputeResourcesController#test_connection as */*
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"2c4dJg8CXjGPQ85uXkGxKV1g0VqAWx6uo8cG3u9j8/0=", "compute_resource"=>{"name"=>"OS2", "provider"=>"Openstack", "description"=>"a", "url"=>"http://os1-public.osop.rhcloud.com:5000/v2.0", "user"=>"aperotti", "password"=>"[FILTERED]", "location_ids"=>["", "4"], "organization_ids"=>["", "3"]}, "cr_id"=>"null"}
CR_ID IS null
String does not start with the prefix 'encrypted-', so Foreman::Model::Openstack OS2 was not decrypted
String does not start with the prefix 'encrypted-', so Foreman::Model::Openstack OS2 was not decrypted
String does not start with the prefix 'encrypted-', so Foreman::Model::Openstack OS2 was not decrypted
String does not start with the prefix 'encrypted-', so Foreman::Model::Openstack OS2 was not decrypted
String does not start with the prefix 'encrypted-', so Foreman::Model::Openstack OS2 was not decrypted
  Rendered compute_resources/form/_openstack.html.erb (10.1ms)
  Rendered taxonomies/_loc_org_tabs.html.erb (8.8ms)
  Rendered compute_resources/_form.html.erb (30.9ms)
Completed 200 OK in 265ms (Views: 31.5ms | ActiveRecord: 11.8ms)
Version-Release number of selected component (if applicable):


Actual results:
I'm unable to add OpenStack compute resource

Expected results:
To be able to do add that

Comment 1 RHEL Program Management 2014-09-20 09:33:02 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2014-09-22 06:55:54 UTC

*** This bug has been marked as a duplicate of bug 1136991 ***


Note You need to log in before you can comment on or make changes to this bug.