Am I doing this wrong? [see log below] This is using the upstream
libvirt-ci checked out just now from gitlab, but it seems as if nbdkit
has to be listed as a project under that repo.
"./lcitool projects" shows libnbd but not nbdkit.
A second question, since the libvirt-ci project does a bunch of stuff
with ansible & containers, regenerating the files like this doesn't
require ansible & containers? (I don't want to run those on my
development machine.)
$ ../libvirt-ci/lcitool manifest ci/manifest.yml
Generating ci/containers/almalinux-8.Dockerfile
[ERROR]: An unexpected error occurred
Traceback (most recent call last):
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/projects.py", line 121,
in get_packages
obj = self.projects[proj]
KeyError: 'nbdkit'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rjones/d/libvirt-ci/guests/lcitool/bin/lcitool", line 36, in
<module>
Application().run(args)
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/application.py", line
392, in run
args.func(self, args)
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/application.py", line
387, in _action_manifest
manifest.generate(args.dry_run)
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/manifest.py", line 149,
in generate
generated = self._generate_containers(dryrun)
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/manifest.py", line 200,
in _generate_containers
return self._generate_formatter(dryrun,
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/manifest.py", line 191,
in _generate_formatter
payload = formatter.format(target,
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/formatters.py", line
482, in format
facts, cross_arch, varmap = self._generator_prepare(target,
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/formatters.py", line
138, in _generator_prepare
varmap = self._generator_build_varmap(facts,
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/formatters.py", line
163, in _generator_build_varmap
self)._generator_build_varmap(facts,
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/formatters.py", line
87, in _generator_build_varmap
pkgs.update(projects.get_packages(selected_projects, facts, cross_arch))
File "/home/rjones/d/libvirt-ci/guests/lcitool/lcitool/projects.py", line 123,
in get_packages
obj = self.internal_projects[proj]
KeyError: 'nbdkit'
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org