Bug 911653 - KeyError in remove_remote_var_dirs
Summary: KeyError in remove_remote_var_dirs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 2.0 (Folsom)
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: snapshot3
: 2.1
Assignee: Martin Magr
QA Contact: Jaroslav Henner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-15 14:37 UTC by Jaroslav Henner
Modified: 2022-07-09 06:04 UTC (History)
4 users (show)

Fixed In Version: openstack-packstack-2012.2.2-1.0.dev408
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-05 21:03:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
answfile (6.52 KB, application/octet-stream)
2013-02-15 14:38 UTC, Jaroslav Henner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 22023 0 None None None Never
Red Hat Issue Tracker OSP-16333 0 None None None 2022-07-09 06:04:21 UTC
Red Hat Product Errata RHSA-2013:0595 0 normal SHIPPED_LIVE Moderate: openstack-packstack security and bug fix update 2013-03-06 02:00:00 UTC

Description Jaroslav Henner 2013-02-15 14:37:47 UTC
Description of problem:
When deploying with swift, packstack fails.


Version-Release number of selected component (if applicable):
openstack-packstack-2012.2.2-0.9.dev406.el6ost.noarch


How reproducible:
2/2

Steps to Reproduce:
1. Use the provided answfile 
2.
3.
  
Actual results:
2013-02-15 13:29:55::ERROR::run_setup::599::root:: Error running remote script:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 587, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 563, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 62, in runAllSequences
    sequence.run()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 153, in run
    step.run()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 60, in run
    function()
  File "/usr/lib/python2.6/site-packages/packstack/plugins/swift_600.py", line 225, in createstoragemanifest
    check_device(host, device)
  File "/usr/lib/python2.6/site-packages/packstack/plugins/swift_600.py", line 206, in check_device
    server.execute()
  File "/usr/lib/python2.6/site-packages/packstack/installer/common_utils.py", line 408, in execute
    '%s' % stdoutdata)
ScriptRuntimeError: Error running remote script:
2013-02-15 13:29:55::ERROR::run_setup::838::root:: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 830, in main
    _main(confFile)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 602, in _main
    remove_remote_var_dirs()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 615, in remove_remote_var_dirs
    host_dir = controller.temp_map[host]
KeyError: '10.34.69.137'


Expected results:
No problems.

Additional info:

Comment 1 Jaroslav Henner 2013-02-15 14:38:46 UTC
Created attachment 697826 [details]
answfile

Comment 5 Derek Higgins 2013-02-15 17:06:24 UTC
The problem here was that the local server was being tested for the existence of swift storage devices instead of the remote storage host.

Comment 9 Jaroslav Henner 2013-02-22 09:40:47 UTC
It is fine with openstack-packstack-2012.2.2-1.0.dev408.el6ost.noarch

Comment 11 errata-xmlrpc 2013-03-05 21:03:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0595.html


Note You need to log in before you can comment on or make changes to this bug.