Comment 4 for bug 1806387

Revision history for this message
Noel McLoughlin (noelmcloughlin) wrote :

Right now it sucks devstack has hard dependency on OS vendor-unsupported pip2.7 binary.
Running these commands on production systems is sickening from quality/security perspective.

    $ wget https://bootstrap.pypa.io/get-pip.py
    $ sudo python2.7 get-pip.py

----
2019-08-05 18:26:44.779 | [ERROR] /opt/stack/inc/python:37 Unable to find pip2.7; cannot continue
2019-08-05 18:26:45.787 | ++^[[38;5;242mstack.sh:main:766 ^[(B^[[m err_trap
2019-08-05 18:26:45.792 | ++^[[38;5;242mstack.sh:err_trap:562 ^[(B^[[m local r=1
2019-08-05 18:26:45.797 | stack.sh failed: full log in /tmp/devstack/stack.sh.log.2019-08-05-112633
2019-08-05 18:26:45.798 | Error on exit
2019-08-05 18:26:45.871 | Traceback (most recent call last):
2019-08-05 18:26:45.871 | File "/opt/stack/tools/worlddump.py", line 253, in <module>
2019-08-05 18:26:45.871 | sys.exit(main())
2019-08-05 18:26:45.871 | File "/opt/stack/tools/worlddump.py", line 237, in main
2019-08-05 18:26:45.871 | sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
2019-08-05 18:26:45.871 | File "/usr/lib/python3.6/os.py", line 1017, in fdopen
2019-08-05 18:26:45.871 | return io.open(fd, *args, **kwargs)
2019-08-05 18:26:45.871 | ValueError: can't have unbuffered text I/O
2019-08-05 18:26:45.871 | Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
2019-08-05 18:26:45.871 | OSError: [Errno 9] Bad file descriptor
---

This ticket can be closed if devstack project believes this is okay. I don't!