openstack icon indicating copy to clipboard operation
openstack copied to clipboard

getting below error while running vagrant up

Open esmacan opened this issue 1 year ago • 1 comments

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.0~git20240301.4c76c50-0ubuntu6.1~cloud0'' 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.0~git20240301.4c76c50-0ubuntu6.1~cloud0) but it is not going to be installed\n Depends: ceph-mon (= 19.2.0~git20240301.4c76c50-0ubuntu6.1~cloud0) but it is not going to be installed\n Depends: ceph-osd (= 19.2.0~git20240301.4c76c50-0ubuntu6.1~cloud0) 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.0~git20240301.4c76c50-0ubuntu6.1~cloud0) but it is not going to be installed", " Depends: ceph-mon (= 19.2.0~git20240301.4c76c50-0ubuntu6.1~cloud0) but it is not going to be installed", " Depends: ceph-osd (= 19.2.0~git20240301.4c76c50-0ubuntu6.1~cloud0) but it is not going to be installed"]}

esmacan avatar Sep 05 '24 07:09 esmacan

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.

gyurco avatar Sep 07 '24 13:09 gyurco