Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "cloudstorage" dependency #1186

Open
Crenshinibon opened this issue Mar 3, 2023 · 0 comments
Open

Replace "cloudstorage" dependency #1186

Crenshinibon opened this issue Mar 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Crenshinibon
Copy link

Crenshinibon commented Mar 3, 2023

Describe the bug

Currently curiefense/confserver as well as curiefense/curiesync use "cloudstorage" package under the hood to pull from and push to S3-conforming buckets.

This library has some issues with none-mainstream S3 backends. We are using (for example) the OBS backend from Open Telekom Cloud (which is basically an extension of Huawei-Cloud/OpenStack). To make curiefense work in our environment, we had to patch the confserver and curiesync images with a patched "cloudstorage" version.

Now that underlying OS dependencies (we haven't investigated all the details) lead to failing builds of "cloudstorage" we are stuck with the old version.

Please consider to replace the library with something more robust. It is outdated und unmaintained. Currently the build fails.

To Reproduce
Steps to reproduce the behavior:

Building the confserver image as of version v1.5.0 with a patched "cloudstorage" leads to:

`Step 7/14 : RUN cd /cloudstorage ; pip3 install --no-cache-dir .
---> Running in 02504d19c7ab
Processing /cloudstorage
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in cloudstorage setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.4; however, version 23.0 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
The command '/bin/sh -c cd /cloudstorage ; pip3 install --no-cache-dir .' returned a non-zero code: 1
`

Desktop (please complete the following information):
Kubernetes v1.23

Additional context

@Crenshinibon Crenshinibon added the bug Something isn't working label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant