DevStack should install python if it is not already installed

Bug #1488625 reported by Sean M. Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Attila Fazekas
Revision history for this message
Sean M. Collins (scollins) wrote :

Fresh Ubuntu 14.04 installation, built from a PXE boot and kickstart file. It's a super-minimal install, so most likely there is a dependency that is missing, but there's no way to diagnose

description: updated
summary: - Install prereqs fails with no useful error
+ Sudoers file got clobbered
Changed in devstack:
assignee: nobody → Sean M. Collins (scollins)
Revision history for this message
Sean M. Collins (scollins) wrote : Re: Sudoers file got clobbered

Looks like the Sudoers file that DevStack tries to install was borked - and it hosed the whole system - unable to sudo afterwards - meaning I can't remove the offending sudoers file. Time to reprovision via PXE and kickstart.

Revision history for this message
Sean M. Collins (scollins) wrote :

Found the issue:

+ uname -a
/usr/bin/env: python: No such file or directory
+ SSL_BUNDLE_FILE=/opt/stack/data/ca-bundle.pem
+ rm -f /opt/stack/data/ca-bundle.pem
+ source /home/stack/devstack/lib/database
+++ set +o
+++ grep xtrace
++ XTRACE='set -o xtrace'
++ set +o xtrace
+ source /home/stack/devstack/lib/rpc_backend

Changed in devstack:
status: New → Incomplete
summary: - Sudoers file got clobbered
+ DevStack should install python if it is not already installed
Changed in devstack:
status: Incomplete → New
Changed in devstack:
assignee: Sean M. Collins (scollins) → Attila Fazekas (afazekas)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/241933
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=adcf40d5f8ec0509fe9230e04bf0bd3f269a3f53
Submitter: Jenkins
Branch: master

commit adcf40d5f8ec0509fe9230e04bf0bd3f269a3f53
Author: Attila Fazekas <email address hidden>
Date: Thu Nov 5 09:47:38 2015 +0100

    Ensure python is installed

    devstack can call python before parsing the
    package requirements, so the python installation
    needs to be done eralier.

    Closes-Bug: #1488625
    Change-Id: I85cca899aeedd741cf7dc695435d61390e260f22

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.