excessive duplicate lines in osprofiler output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Eric Harney |
Bug Description
I'm currently working on upgrading my unit tests for the multi-attach db migration script. I'm getting errors in my migraton script and the output has an excessive amount of duplicate lines being dumped because of the osprofiler being enabled by default in cinder.
For example, one of the unit test failures
Traceback (most recent call last):
File "/home/
'rw')
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return f(*args, **kwargs)
File "/home/
return do_attach()
File "/home/
retval = f(*args, **kwargs)
File "/home/
raise exception.
InvalidVolume: Invalid volume: status must be available or attaching
Traceback (most recent call last):
_StringException: Empty attachments:
stderr
stdout
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
assignee: | nobody → Eric Harney (eharney) |
status: | Confirmed → In Progress |
Changed in cinder: | |
status: | In Progress → Fix Committed |
Changed in cinder: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-1 → 7.0.0 |
Seems like this line:
https:/ /github. com/openstack/ cinder/ blob/master/ cinder/ service. py#L123
We need to find the better way to handle this