Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 911653 - KeyError in remove_remote_var_dirs
KeyError in remove_remote_var_dirs
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack (Show other bugs)
2.0 (Folsom)
x86_64 Linux
urgent Severity urgent
: snapshot3
: 2.1
Assigned To: Martin Magr
Jaroslav Henner
: Regression, TestBlocker, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-15 09:37 EST by Jaroslav Henner
Modified: 2016-04-26 13:37 EDT (History)
4 users (show)

See Also:
Fixed In Version: openstack-packstack-2012.2.2-1.0.dev408
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-05 16:03:44 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 22023 None None None Never
Red Hat Product Errata RHSA-2013:0595 normal SHIPPED_LIVE Moderate: openstack-packstack security and bug fix update 2013-03-05 21:00:00 EST

  None (edit)
Description Jaroslav Henner 2013-02-15 09:37:47 EST
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 09:38:46 EST
Created attachment 697826 [details]
answfile
Comment 5 Derek Higgins 2013-02-15 12:06:24 EST
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 04:40:47 EST
It is fine with openstack-packstack-2012.2.2-1.0.dev408.el6ost.noarch
Comment 11 errata-xmlrpc 2013-03-05 16:03:44 EST
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.