Build failure fixes 23/25023/1
authorFeng Pan <fpan@redhat.com>
Sun, 27 Nov 2016 17:26:32 +0000 (12:26 -0500)
committerFeng Pan <fpan@redhat.com>
Mon, 28 Nov 2016 15:43:30 +0000 (15:43 +0000)
- Remove puppet debug from overcloud image - file
  /var/lib/heat-config/hooks/puppet no longer exist in
  overcloud image.
- Revert networking-vpp to known working version until
  fix is committed upstream.

Change-Id: I9add838a60014a43774d4001ccd84ccad21a3343
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit d9232d5a77879ce381142e866cd53ed1fc46e32d)

build/Makefile
build/overcloud-full.sh

index b6efdf6..5d97d3c 100644 (file)
@@ -204,6 +204,7 @@ networking-vpp.noarch.rpm: networking-vpp
 
 networking-vpp:
        git clone https://git.openstack.org/openstack/networking-vpp
+       pushd networking-vpp && git reset --hard 343e8584e445e3dfc10975041d78df8abee1796d
 
 ###############
 #  UNDERCLOUD #
index 8ffa2b4..8ec7af6 100755 (executable)
@@ -136,7 +136,6 @@ LIBGUESTFS_BACKEND=direct virt-customize \
     --upload puppet-congress.tar.gz:/etc/puppet/modules/ \
     --run-command "cd /etc/puppet/modules/ && tar xzf puppet-congress.tar.gz" \
     --run-command "cd /usr/lib/python2.7/site-packages/congress/datasources && curl -O $doctor_driver" \
-    --run-command "sed -i \"s/'--detailed-exitcodes',/'--detailed-exitcodes','-l','syslog','-l','console',/g\" /var/lib/heat-config/hooks/puppet" \
     --run-command "yum install -y /root/fdio/*.rpm" \
     --run-command "rm -f /etc/sysctl.d/80-vpp.conf" \
     --install unzip \