Bug 1647751 - Unexpected error when trying to download logs file
Summary: Unexpected error when trying to download logs file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 14.0 (Rocky)
Assignee: Honza Pokorny
QA Contact: Andrey Fiodorov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-08 09:49 UTC by grozov
Modified: 2020-11-25 11:42 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-common-9.4.1-0.20181012010882.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:54:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1803724 0 None None None 2018-11-16 15:03:56 UTC
OpenStack gerrit 618535 0 None MERGED Select message IDs properly when publishing to swift 2020-11-25 11:41:20 UTC
OpenStack gerrit 618572 0 None MERGED Exit when container is missing or empty when downloading logs 2020-11-25 11:40:57 UTC
OpenStack gerrit 619249 0 None MERGED Select message IDs properly when publishing to swift 2020-11-25 11:40:56 UTC
OpenStack gerrit 619250 0 None MERGED Exit when container is missing or empty when downloading logs 2020-11-25 11:40:56 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:54:53 UTC

Description grozov 2018-11-08 09:49:48 UTC
Description of problem:
when you try to download the logs file you get:
Download logs failed
Error attempting an operation on container: Container GET failed: https://192.168.24.2:13808/v1/AUTH_1c59567439864ec5a6f1b97bc9ca82df/tripleo-ui-logs?format=json 404 Not Found [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<

Version-Release number of selected component (if applicable):
2018-11-06.3 puddle


How reproducible:
100%

Steps to Reproduce:
1.install osp14 via a customized job with a breakpoint before deployment
2.log in
3.press the question mark at the top of the page
4.press 'DEBUG' button
5.press 'download logs'

Comment 1 grozov 2018-11-08 11:06:05 UTC
The tripleo-ui-logs container is missing in swift

Comment 2 Jiri Tomasek 2018-11-16 15:55:24 UTC
openstack workflow execution output show 79bd90d9-b19f-4318-b8fb-f100153552f6
{
    "status": "FAILED", 
    "message": "Error attempting an operation on container: Container GET failed: https://192.168.122.38:13808/v1/AUTH_53406fd7b3a54a7c90b8006321f88994/tripleo-ui-logs?format=json 404 Not Found  [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<", 
    "result": "Failure caused by error in tasks: send_message\n\n  send_message [task_ex_id=2b7aa476-62e4-4278-b901-4ab0af01ad95] -> Workflow failed due to message status\n    [wf_ex_id=c9a90f77-3fb3-4a8b-a021-0e26d0f4b3fb, idx=0]: Workflow failed due to message status\n"
}

Comment 12 Andrey Fiodorov 2018-12-06 07:42:41 UTC
Verified.

(undercloud) [stack@undercloud-0 ~]$ cat  /etc/yum.repos.d/latest-installed
14   -p 2018-12-04.4

[stack@undercloud-0 ~]$ rpm -q openstack-tripleo-common
openstack-tripleo-common-9.4.1-0.20181012010882.el7ost.noarch

(undercloud) [stack@undercloud-0 ~]$ sudo docker exec -ti tripleo_ui bash
()[root@undercloud-0 /]# rpm -q openstack-tripleo-ui
openstack-tripleo-ui-9.3.1-0.20180921180344.df30b55.el7ost.noarch

Comment 15 errata-xmlrpc 2019-01-11 11:54:40 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.

https://access.redhat.com/errata/RHEA-2019:0045


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