thoth-station / support

ℹ Any Thoth related support questions
https://thoth-station.ninja/
0 stars 4 forks source link

Include package osc-ingest-tools in recommendations #220

Closed fridex closed 2 years ago

fridex commented 2 years ago

Package name

osc-ingest-tools

Python package index URL

https://pypi.org/simple

Reason

See https://github.com/thoth-station/core/issues/401#issuecomment-1133034316

codificat commented 2 years ago

/sig stack-guidance /priority important-soon

goern commented 2 years ago

/assign @mayaCostantini

goern commented 2 years ago

/kind feature /triage accepted

codificat commented 2 years ago

prow should be back now: /kind feature /triage accepted /assign

codificat commented 2 years ago

The package is now known to the database:

$ http 'https://khemenu.thoth-station.ninja/api/v1/python/package/version/environments?name=osc-ingest-tools&version=0.3.4&index=https%3A%2F%2Fpypi.org%2Fsimple'
HTTP/1.1 200 OK
access-control-allow-origin: *
cache-control: private
content-length: 313
content-type: application/json
date: Tue, 07 Jun 2022 20:52:21 GMT
server: gunicorn
set-cookie: 99770cb82864be05282857f803e02327=dc3a560c7c01a697dac473a08753a6f6; path=/; HttpOnly; Secure; SameSite=None
x-thoth-search-ui-url: https://thoth-station.ninja/search/
x-thoth-version: 0.35.2
x-user-api-service-version: 0.35.2+messaging.0.16.1.storages.0.72.1.common.0.36.2.python.0.16.10

{
    "environments": [
        {
            "os_name": "fedora",
            "os_version": "34",
            "python_version": "3.9"
        },
        {
            "os_name": "fedora",
            "os_version": "35",
            "python_version": "3.10"
        },
        {
            "os_name": "rhel",
            "os_version": "8",
            "python_version": "3.8"
        }
    ]
}

However, some information is still not in sync:

$ http 'https://khemenu.thoth-station.ninja/api/v1/python/package/version/metadata?name=osc-ingest-tools&version=0.3.4&index=https%3A%2F%2Fpypi.org%2Fsimple&os_name=ubi&os_version=8&python_version=3.8'
HTTP/1.1 500 INTERNAL SERVER ERROR
access-control-allow-origin: *
content-length: 403
content-type: application/json
date: Tue, 07 Jun 2022 20:51:52 GMT
server: gunicorn
set-cookie: 99770cb82864be05282857f803e02327=dc3a560c7c01a697dac473a08753a6f6; path=/; HttpOnly; Secure; SameSite=None
x-thoth-search-ui-url: https://thoth-station.ninja/search/
x-thoth-version: 0.35.2
x-user-api-service-version: 0.35.2+messaging.0.16.1.storages.0.72.1.common.0.36.2.python.0.16.10

{
    "error": "Solver document not found - solver documents are not in sync with database records, please contact administrator with the provided information: solver-rhel-8-py38-220520152941-159d145e61def2b5",
    "parameters": {
        "index": "https://pypi.org/simple",
        "name": "osc-ingest-tools",
        "os_name": "rhel",
        "os_version": "8",
        "python_version": "3.8",
        "version": "0.3.4"
    }
}
mayaCostantini commented 2 years ago

@codificat can we close this issue?

codificat commented 2 years ago

Yes, thanks - the package is known now, so let's /close

The solver document is still not available in production (see last comment), but that doesn't interfere here. The solver doc is available in stage, so if appropriate we will handle a potential sync issue separatedly.

sesheta commented 2 years ago

@codificat: Closing this issue.

In response to [this](https://github.com/thoth-station/support/issues/220#issuecomment-1161534290): >Yes, thanks - the package is known now, so let's >/close > >The solver document is still not available in production (see last comment), but that doesn't interfere here. The solver doc is available in stage, so if appropriate we will handle a potential sync issue separatedly. Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.