"visudo" always got error when building overcloud image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi, All:
I'm trying to build an CentOS Overcloud image on Ubuntu.
But I always got error below:
sudo: /etc/sudoers.
I'm using the command below, I appreciate it for any help:
#!/bin/bash
source ~/tripleo/tripleorc
NODE_DIST="centos7"
echo $NODE_DIST
NODE_ARCH="amd64"
echo $NODE_ARCH
DIB_COMMON_
OVERCLOUD_
#OVERCLOUD_
OVERCLOUD_
SSL_ELEMENT=
#$TRIPLEO_
~/tripleo/
-a $NODE_ARCH -o $TRIPLEO_
baremetal boot-stack cinder-api ceilometer-
ceilometer-api ceilometer-
os-
swift-proxy swift-storage keepalived haproxy local-config \
$DIB_
tee $TRIPLEO_
#neutron-
Tried to reproduce it without success.
Looking at the code in
http:// git.openstack. org/cgit/ openstack/ diskimage- builder/ tree/elements/ rpm-distro/ pre-install. d/00-allow- heat-admin- sudo#n6
it sets the correct permissions just before calling visudo :?