Bug 1172174 - Permissions denied on creation of several directories while running rhel-osp-installer setup.
Summary: Permissions denied on creation of several directories while running rhel-osp-...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: foreman-installer
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: Installer
Assignee: Mike Burns
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks: 1177026
TreeView+ depends on / blocked
 
Reported: 2014-12-09 14:12 UTC by Leonid Natapov
Modified: 2015-04-30 16:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-30 16:15:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Leonid Natapov 2014-12-09 14:12:20 UTC
Permissions denied on creation of several directories while running rhel-osp-installer setup.
------------------------
Get the following errors:
mkdir: cannot create directory '/usr/share/foreman/.cache': Permission denied
mkdir: cannot create directory '/usr/share/foreman/.cache/abrt': Permission denied
------------------------
1. Proceed with the above values
2. Change SSH public key
3. Change Root password
4. Toggle Root password visibility
1
Starting networking setup
Networking setup has finished
Installing             Done                                               [100%] [.........................................................................................................................................................]
Starting configuration...
Redirecting to /bin/systemctl stop  puppet.service
Redirecting to /bin/systemctl start  puppet.service
mkdir: cannot create directory '/usr/share/foreman/.cache': Permission denied

Now you should configure installation media which will be used for provisioning.
Note that if you don't configure it properly, host provisioning won't work until you configure installation media manually.

Enter RHEL repo path:
1. Set RHEL repo path (http or https URL): http://
2. Proceed with configuration
3. Skip this step (provisioning won't work)
1
Path:  http://download.eng.tlv.redhat.com/pub/rhel/released/RHEL-7/7.0/Server/x86_64/os/

Enter RHEL repo path:
1. Set RHEL repo path (http or https URL): http://download.eng.tlv.redhat.com/pub/rhel/released/RHEL-7/7.0/Server/x86_64/os/
2. Proceed with configuration
3. Skip this step (provisioning won't work)
2

Enter your subscription manager credentials:
1. Subscription manager username:        
2. Subscription manager password:        
3. Comma separated repositories:         rhel-7-server-openstack-6.0-rpms
4. Subscription manager pool (recommended): 
5. Subscription manager proxy hostname:  
6. Subscription manager proxy port:      
7. Subscription manager proxy username:  
8. Subscription manager proxy password:  
9. Proceed with configuration
10. Skip this step (provisioning won't subscribe your machines)
10
Starting to seed provisioning data
Use 'base_RedHat_7' hostgroup for provisioning
mkdir: cannot create directory '/usr/share/foreman/.cache/abrt': Permission denied
mkdir: cannot create directory '/usr/share/foreman/.cache/abrt': Permission denied
  Success!
  * Foreman is running at https://staypuft.example.com
      Initial credentials are admin / zrCsEr94Ff8LDKKd
  * Foreman Proxy is running at https://staypuft.example.com:8443
  * Puppetmaster is running at port 8140
  The full log is at /var/log/rhel-osp-installer/rhel-osp-installer.log


-------------
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
rhel-osp-installer-client-0.5.1-1.el7ost.noarch
rhel-osp-installer-0.5.1-1.el7ost.noarch
openstack-puppet-modules-2014.2.6-1.el7ost.noarch
openstack-foreman-installer-3.0.5-1.el7ost.noarch

Comment 1 Alexander Chuzhoy 2014-12-09 22:25:01 UTC
Didn't reproduce on my setup, using the answer file:
My env:
openstack-puppet-modules-2014.2.6-1.el7ost.noarch
rhel-osp-installer-0.5.2-1.el7ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
rhel-osp-installer-client-0.5.2-1.el7ost.noarch
openstack-foreman-installer-3.0.5-1.el7ost.noarch
ruby193-rubygem-staypuft-0.5.3-1.el7ost.noarch

Comment 3 Leonid Natapov 2015-01-19 08:53:56 UTC
Reproduce on latest poodle.

openstack-puppet-modules-2014.2.8-1.el7ost.noarch
rhel-osp-installer-client-0.5.5-2.el7ost.noarch
openstack-foreman-installer-3.0.10-2.el7ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch
rhel-osp-installer-0.5.5-2.el7ost.noarch

Comment 4 Mike Burns 2015-01-19 13:00:11 UTC
This is, at worst, a release note.  The permission denied errors are spurious and don't impact anything.

Comment 5 Alexander Chuzhoy 2015-01-29 22:41:48 UTC
Reproduced with scratch LiveCD build.
Environment:
openstack-foreman-installer-3.0.13-1.el7ost.noarch
rhel-osp-installer-0.5.5-2.el7ost.noarch
rhel-osp-installer-client-0.5.5-2.el7ost.noarch
openstack-puppet-modules-2014.2.8-2.el7ost.noarch
ruby193-rubygem-staypuft-0.5.15-1.el7ost.noarch
ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch

Comment 6 Mike Burns 2015-04-30 16:15:38 UTC
this has no negative consequences and is very intermittent.


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