Horizon does not show last modified date of object

Bug #1556874 reported by Michael Kraynov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
Medium
MOS Maintenance
7.0.x
Fix Released
Medium
Alexey Stupnikov
8.0.x
Invalid
Medium
MOS Maintenance
9.x
Invalid
Medium
MOS Horizon

Bug Description

MOS 7.0

If we use Ceph as backend for object storage in the Horizon we see a blank field instead of information about last modification.
From the CLI we are able to see this data.

swift stat vm1 test-4M
Account: v1
Container: vm1
Object: test-4M
Content Type: binary/octet-stream
Content Length: 4194304
Last Modified: Wed, 22 Jul 2015 12:07:38 GMT
ETag: b5cfa9d6c8febd618f91ac2843d50a1c
Meta Mtime: 1437566688.938349
Accept-Ranges: bytes
Server: Apache

The similar upstream bug: https://bugs.launchpad.net/horizon/+bug/1297173
http://tracker.ceph.com/issues/8911

Dina Belova (dbelova)
tags: added: area-horizon
Changed in mos:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → MOS Horizon (mos-horizon)
milestone: none → 7.0-updates
Revision history for this message
Sergei Chipiga (schipiga) wrote :

Checked with mos9.0#129, fixed.

Revision history for this message
Sergei Chipiga (schipiga) wrote :

Checked with mos9.0#224 (ceph)

Steps:
- Login as admin
- Go to containers page
- Create container
- upload file
- view details of uploaded file

result:
- timestamp is present

fixed

Revision history for this message
Rodion Tikunov (rtikunov) wrote :

Can't reproduce in 8.0 lab.
From 8.0 repo ceph/changelog:
5b41d80 (origin/wip-8911) rgw: swift GET / HEAD object returns X-Timestamp field

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Setting to invalid for Mitaka as this bug wasn't fixed, it is just not there.

Revision history for this message
Sergei Chipiga (schipiga) wrote :

As I understand, in Mitaka field `last modified` was replaced with `timestamp`, isn't it? @tsufiev, is it right?

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Steps to reproduce from [1] are working in MOS7 with latest MU applied. Have to investigate.

[1] https://bugs.launchpad.net/mos/+bug/1556874/comments/2

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

After this bug was solved, another ceph/Horizon interoperability issue came up. bug #1625468

tags: added: on-verification
Revision history for this message
Ekaterina Shutova (eshutova) wrote :

Verified on MOS 7.0 + MU6 updates.

Before:
Object Details
Name
    homework.txt
Hash
    556a65b5b12c3b91db0264cfed8d8c86
Content Type
    None
Last Modified
Size
    8.1 KB

With fix after uploading file to container from CLI:
Object Details
Name
    par.yml
Hash
    055c4ec932ad5fb71be008e4e9a8059e
Content Type
    None
Last Modified
    Sept. 23, 2016, 2:24 p.m.
Size
    78 bytes

tags: removed: on-verification
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.