Ceph : Issueshttps://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2019-04-15T15:40:33ZCeph
Redmine Dashboard - Bug #39297 (Resolved): mgr/dashboard: Logs provided by the API should provide timesta...https://tracker.ceph.com/issues/392972019-04-15T15:40:33ZStephan Müller
<p>Log timestamps will provide the local server time instead UTC time</p> Dashboard - Bug #39296 (Resolved): mgr/dashboard: Alert details UTC times should be converted int...https://tracker.ceph.com/issues/392962019-04-15T15:39:27ZStephan Müller
<p>Alert -> details -> 'endsAt' and 'startsAt' attributes provide a UTC time but are not converted into local time in the frontend</p> Dashboard - Bug #39295 (Resolved): mgr/dashboard: RGW Bucket API should provide times in UTC that...https://tracker.ceph.com/issues/392952019-04-15T15:38:09ZStephan Müller
<p>RGW -> Bucket -> details -> 'modification time' attribute will provide the local server time instead UTC time</p> Dashboard - Bug #39294 (New): mgr/dashboard: Time handlinghttps://tracker.ceph.com/issues/392942019-04-15T15:28:10ZStephan Müller
<p>As I searched for similar issues like <a class="issue tracker-8 status-3 priority-4 priority-default closed child" title="Subtask: mgr/dashboard: New RBD snapshot names should be prefix with a local time bound ISO timestamp not UTC (Resolved)" href="https://tracker.ceph.com/issues/23858">#23858</a>, I found a few.</p>
<a name="My-setup"></a>
<h2 >My setup<a href="#My-setup" class="wiki-anchor">¶</a></h2>
<p>As my local time is set to Germany (<ins>2h) and my docker container as default is set to UTC (</ins>/- 0h), I decided to move the timezone of it to Chicago (-5h), in order to determine if the backend correctly only gives out UTC times that can easily be converted into the local time in the frontend.</p>
<a name="How-to-change-the-timezone"></a>
<h2 >How to change the timezone<a href="#How-to-change-the-timezone" class="wiki-anchor">¶</a></h2>
<p>To change the timezone in openSUSE or most other Linux distributions do the following:<br /><pre>
cd /etc
ln -sf ../usr/share/zoneinfo/America/Chicago localtime
</pre></p>
<a name="Found-Issues"></a>
<h2 >Found Issues<a href="#Found-Issues" class="wiki-anchor">¶</a></h2>
<ul>
<li><a class="issue tracker-1 status-3 priority-5 priority-high3 closed child" title="Bug: mgr/dashboard: Can't login with a bigger time difference between user and server or make auth tok... (Resolved)" href="https://tracker.ceph.com/issues/39300">#39300</a><br /> With the time difference of -7h to the backend, I couldn't log in. The log throw the error `AMT: user info changed after token was issued, iat=%s lastUpdate=%s` which can be found in line 150 in `dashboard/services/auth.py`. I removed as a quick fix line 146 in the same document which said that `user.lastUpdate <= token['iat']` has to be true in order to login.</li>
<li><a class="issue tracker-1 status-1 priority-4 priority-default child" title="Bug: mgr/dashboard: Pools API should provide times in UTC that will be converted into local time by An... (New)" href="https://tracker.ceph.com/issues/39299">#39299</a><br /> Pool -> details -> 'create_time' attribute will provide the local server time instead UTC time</li>
<li><a class="issue tracker-1 status-1 priority-4 priority-default child" title="Bug: mgr/dashboard: Monitors API should provide times in UTC that will be converted into local time by... (New)" href="https://tracker.ceph.com/issues/39298">#39298</a><br /> Monitors 'monmap modified' attribute will provide the local server time instead UTC time</li>
<li><a class="issue tracker-1 status-3 priority-4 priority-default closed child" title="Bug: mgr/dashboard: Logs provided by the API should provide timestamps in UTC in ISO 8601 format that ... (Resolved)" href="https://tracker.ceph.com/issues/39297">#39297</a><br /> Log timestamps will provide the local server time instead UTC time</li>
<li><a class="issue tracker-1 status-3 priority-4 priority-default closed child" title="Bug: mgr/dashboard: Alert details UTC times should be converted into local time by Angular (Resolved)" href="https://tracker.ceph.com/issues/39296">#39296</a><br /> Alert -> details -> 'endsAt' and 'startsAt' attributes provide a UTC time but are not converted into local time in the frontend</li>
<li><a class="issue tracker-1 status-3 priority-4 priority-default closed child" title="Bug: mgr/dashboard: RGW Bucket API should provide times in UTC that will be converted into local time ... (Resolved)" href="https://tracker.ceph.com/issues/39295">#39295</a><br /> RGW -> Bucket -> details -> 'modification time' attribute will provide the local server time instead UTC time</li>
<li><a class="issue tracker-8 status-3 priority-4 priority-default closed child" title="Subtask: mgr/dashboard: New RBD snapshot names should be prefix with a local time bound ISO timestamp not UTC (Resolved)" href="https://tracker.ceph.com/issues/23858">#23858</a><br /> The RBD snapshot creation modal will append a UTC timestamp to the name - but it's more convenient to use a local timestamp with TZ prefix instead.</li>
</ul>
<a name="Working-Dates"></a>
<h2 >Working Dates<a href="#Working-Dates" class="wiki-anchor">¶</a></h2>
<ul>
<li>RBD snapshot creation time column provide a UTC timestamp which is converted to local time in the frontend</li>
<li>RBD detail view "Created" attribute provide a UTC timestamp which is converted to local time in the frontend</li>
</ul> Dashboard - Bug #39034 (Resolved): mgr/dashboard: Queue notifications as defaulthttps://tracker.ceph.com/issues/390342019-03-29T14:34:58ZStephan Müller
<p>All notifications should be queued for a short amount of time, like the current notifications from Prometheus.</p>
<p>This will allow notifications with the same header to be combined and it can filter out duplicated notifications.</p> Dashboard - Bug #38932 (Resolved): mgr/dashboard: Fix tooltip behavior in RGW user formhttps://tracker.ceph.com/issues/389322019-03-25T11:28:30ZStephan Müller
<p>The problem is that if you hover a sub user and get to a button with a tooltip the rounded corner will disappear and replace with a straight line.</p> Dashboard - Bug #38418 (Resolved): mgr/dashboard: PreventDefault isn't working on 400 errorshttps://tracker.ceph.com/issues/384182019-02-21T09:43:36ZStephan Müller
<p>If a error with the status code 400 is received by the error interceptor of the frontend the <strong>timeoutId</strong> is not tracked, therefor <strong>preventDefault</strong> will not prevent anything as <strong>timeoutId</strong> is undefined.</p>
<p>The fix for this is already shown <a href="https://github.com/ceph/ceph/pull/26539#discussion_r258488366" class="external">here</a></p> Dashboard - Bug #37859 (Resolved): mgr/dashboard: Render all objects in KV-tablehttps://tracker.ceph.com/issues/378592019-01-10T12:24:37ZStephan Müller
<p>Currently the key value table will not render all objects in the given object, even if 'renderObjects' is set to true.</p>
<p>For example you give it an object with 2 attributes each of them holds a non empty object, this will result in a table data that is not fully converted to key value objects, which will result as text '[Object object]' in the table view.</p> Dashboard - Bug #37841 (Resolved): mgr/dashboard: RbdMirroringService test suite fails in dev modehttps://tracker.ceph.com/issues/378412019-01-09T12:47:32ZStephan Müller
<p>If you have set <strong><em>DEV</em></strong> in <strong>unit-test-configuration.ts</strong> to <strong>true</strong>, in order to run all unit tests much faster, the unit test suite of rbd mirroring service fails.</p>
<p>The reason is, that it's expecting a call, that is triggered inside the constructor, which is only done once in for the copy used in the fast testing mode (if it would be done on within <strong>ngOnInit</strong> this wouldn't be a problem).</p> Dashboard - Bug #36468 (Resolved): mgr/dashboard: Table key component does not support class objectshttps://tracker.ceph.com/issues/364682018-10-16T15:03:50ZStephan Müller
<p>The table key component should handle class objects as regular objects.</p> Dashboard - Bug #36466 (Resolved): mgr/dashboard: Helper component misses left paddinghttps://tracker.ceph.com/issues/364662018-10-16T14:28:30ZStephan Müller
<p>The helper icon of the helper component misses the 3px padding to the left like the required icon has.</p> Dashboard - Bug #36445 (Resolved): Missing requirement "python-werkzeug" for running the dashboar...https://tracker.ceph.com/issues/364452018-10-15T14:31:45ZStephan Müller
<p>With a fresh build docker container I got the following message through <strong>ceph -s</strong> after sourcing <strong>run-backend-api-tests.sh</strong><br /><pre>
Module 'restful' has failed dependency: No module named 'werkzeug'
</pre></p>
<p>After that I found out that only the pip2 version of werkzeug was not installed. After I had installed it and recreated the cluster the message that lead to a warning state disappeared.</p> Dashboard - Bug #36362 (Resolved): Update PG update testhttps://tracker.ceph.com/issues/363622018-10-09T14:13:06ZStephan Müller
<p>Clearify why the pg increase test for a existing pool is commented out and how it could be resolved.</p>
<p>Add a meaningful comment why it has to be commented out if it isn't able to fully resolve it.</p> Dashboard - Bug #36360 (Resolved): Return error to subscriber of task-wrapperhttps://tracker.ceph.com/issues/363602018-10-09T13:55:31ZStephan Müller
<p>Currently the task wrapper is not returning a received error to the subscriber of the wrapper.</p> Dashboard - Bug #25139 (Resolved): Task wrapper should not call notifyTask if a task failshttps://tracker.ceph.com/issues/251392018-07-27T14:13:51ZStephan Müller
<p>Task wrapper should not call notifyTask if a task fails as this is done by the API interceptor, because of this you often get two error messages shown.</p>