TripleO: Error in baremetal installation (permission denied) [closed]

asked 2014-09-24 01:29:10 -0500

peeyush gravatar image

updated 2014-09-26 15:07:26 -0500

smaffulli gravatar image

Hi all,

I have been trying to set up TripleO using RDO instack. I tried it in virtual environment and it works fine. Now, I am trying on physical environment. I installed Fedora 20 on a machine and set up the user stack. Now, when I run 'instack-install-undercloud-packages', I am getting the following error:

+ output 'Running /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo'
++ date
+ echo dib-run-parts Tue Sep 23 13:00:52 IST 2014 Running 
/tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo
dib-run-parts Tue Sep 23 13:00:52 IST 2014 Running 
/tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo
+ target_tag=00-allow-heat-admin-sudo
+ date +%s.%N
+ /tmp/tmpzgbZSQ/pre-install.d/00-allow-heat-admin-sudo
/etc/sudoers.d/x2goserver: bad permissions, should be mode 0440
/etc/sudoers: parsed OK
/etc/sudoers.d/50_stack_sh: parsed OK
/etc/sudoers.d/cinder-rootwrap: parsed OK
/etc/sudoers.d/heat-admin-notty: parsed OK
/etc/sudoers.d/nova-rootwrap: parsed OK
/etc/sudoers.d/stack: parsed OK
INFO: 2014-09-23 13:00:52,440 -- ############### End stdout/stderr 
logging ###############
ERROR: 2014-09-23 13:00:52,441 --     Hook FAILED.
ERROR: 2014-09-23 13:00:52,441 -- Failed running command 
['dib-run-parts', u'/tmp/tmpzgbZSQ/pre-install.d']

Then I ran ' dib-run-parts /tmp/tmpNMJP7_/pre-install.d' command and here is the error I got:

+ source /tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests
++ set -eu
++ export DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests
++ DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests
/tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests: line 20: 
IMAGE_NAME: unbound variable

So, as I understand there is no IMAGE_NAME set in the system. So, I put fedora-20-undercloud-package as IMAGE_NAME. I am not sure if that is correct or not. Now, I ran the command again (the dib one) and here is the error:

+ source /tmp/tmpNMJP7_/pre-install.d/../environment.d/15-manifests
++ set -eu
++ export DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests
++ DIB_MANIFEST_IMAGE_DIR=/etc/dib-manifests
++ export DIB_MANIFEST_SAVE_DIR=fedora-20-undercloud-packages.d/
++ DIB_MANIFEST_SAVE_DIR=fedora-20-undercloud-packages.d/
+ for target in '$targets'
+ output 'Running /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo'
++ date
+ echo dib-run-parts Tue Sep 23 13:04:16 IST 2014 Running 
/tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo
dib-run-parts Tue Sep 23 13:04:16 IST 2014 Running 
/tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo
+ target_tag=00-allow-heat-admin-sudo
+ date +%s.%N
+ /tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo
/tmp/tmpNMJP7_/pre-install.d/00-allow-heat-admin-sudo: line 6: 
/etc/sudoers.d/heat-admin-notty: Permission denied

Can you please help me resolve the error?

Thanks,

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-02-29 12:52:33.471591

Comments

As this is a very old post, I wonder if you're still experiencing this problem, or if the more recent versions of TripleO resolve this for you?

rbowen gravatar imagerbowen ( 2016-02-03 05:09:31 -0500 )edit