lost import for stat in discovery.py

Bug #1252661 reported by Peter Lomakin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rubick
Fix Released
Critical
Peter Lomakin

Bug Description

07:04:42 worker.1 | [2013-11-19 07:04:42,957: ERROR/MainProcess] rubick.celery.ostack_inspect_task[6745c5cf-f894-4580-bb57-cb2c58d523b3]: Traceback (most recent call last):
07:04:42 worker.1 | File "/vagrant/rubick/celery.py", line 87, in ostack_inspect_task
07:04:42 worker.1 | private_key=request.private_key)
07:04:42 worker.1 | File "/vagrant/rubick/discovery.py", line 1295, in discover
07:04:42 worker.1 | item = agent.discover(driver, task.host, **task.data)
07:04:42 worker.1 | File "/vagrant/rubick/discovery.py", line 597, in discover
07:04:42 worker.1 | default_config='/etc/keystone/keystone.conf')
07:04:42 worker.1 | File "/vagrant/rubick/discovery.py", line 411, in collect_component_configs
07:04:42 worker.1 | r = collect_file(client, config_path)
07:04:42 worker.1 | File "/vagrant/rubick/discovery.py", line 377, in collect_file
07:04:42 worker.1 | permissions = permissions_string_to_mode(perm)
07:04:42 worker.1 | File "/vagrant/rubick/discovery.py", line 332, in permissions_string_to_mode
07:04:42 worker.1 | mode |= stat.S_IFREG
07:04:42 worker.1 | NameError: global name 'stat' is not defined

Peter Lomakin (plomakin)
Changed in rubick:
milestone: none → mvp1
status: New → In Progress
Revision history for this message
Peter Lomakin (plomakin) wrote :
Changed in rubick:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.