Bug 1144737

Summary: Unable to add OpenStack Compute Resource: Permission denied - connect(2) (Errno::EACCES)
Product: Red Hat Satellite Reporter: Andrea Perotti <aperotti>
Component: ProvisioningAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: dcleal
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-22 06:55:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***