create_action_log failed: 'ThreadedDict' object has no attribute 'env'

Bug #1442990 reported by Mike Scherbakov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Kislitsky

Bug Description

2015-04-12 01:04:14 INFO
[7ffe47e9e740] (manager) Assigning IP for node '1' in network 'management'
2015-04-12 01:04:13 ERROR
[7ffe47e9e740] (helpers) create_action_log failed: 'ThreadedDict' object has no attribute 'env'
2015-04-12 01:04:13 INFO
[7ffe47e9e740] (provisioning_serializers) Node Untitled (81:71) (id=3, mac=08:00:27:1f:81:71) seems booted with bootstrap image
2015-04-12 01:04:13 INFO
[7ffe47e9e740] (provisioning_serializers) Node Untitled (71:e0) (id=2, mac=08:00:27:1b:71:e0) seems booted with bootstrap image
2015-04-12 01:04:13 INFO
[7ffe47e9e740] (provisioning_serializers) Node Untitled (e9:b3) (id=1, mac=08:00:27:83:e9:b3) seems booted with bootstrap image
2015-04-12 01:04:12 ERROR
[7ffe47e9e740] (helpers) create_action_log failed: 'ThreadedDict' object has no attribute 'env'
2015-04-12 01:04:12 INFO
[7ffe47e9e740] (task) There is no any node with "cinder" role provided
2015-04-12 01:04:12 ERROR
[7ffe47e9e740] (helpers) create_action_log failed: 'ThreadedDict' object has no attribute 'env'
2015-04-12 01:04:12 INFO
[7ffe47e9e740] (checker) Untagged networks found, checking intersection between them...
2015-04-12 01:04:12 ERROR
[7ffe47e9e740] (helpers) create_action_log failed: 'ThreadedDict' object has no attribute 'env'
2015-04-12 01:04:11 INFO
[7ffe47e9e740] (manager) ApplyChangesTask: execute async starting for task 1

It's unclear if this fatal or not, but we still need to clean up any ERROR messages in our logs. Let's troubleshoot and fix.
[root@fuel var]# cat /etc/nailgun/version.yaml
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2-6.1"
  api: "1.0"
  build_number: "302"
  build_id: "2015-04-10_08-54-57"
  nailgun_sha: "d6e351189666e8afa01003e643e63216ef7abd26"
  python-fuelclient_sha: "9208ff4a08dcb674ce2df132399a5aa3ddfac21c"
  astute_sha: "5041b2fb508e6860c3cb96474ca31ec97e549e8b"
  fuellib_sha: "e9c3ba332b05120c967b20260c7b223afc1b4f1a"
  ostf_sha: "4bda5bbf9ea033189f16518032c063d43e4d0e5c"
  fuelmain_sha: "8daac234aea6ac0a98f27871deec039f74f6fdab"

Revision history for this message
Mike Scherbakov (mihgen) wrote :
Changed in fuel:
milestone: none → 6.1
assignee: nobody → Fuel provisioning team (fuel-provisioning)
Changed in fuel:
importance: Undecided → High
Changed in fuel:
assignee: Fuel provisioning team (fuel-provisioning) → Fuel Python Team (fuel-python)
status: New → Confirmed
tags: added: feature-stats
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/174408

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/174408
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=7e2050d3d77e08712a5c3ccb4e6f40f1e4acc3de
Submitter: Jenkins
Branch: master

commit 7e2050d3d77e08712a5c3ccb4e6f40f1e4acc3de
Author: Alexander Kislitsky <email address hidden>
Date: Thu Apr 16 17:30:57 2015 +0300

    Fix for fetching actor_id for action log

    Actor_id is required for proper constructing of the action log.
    Actor_id value is added into web context environment in the connection
    monitoring middleware. When we perform async task processing in the mule,
    web request context and environmet is lost. So action_log couldn't be
    constructed properly.
    Extraction of actor_id from action_log of parent task is added as fix.

    Change-Id: I5f0f78073f514d9600cd53d5bf757f27b8bfabe6
    Closes-Bug: #1442990

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on
{"build_id": "2015-05-13_11-36-33",
"build_number": "412",
"release_versions": {
"2014.2.2-6.1": {
"VERSION": {
"build_id": "2015-05-13_11-36-33",
"build_number": "412",
"api": "1.0",
"fuel-library_sha": "86505a5b4aab91b16abacca9a0da4f4cf90d3da9",
"nailgun_sha": "09a9f2726223b9f31075adf79898045cd269c00c",
"feature_groups":
["mirantis"],
"openstack_version": "2014.2.2-6.1",
"production": "docker",
"python-fuelclient_sha": "af6c9c3799b9ec107bcdc6dbf035cafc034526ce",
"astute_sha": "484d5038b81b7260597be027b1265dc88091026b",
"fuel-ostf_sha": "1ae384a28b42d5325bd5d2546aead1e9d502f6a8",
"release": "6.1",
"fuelmain_sha": "51b86bb24b27742a22b23e2ae3dfc850c47e5fbf"}}},
"auth_required": true,
"api": "1.0",
"fuel-library_sha": "86505a5b4aab91b16abacca9a0da4f4cf90d3da9",
"nailgun_sha": "09a9f2726223b9f31075adf79898045cd269c00c",
"feature_groups":
["mirantis"],
"openstack_version": "2014.2.2-6.1",
"production": "docker",
"python-fuelclient_sha": "af6c9c3799b9ec107bcdc6dbf035cafc034526ce",
"astute_sha": "484d5038b81b7260597be027b1265dc88091026b",
"fuel-ostf_sha": "1ae384a28b42d5325bd5d2546aead1e9d502f6a8",
"release": "6.1",
"fuelmain_sha": "51b86bb24b27742a22b23e2ae3dfc850c47e5fbf"}

Changed in fuel:
status: Fix Committed → 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.