-
Notifications
You must be signed in to change notification settings - Fork 49
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
Develop a lazy reposync service #206
Comments
Hi @agraul, I'm Bryan Elee. I believe you're mentoring this project. I would like to know if there are any tests or issues that need to be addressed before someone can start working on this project, aside from the "Get Started" instructions. |
Getting a development Uyuni server is a must as you will need it later to test your work and experiment. Other than that we would like to see some code of yours with the application. This can be a fix for a simple issue like those listed in https://github.com/uyuni-project/uyuni/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 but if you feel like getting started with a prototype for your project that is fine too. |
Note that we are moving the server to a big container: I just documented how to setup sumaform for this in uyuni-project/sumaform#1518 This is the recommended way to go. |
@cbosdo, I've tried to create a storage pool this way: $ mkdir -p /uyuni/pools/default
$ virsh pool-define-as --name default --type dir --target /uyuni/pools/default
$ virsh pool-autostart default
$ virsh pool-start default
$ virsh pool-list However, when I run I assume there's another way of defining the storage pool for libvirt and uyuni. |
Nice catch. I just updated this link and the one for the network.
This looks good to me.
I wonder if that could be an issue with the libvirt connection. You can verify this by running |
Thanks @cbosdo, that solved the error, I appreciate it. But now I got another error, after running module.base.module.base_backend.libvirt_volume.volumes["opensuse155o"]: Creating...
module.base.module.base_backend.libvirt_volume.volumes["opensuse155o"]: Still creating... [10s elapsed]
module.base.module.base_backend.libvirt_volume.volumes["opensuse155o"]: Still creating... [20s elapsed]
module.base.module.base_backend.libvirt_volume.volumes["opensuse155o"]: Still creating... [30s elapsed]
... and then received this error message:
I appreciate your help. |
These are indicating the image is being downloaded, so they are good.
Could that be a permission issue on the pool folder? Here are the permissions I have on my pool: <target>
<path>/public/vms</path>
<permissions>
<mode>0755</mode>
<owner>1000</owner>
<group>100</group>
</permissions>
</target> Debugging this would probably be easier on gitter. |
This is more a gut feeling or rule of thumb than anything quantifiable. A solid and researched application is always the key. But the quality of the contributions and the communications surrounding them will be modifiers for us. No application is a no-go since it breaks rules, and we clearly prefer one nice contribution with good team work rather than a dozen of poor quality ones. |
Project Title:
Develop a lazy reposync service
Description:
Uyuni is an open source systems management solution that can be used to manage various Linux distributions using a powerful web UI and API.
Uyuni uses a component,
reposync
, to mirror linux package repositories for deb and rpm packages.reposync
in its current form first downloads all packages, stores them in the filesystem, extracts metadata (e.g. name, version, dependencies, etc.) from packages, and then populates the database with the extracted data.This project idea is to create a new, lazy,
reposync
. Instead of downloading all packages first and using them as the metadata-source, the newreposync
uses the repository metadata (Packages
for deb,primary.xml
for rpm) to populate the database. At a later time, the actual mirroring/downloading of the packages takes place.Deliverable:
There are two parts to this project. It would also be possible to only do the first part for now.
Mentor:
@agraul, @cbosdo
Skills:
postgresql
database to store its dataSkill Level:
Project Size:
Get started:
The text was updated successfully, but these errors were encountered: