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

getting below error while running vagrant up #22

Open
esmacan opened this issue Sep 5, 2024 · 1 comment
Open

getting below error while running vagrant up #22

esmacan opened this issue Sep 5, 2024 · 1 comment

Comments

@esmacan
Copy link

esmacan commented Sep 5, 2024

TASK [apt : update apt cache] **************************************************
ok: [openstack-aio]

TASK [ceph_monitor : install ceph packages] ************************************
fatal: [openstack-aio]: FAILED! => {"cache_update_time": 1725520517, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'ceph=19.2.0git20240301.4c76c50-0ubuntu6.1cloud0'' failed: E: Unable to correct problems, you have held broken packages.\n", "rc": 100, "stderr": "E: Unable to correct problems, you have held broken packages.\n", "stderr_lines": ["E: Unable to correct problems, you have held broken packages."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n ceph : Depends: ceph-mgr (= 19.2.0git20240301.4c76c50-0ubuntu6.1cloud0) but it is not going to be installed\n Depends: ceph-mon (= 19.2.0git20240301.4c76c50-0ubuntu6.1cloud0) but it is not going to be installed\n Depends: ceph-osd (= 19.2.0git20240301.4c76c50-0ubuntu6.1cloud0) but it is not going to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Some packages could not be installed. This may mean that you have", "requested an impossible situation or if you are using the unstable", "distribution that some required packages have not yet been created", "or been moved out of Incoming.", "The following information may help to resolve the situation:", "", "The following packages have unmet dependencies:", " ceph : Depends: ceph-mgr (= 19.2.0git20240301.4c76c50-0ubuntu6.1cloud0) but it is not going to be installed", " Depends: ceph-mon (= 19.2.0git20240301.4c76c50-0ubuntu6.1cloud0) but it is not going to be installed", " Depends: ceph-osd (= 19.2.0git20240301.4c76c50-0ubuntu6.1cloud0) but it is not going to be installed"]}

@gyurco
Copy link
Collaborator

gyurco commented Sep 7, 2024

It was a long time ago I tried Vagrant. I did some updates, however Ceph seems to abandon path-based OSDs, so need a separate disk in Virtualbox for the ceph-osd. However adding disks is an experimental feautre in Vagrant, so one has to start it with:

VAGRANT_EXPERIMENTAL=disks vagrant up

and it might work or not...

Pushed the change to caracal branch anyway, feel free to try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants