Mailinglist Archive: opensuse-buildservice (77 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: OBS Appliance - Unable to Update
  • From: Khalil Graves <elproducto1@xxxxxxxxx>
  • Date: Mon, 15 Apr 2019 04:50:21 -0400
  • Message-id: <CADS15WpP+T=S5aXR=gyXNTtGJ8=1JUzbV2+YsL6xraGr6g6Wbg@mail.gmail.com>
This issue does not seems to be related to my install. I have expanded
the OBS LV & VG, also slightly expanded root partition. The error
"ERROR: Not enough space for worker root LVs" is still visible at boot
and in journalctl.

I have provided a link below to an issue posted on the OBS github site
that seems to be the culprit. I have provided more detail and output
for journatctl command on the github site. I took and additional
troubleshooting step, and created a new OBS server with latest 2.9.6
appliance ISO, which boots up error free initially. Once I create the
OBS LVM per instruction from the page linked below, and then reboot
the appliance, the error referenced earlier returns. It also seem this
is causing issue with uploading files, as various error are showing up
when uploading tarballs to the OBS server.


https://github.com/openSUSE/open-build-service/issues/5904
https://openbuildservice.org/help/manuals/obs-best-practices/cha.obs.best-practices.localsetup.html

Upload Error
Error while creating 'package.tar.gz' file: Failed to establish
connection for
http://localhost:5352/source/home:elproducto/package/package.tar.gz?user=elproducto:
.

On Mon, Jan 7, 2019 at 5:58 PM Khalil Graves <elproducto1@xxxxxxxxx> wrote:

Thanks that was helpful. Look like I will need to expand the root LV,
weird it looks like it is -, not sure how that is possible.

HOST-9e7b8e:~ # journalctl -b -u obsstoragesetup
-- Logs begin at Mon 2019-01-07 22:50:57 UTC, end at Mon 2019-01-07
22:52:01 UTC. --
Jan 07 22:51:16 HOST-9e7b8e systemd[1]: Starting LSB: Finds the
storage device to be used for OBS server and/or worker...
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: Remove all LVM
cache and worker partitions in VG OBS.
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: 1 logical
volume(s) in volume group "OBS" now active
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: Looking for
existing OBS Server LVM Volume
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: Found BSConfig.pm
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: Directory
'/srv/obs/run' exists
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: owner of
'/srv/obs/run' is obsrun
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: Owner of
'/srv/obs/run' is 'obsrun'. Nothing to fix!
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: ERROR: Not enough
space for worker root LVs, just -26626 MB, but at least 4 GB needed.
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: NUM=2
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: VG_SIZE=12284
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: PE_SIZE=4096
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: PE_SIZE_IN_MB=4
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: OBS_SERVER_SIZE=38912
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: TOTAL_SWAP_SIZE=1024
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: FINAL_VG_SIZE =
12284 - 38912 - 25600 - 1024
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: FINAL_VG_SIZE=-53252
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: OBS_WORKER_ROOT_SIZE=-26626
Jan 07 22:51:16 HOST-9e7b8e obsstoragesetup[1585]: MIN_WORKER_ROOT_SIZE=4096
Jan 07 22:51:16 HOST-9e7b8e systemd[1]: obsstoragesetup.service:
Control process exited, code=exited status=1
Jan 07 22:51:16 HOST-9e7b8e systemd[1]: Failed to start LSB: Finds the
storage device to be used for OBS server and/or worker.
Jan 07 22:51:16 HOST-9e7b8e systemd[1]: obsstoragesetup.service: Unit
entered failed state.
Jan 07 22:51:16 HOST-9e7b8e systemd[1]: obsstoragesetup.service:
Failed with result 'exit-code'.

On Mon, Jan 7, 2019 at 5:41 PM Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:

On Jan 07 2019, Khalil Graves <elproducto1@xxxxxxxxx> wrote:

HOST-9e7b8e:~ # systemctl status obsstoragesetup.service -l
‚óŹ obsstoragesetup.service - LSB: Finds the storage device to be used
for OBS server and/or worker
Loaded: loaded (/etc/init.d/obsstoragesetup; bad; vendor preset:
disabled)
Active: failed (Result: exit-code) since Mon 2019-01-07 19:51:11
UTC; 27min ago
Docs: man:systemd-sysv-generator(8)

Jan 07 19:51:11 HOST-9e7b8e systemd[1]: obsstoragesetup.service:
Control process exited, code=exited status=1
Jan 07 19:51:11 HOST-9e7b8e systemd[1]: Failed to start LSB: Finds the
storage device to be used for OBS server and/or worker.
Jan 07 19:51:11 HOST-9e7b8e obsstoragesetup[1582]: OBS_SERVER_SIZE=38912
Jan 07 19:51:11 HOST-9e7b8e obsstoragesetup[1582]: TOTAL_SWAP_SIZE=1024
Jan 07 19:51:11 HOST-9e7b8e obsstoragesetup[1582]: FINAL_VG_SIZE =
12284 - 38912 - 25600 - 1024
Jan 07 19:51:11 HOST-9e7b8e obsstoragesetup[1582]: FINAL_VG_SIZE=-53252
Jan 07 19:51:11 HOST-9e7b8e obsstoragesetup[1582]:
OBS_WORKER_ROOT_SIZE=-26626
Jan 07 19:51:11 HOST-9e7b8e obsstoragesetup[1582]:
MIN_WORKER_ROOT_SIZE=4096

Use `journalctl -b -u obsstoragesetup' to display the full log.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages