Project

General

Profile

Bug #37301

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

Added by Yaniv Kaul 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build
Target version:
-
Start date:
11/18/2018
Due date:
% Done:

0%

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

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

Related to devops - Bug #37330: cmake complains of OpenSSL mismatch on Fedora 29 Pending Backport 11/19/2018
Copied to Ceph - Backport #37422: mimic: Can't compile Ceph on Fedora 29 as it doesn't recognize python*3*-tox as an install Tox Resolved

History

#1 Updated by Nathan Cutler 4 months ago

Which version of Ceph are you trying to compile?

#2 Updated by Yaniv Kaul 4 months ago

I'm trying master, commit 38ac1c4aa92a766df5327e96a87e6ea7002be5c2

#3 Updated by Brad Hubbard 4 months ago

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

#4 Updated by Brad Hubbard 4 months ago

  • Backport set to mimic

#5 Updated by Nathan Cutler 4 months 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?

#6 Updated by Yaniv Kaul 4 months 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.

#7 Updated by Brad Hubbard 4 months 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

#8 Updated by Nathan Cutler 4 months ago

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

#9 Updated by Nathan Cutler 4 months ago

  • Duplicated by Bug #37330: cmake complains of OpenSSL mismatch on Fedora 29 added

#10 Updated by Brad Hubbard 4 months ago

Looks good Nathan, added my review.

#11 Updated by Nathan Cutler 4 months ago

  • Duplicated by deleted (Bug #37330: cmake complains of OpenSSL mismatch on Fedora 29)

#12 Updated by Nathan Cutler 4 months ago

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

#13 Updated by Nathan Cutler 4 months ago

  • Status changed from In Progress to Pending Backport

#14 Updated by Yaniv Kaul 4 months ago

Works well on master now, thanks!

#15 Updated by Nathan Cutler 4 months ago

Yaniv Kaul wrote:

Works well on master now, thanks!

Your feedback is appreciated - thank you.

#16 Updated by Nathan Cutler 4 months 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

#17 Updated by Nathan Cutler 4 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF