Bug 912006 - Openstack Installer: packstack error while trying to validate NTP server
Summary: Openstack Installer: packstack error while trying to validate NTP server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 2.1
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: snapshot4
: 2.1
Assignee: Martin Magr
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks: 905842
TreeView+ depends on / blocked
 
Reported: 2013-02-17 07:52 UTC by Nir Magnezi
Modified: 2022-07-09 06:25 UTC (History)
6 users (show)

Fixed In Version: openstack-packstack-2012.2.3-0.1.dev454
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-21 18:24:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 22213 0 None None None Never
Red Hat Issue Tracker OSP-16386 0 None None None 2022-07-09 06:25:51 UTC
Red Hat Product Errata RHSA-2013:0671 0 normal SHIPPED_LIVE Moderate: openstack-packstack security and bug fix update 2013-03-21 22:22:21 UTC

Description Nir Magnezi 2013-02-17 07:52:05 UTC
Description of problem:
=======================
packstack error while trying to validate NTP server.


Version-Release number of selected component (if applicable):
=============================================================
openstack-packstack-2012.2.2-1.0.dev408.el6ost.noarch


How reproducible:
=================
Always


Steps to Reproduce:
===================
1. Use packstack dev408 to generate an answers file.
2. Insert a valid ntp server IP address at CONFIG_NTP_SERVERS.
3. run packstack

 
Actual results:
===============
# packstack --answer-file=ans408.txt -d
Welcome to Installer setup utility

Installing:
Clean Up...                                              [ DONE ]
OS support check...                                      [ DONE ]
Adding pre install manifest entries...                   [ DONE ]
Installing time synchronization via NTP...
Additional information:
 * ERROR : 'module' object has no attribute 'validatePing'
 * Please check log file /var/tmp/packstack/20130217-092131-ooPjoK/openstack-setup.log for more information

Copied from log (DEBUG Mode):

  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/prescript_000.py", line 163, in create_ntp_manifest
    validate.validatePing(srv)
AttributeError: 'module' object has no attribute 'validatePing'

2013-02-17 09:21:31::ERROR::run_setup::599::root:: 'module' object has no attribute 'validatePing'
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/prescript_000.py", line 163, in create_ntp_manifest
    validate.validatePing(srv)
AttributeError: 'module' object has no attribute 'validatePing'
2013-02-17 09:21:31::INFO::run_setup::528::root::  * ^[[0;31mERROR : 'module' object has no attribute 'validatePing'^[[0m


Expected results:
=================
No error should be expected.

Comment 3 Nir Magnezi 2013-03-03 13:45:39 UTC
Verified NVR: openstack-packstack-2012.2.3-0.1.dev454.el6ost.noarch

Repeated Steps to Reproduce from Comment #0
NTP configured and works with no errors.

Comment 6 errata-xmlrpc 2013-03-21 18:24:01 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-0671.html


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