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

RPM issues - workaround in place #1

Open
asamalik opened this issue Sep 19, 2017 · 0 comments
Open

RPM issues - workaround in place #1

asamalik opened this issue Sep 19, 2017 · 0 comments

Comments

@asamalik
Copy link
Contributor

0b50d59 contains a workaround of an rpm issue:

2017-09-19 11:54:43,622 DEBUG pylorax.ltmpl: running command: ('chroot', '/var/tmp/lorax.57gx60vw/installtree', '/usr/bin/rpm', '-qa', '--pipe', 'tee /root/lorax-packages.log')
2017-09-19 11:54:43,631 ERROR pylorax.ltmpl: command output:
error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db5 -  (-30969)
error: cannot open Packages database in /var/lib/rpm
error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db5 -  (-30969)
error: cannot open Packages database in /var/lib/rpm

2017-09-19 11:54:43,631 ERROR pylorax.ltmpl: command returned failure (1)
2017-09-19 11:54:43,632 ERROR pylorax.ltmpl: template command error in runtime-postinstall.tmpl:
2017-09-19 11:54:43,632 ERROR pylorax.ltmpl:   runcmd chroot /var/tmp/lorax.57gx60vw/installtree /usr/bin/rpm -qa --pipe tee /root/lorax-packages.log
2017-09-19 11:54:43,634 ERROR pylorax.ltmpl:   subprocess.CalledProcessError: Command '['chroot', '/var/tmp/lorax.57gx60vw/installtree', '/usr/bin/rpm', '-qa', '--pipe', 'tee /root/lorax-packages.log']' returned non-zero exit status 1.
2017-09-19 11:54:43,634 DEBUG pylorax.ltmpl:   Traceback (most recent call last):
2017-09-19 11:54:43,634 DEBUG pylorax.ltmpl:     File "/usr/lib/python3.6/site-packages/pylorax/ltmpl.py", line 515, in runcmd
2017-09-19 11:54:43,634 DEBUG pylorax.ltmpl:       stdout = runcmd_output(cmd)
2017-09-19 11:54:43,634 DEBUG pylorax.ltmpl:     File "/usr/lib/python3.6/site-packages/pylorax/executils.py", line 347, in runcmd_output
2017-09-19 11:54:43,634 DEBUG pylorax.ltmpl:       return execWithCapture(cmd[0], cmd[1:], **kwargs)
2017-09-19 11:54:43,634 DEBUG pylorax.ltmpl:     File "/usr/lib/python3.6/site-packages/pylorax/executils.py", line 249, in execWithCapture
2017-09-19 11:54:43,635 DEBUG pylorax.ltmpl:       reset_handlers=reset_handlers, reset_lang=reset_lang)[1]
2017-09-19 11:54:43,635 DEBUG pylorax.ltmpl:     File "/usr/lib/python3.6/site-packages/pylorax/executils.py", line 201, in _run_program
2017-09-19 11:54:43,635 DEBUG pylorax.ltmpl:       raise subprocess.CalledProcessError(proc.returncode, argv, output)
2017-09-19 11:54:43,635 DEBUG pylorax.ltmpl:   subprocess.CalledProcessError: Command '['chroot', '/var/tmp/lorax.57gx60vw/installtree', '/usr/bin/rpm', '-qa', '--pipe', 'tee /root/lorax-packages.log']' returned non-zero exit status 1.
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

1 participant