yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03193
[Bug 962516] Re: Improve error handling for package version mismatches
** Changed in: anvil
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/962516
Title:
Improve error handling for package version mismatches
Status in OpenStack Anvil:
Fix Released
Bug description:
When there's a mismatch between the distro configuration and the
available package versions, we erro out with an unfriendly backtrace
and process execution error.
mainly happens when debugging new distros, but will eventually happen
to a user as versions change over time.
Traceback (most recent call last):
File "./stack", line 202, in main
started_ok = run(args)
File "./stack", line 168, in run
runner.run(persona_inst, root_dir)
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/progs/actions.py", line 151, in run
self._run(persona, root_dir, component_order, instances)
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/progs/actions.py", line 202, in _run
instances,
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/progs/actions.py", line 114, in _run_phase
result = functor(instance)
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/progs/actions.py", line 199, in <lambda>
lambda i: i.install(),
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/component.py", line 345, in install
trace_dir = PkgInstallComponent.install(self)
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/component.py", line 203, in install
self.packager.install(p)
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/packaging/yum.py", line 63, in install
self._execute_yum(cmd)
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/packaging/yum.py", line 48, in _execute_yum
**kargs)
File "/home/mikeyp/Documents/Projects/DevstackPy/devstack/shell.py", line 179, in execute
stderr=stderr, cmd=str_cmd)
ProcessExecutionError: None
Command: yum install -y -t sqlite-3.6*
Exit code: 1
Stdout: 'Loaded plugins: langpacks, presto, refresh-packagekit\nSetting up Install Process\nNo package sqlite-3.6* available.\n'
Stderr: 'Error: Nothing to do\n'
To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/962516/+subscriptions