kolla-build has no error message for archive download failure

Bug #1560153 reported by Sam Yaple on 2016-03-21
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Wishlist
Mark Goddard

Bug Description

2016-03-21 17:14:18.225 | Traceback (most recent call last):
2016-03-21 17:14:18.225 | File "tests/test_build.py", line 46, in runTest
2016-03-21 17:14:18.225 | bad_results, good_results, unmatched_results = build.main()
2016-03-21 17:14:18.225 | File "kolla/cmd/build.py", line 733, in main
2016-03-21 17:14:18.226 | kolla.summary()
2016-03-21 17:14:18.226 | File "kolla/cmd/build.py", line 553, in summary
2016-03-21 17:14:18.226 | for line in image['logs'].split('\n'):
2016-03-21 17:14:18.226 | KeyError: 'logs'

Relevant log message for failure to download archive

Steven Dake (sdake) on 2016-03-22
tags: added: rc-backport-potential
Steven Dake (sdake) on 2016-03-26
Changed in kolla:
milestone: mitaka-rc2 → newton-1
status: Triaged → Confirmed
tags: removed: rc-backport-potential
Steven Dake (sdake) on 2016-04-01
Changed in kolla:
importance: High → Medium
assignee: Sam Yaple (s8m) → nobody
Steven Dake (sdake) on 2016-04-02
no longer affects: kolla/mitaka
Changed in kolla:
assignee: nobody → Mauricio José de Lima (mlima) (limamauricio)
Changed in kolla:
assignee: Mauricio Lima (mlima) (mauricio-lima) → nobody
Steven Dake (sdake) on 2016-06-23
Changed in kolla:
milestone: newton-1 → newton-2
Changed in kolla:
milestone: newton-2 → newton-3
Sandhya Dasu (sadasu) wrote :

The underlying code has changed from what has been mentioned in the bug description. How do I reproduce this issue?

Changed in kolla:
milestone: newton-3 → newton-rc1
Changed in kolla:
milestone: newton-rc1 → newton-rc2
Steven Dake (sdake) on 2016-09-22
Changed in kolla:
status: Confirmed → Incomplete
Changed in kolla:
milestone: newton-rc2 → ocata-1
Changed in kolla:
assignee: nobody → Surya Prakash Singh (confisurya)
assignee: Surya Prakash Singh (confisurya) → nobody
Changed in kolla:
milestone: ocata-1 → ocata-2
Changed in kolla:
milestone: ocata-2 → ocata-3
Changed in kolla:
importance: Medium → Wishlist
status: Incomplete → Triaged
tags: added: low-hanging-fruit
Changed in kolla:
milestone: ocata-3 → ocata-rc1
Changed in kolla:
milestone: ocata-rc1 → pike-1
Mike Chen (chenn2) on 2017-04-13
Changed in kolla:
assignee: nobody → Chen (chenn2)
Mike Chen (chenn2) wrote :

Hi to whom it may concern,

I have done some research on the evolution of build.py file, and noticed that the line that involves "for line in image['logs'].split('\n'):" was modified to "for line in stream['stream'].split('\n'):" somewhere between
Nov 7, 2015 (https://review.openstack.org/#/c/242554/1/kolla/cmd/build.py)
and
Nov 12, 2015 (https://review.openstack.org/#/c/243449/1/kolla/cmd/build.py).

So if this issue has indeed been addressed long time ago and cannot get reproduced anyway, it should be marked as fixed or closed.

Best regards.

Changed in kolla:
milestone: pike-2 → pike-3
Changed in kolla:
milestone: pike-3 → pike-rc1
Changed in kolla:
milestone: pike-rc1 → queens-1
Changed in kolla:
milestone: queens-2 → queens-3
Changed in kolla:
milestone: queens-3 → queens-rc1
Changed in kolla:
milestone: queens-rc1 → queens-rc2
Changed in kolla:
milestone: queens-rc2 → rocky-1
Changed in kolla:
milestone: rocky-2 → rocky-3
Changed in kolla:
status: Triaged → New
assignee: Mike Chen (chenn2) → nobody
milestone: rocky-3 → none
Changed in kolla:
assignee: nobody → Mark Goddard (mgoddard)
Mark Goddard (mgoddard) wrote :

Could not reproduce.

Changed in kolla:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers