Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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