Project

General

Profile

Actions

Bug #37301

closed

Can't compile Ceph on Fedora 29 as it doesn't recognize python*3*-tox as an install Tox

Added by Yaniv Kaul over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
mimic
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

./install-deps.sh fails, as it can't find python-tox.
On F29, there's no Python 2 tox and Python 3 tox is installed:
[ykaul@ykaul ceph]$ sudo dnf install python3-tox -y
Last metadata expiration check: 0:08:20 ago on Sun 18 Nov 2018 09:33:56 AM IST.
Package python3-tox-3.0.0-4.fc29.noarch is already installed.
Dependencies resolved.
Nothing to do.


Related issues 2 (0 open2 closed)

Related to devops - Bug #37330: cmake complains of OpenSSL mismatch on Fedora 29ResolvedNathan Cutler

Actions
Copied to Ceph - Backport #37422: mimic: Can't compile Ceph on Fedora 29 as it doesn't recognize python*3*-tox as an install ToxResolvedNathan CutlerActions
Actions #1

Updated by Nathan Cutler over 5 years ago

Which version of Ceph are you trying to compile?

Actions #2

Updated by Yaniv Kaul over 5 years ago

I'm trying master, commit 38ac1c4aa92a766df5327e96a87e6ea7002be5c2

Actions #3

Updated by Brad Hubbard over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Brad Hubbard
Actions #4

Updated by Brad Hubbard over 5 years ago

  • Backport set to mimic
Actions #5

Updated by Nathan Cutler over 5 years ago

@Yaniv Kaul, you wrote that "On F29, there's no Python 2 tox". Yet you have Python 2 installed on the system, correct? What does the following command show?

# type python2

Can you uninstall Python 2 and try it again?

Actions #6

Updated by Yaniv Kaul over 5 years ago

[ykaul@ykaul cockpit-gluster]$ type python2
python2 is /usr/bin/python2

I prefer not to install Python 2 - I believe it's being used by some apps.
Note that via different bug (on OpenSSL version mismatch I've also seen on F29), I did make some progress and with a bit of help manage to begin compiling. But it failed - I've opened https://tracker.ceph.com/issues/37336 on it.

Actions #7

Updated by Brad Hubbard over 5 years ago

$ dnf search python 2>&1|grep tox                                                                                                                                   
python3-tox.noarch : Virtualenv-based automation of test activities
python3-tox.noarch : Virtualenv-based automation of test activities
python3-detox.noarch : Distributing activities of the tox tool
Actions #8

Updated by Nathan Cutler over 5 years ago

@Yaniv, @Brad: how's this for a fix? https://github.com/ceph/ceph/pull/25181

Actions #9

Updated by Nathan Cutler over 5 years ago

  • Has duplicate Bug #37330: cmake complains of OpenSSL mismatch on Fedora 29 added
Actions #10

Updated by Brad Hubbard over 5 years ago

Looks good Nathan, added my review.

Actions #11

Updated by Nathan Cutler over 5 years ago

  • Has duplicate deleted (Bug #37330: cmake complains of OpenSSL mismatch on Fedora 29)
Actions #12

Updated by Nathan Cutler over 5 years ago

  • Related to Bug #37330: cmake complains of OpenSSL mismatch on Fedora 29 added
Actions #13

Updated by Nathan Cutler over 5 years ago

  • Status changed from In Progress to Pending Backport
Actions #14

Updated by Yaniv Kaul over 5 years ago

Works well on master now, thanks!

Actions #15

Updated by Nathan Cutler over 5 years ago

Yaniv Kaul wrote:

Works well on master now, thanks!

Your feedback is appreciated - thank you.

Actions #16

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #37422: mimic: Can't compile Ceph on Fedora 29 as it doesn't recognize python*3*-tox as an install Tox added
Actions #17

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF