]> git-server-git.apps.pok.os.sepia.ceph.com Git - ragweed.git/commit
ragweed: fix teuthology failure related to pip issue 6264
authorMark Kogan <mkogan@redhat.com>
Sun, 3 Jan 2021 13:46:03 +0000 (15:46 +0200)
committerMark Kogan <mkogan@redhat.com>
Thu, 11 Feb 2021 16:24:21 +0000 (18:24 +0200)
commit26e4c42b78a47bb0fd64b4c9cdc106dee00f1011
tree0526b7cb7a767535d1d6864f9d2103f4fed7afb7
parent2bba131e8683c89cf6dc47ba4ac566e1ec1572ce
ragweed: fix teuthology failure related to pip issue 6264

refrence of tethology error log:
```
2021-01-02T19:25:59.174 INFO:teuthology.orchestra.run.smithi181.stderr:
AttributeError: module 'setuptools.build_meta' has no attribute
'__legacy__'
2021-01-02T19:25:59.174 INFO:teuthology.orchestra.run.smithi181.stderr:
----------------------------------------
2021-01-02T19:25:59.174
INFO:teuthology.orchestra.run.smithi181.stderr:ERROR: Command errored
out with exit status 1:
/home/ubuntu/cephtest/ragweed/virtualenv/bin/python3
/home/ubuntu/cephtest/ragweed/virtualenv/lib/python3.6/site-packages/pip/
2021-01-02T19:25:59.303 DEBUG:teuthology.orchestra.run:got remote
process result: 1
```

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure related to pip issue 6264 (add sudo)

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix cffi package installation error

address the following sporadic error
```
2021-01-04T16:12:01.116
INFO:teuthology.orchestra.run.smithi065.stdout:Collecting cffi
2021-01-04T16:12:01.116 INFO:teuthology.orchestra.run.smithi065.stderr:
The repository located at apt-mirror.front.sepia.ceph.com is not a
trusted or secure host and is being ignored. If this repository is
available via HTTPS it is recommended
to use HTTPS instead, otherwise you may silence this warning and allow
it anyways with '--trusted-host apt-mirror.front.sepia.ceph.com'.
2021-01-04T16:12:01.117 INFO:teuthology.orchestra.run.smithi065.stderr:
Could not find a version that satisfies the requirement cffi (from
    versions: )
2021-01-04T16:12:01.117
INFO:teuthology.orchestra.run.smithi065.stderr:No matching distribution
found for cffi
```

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix missing ffi.h building '_cffi_backend' extension

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure - pip issue 6264, cont.

upgrade setuptools pkg before old ver used in venv creation
(b/c of --system-site-packages)

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure rel to pip issue 6264, cont.

Fixes: https://tracker.ceph.com/issues/49017
fix error on ubuntu related to missing cachecontrol module:
```
gibba028.stdout:Installing setuptools, pkg_resources, pip, wheel...
gibba028.stdout:  Complete output from command
/home/ubuntu/cephtes...rtualenv/bin/python3 - setuptools pkg_resources
pip wheel:
gibba028.stdout:  Traceback (most recent call last):
  gibba028.stdout:  File
  "/usr/share/python-wheels/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/__init__.py",
  line 33, in vendored
  gibba028.stdout:ModuleNotFoundError: No module named
  'pip._vendor.cachecontrol'
```

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure rel to pip issue 6264 cont..

Fixes: https://tracker.ceph.com/issues/49017
cont. fixing missing python module

```
ModuleNotFoundError: No module named
  'pip._vendor.cachecontrol'
```

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure rel to pip issue 6264 keep fixing

Signed-off-by: Mark Kogan <mkogan@redhat.com>
ragweed: fix teuthology failure rel to pip issue 6264 - cffi version

address cffi version mismatch between apt and old ver from local pip
mirror

Signed-off-by: Mark Kogan <mkogan@redhat.com>
bootstrap