Project

General

Profile

User story #7093

Include Timezone in Inventory

Added by Janos Mattyasovszky about 3 years ago. Updated 7 months ago.

Status:
Released
Priority:
3
Category:
Packaging
Target version:
Target version (plugin):
Suggestion strength:
User visibility:
Effort required:

Description

Please also make the Timezone-Info of a node available via the Inventory System
(Basically you need the output of `date +%Z` in a field)

See also Issue #7092.


Add

Subtasks

User story #9279: Add Timezone information in inventory (CPAN modules)Rejected
User story #9418: Parse Timezone information in inventoryReleasedVincent MEMBRÉ

Add

Related issues

Related to Rudder - Bug #7092: Include Timezone in Node InfoReleasedDelete relation
Related to Rudder - User story #4708: Display time of reports in the web interface in the server timezoneDiscussionDelete relation
Related to Rudder - User story #8919: Remove modifications made to the inventory by the agentReleasedDelete relation

Associated revisions

Revision a59889a7 (diff)
Added by Matthieu CERDA almost 2 years ago

Fixes #7093: Include Timezone in Inventory

History

#1 Updated by Janos Mattyasovszky about 3 years ago

The Info of `date +%z` might be also of value, as this specifies the Offset to GMT, which sometimes overlaps with different TZ Names (like WEST and BST).

#2 Updated by François ARMAND almost 3 years ago

  • Assignee set to Nicolas CHARLES

It seems that there is other problem which would better solved with that... Nicolas, do you remember which ones? Something related to reports?

#3 Updated by Jonathan CLARKE over 2 years ago

  • Related to Bug #7092: Include Timezone in Node Info added

#4 Updated by Benoît PECCATTE over 2 years ago

  • Target version set to Ideas (not version specific)

#5 Updated by François ARMAND about 2 years ago

  • Related to User story #4708: Display time of reports in the web interface in the server timezone added

#6 Updated by François ARMAND almost 2 years ago

  • Related to User story #8919: Remove modifications made to the inventory by the agent added

#7 Updated by François ARMAND almost 2 years ago

  • Assignee changed from Nicolas CHARLES to Matthieu CERDA

It should be added in Rudder plugin extension:

- <RUDDER><TIMEZONE>

#8 Updated by François ARMAND almost 2 years ago

In fact, we certainly want :

- <RUDDER><TIMEZONE><NAME>CEST...
- <RUDDER><TIMEZONE><OFFSET>+02..

OFFSET is the most important (the one that we will use to display correct time).

#9 Updated by François ARMAND almost 2 years ago

Actually:

<RUDDER>
  <TIMEZONE>
    <NAME>blablab</NAME>
    <OFFSET>blabla</OFFSET>
  </TIMEZONE>
...
</RUDDER>

#10 Updated by Matthieu CERDA almost 2 years ago

This information is not specific to Rudder, and should thus go in the <OPERATINGSYSTEM> anchor.

Something to take in account here is that timezones representation tend to differ between systems:

What I would propose in this case would be to have a mandatory attribute that contains the derivation from UTC, that is an actual consensus between all systems, and another one that would give the ISO8601 representation, as given by stfrtime %Z:

<TIMEZONE>
    <NAME>CEST</NAME>
    <OFFSET>+0200</OFFSET>
</TIMEZONE>

The NAME would use the Windows format on Windows machines: that is to be expected.

#11 Updated by Matthieu CERDA almost 2 years ago

  • Status changed from New to Discussion

Work has begun on this, to implement the feature upstream: https://github.com/fusioninventory/fusioninventory-agent/issues/166

#12 Updated by Matthieu CERDA almost 2 years ago

  • Category changed from Web - Nodes & inventories to Packaging
  • Status changed from Discussion to New
  • Target version changed from Ideas (not version specific) to 4.0.0~rc2

#13 Updated by Matthieu CERDA almost 2 years ago

  • Status changed from New to In progress

#14 Updated by Matthieu CERDA almost 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1100

#15 Updated by Matthieu CERDA almost 2 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

#16 Updated by Benoît PECCATTE almost 2 years ago

  • Target version changed from 4.0.0~rc2 to 318

#17 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 318 to 4.0.0~rc2

#18 Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 4.0.0~rc2 to 4.0.0~rc1

#19 Updated by Alexis MOUSSET almost 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.

Also available in: Atom PDF