Jira (PDB-5159) Change filenames from PDB export to be compatible with stockpile

0 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Jun 16, 2021, 4:00:04 AM6/16/21
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
PuppetDB / Task PDB-5159
Change filenames from PDB export to be compatible with stockpile
Issue Type: Task Task
Assignee: Unassigned
Created: 2021/06/16 12:59 AM
Priority: Normal Normal
Reporter: Bogdan Irimie
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Bogdan Irimie (Jira)

unread,
Jun 16, 2021, 4:04:02 AM6/16/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Jun 16, 2021, 4:09:02 AM6/16/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Jun 16, 2021, 10:45:02 AM6/16/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
PDB exports contains factsets, reports and catalogs with names in the fallowing format

{code}
<hostname>-<hash>.json
{code}

for catalogs and reports and

{code}
<hostnme>.json
{code}

for fact sets.


Stockpile is configured in PDB to accept files in the fallowing format:
{code}
<number_in_queue>-<unit timestamp>_<report|facts|catalog>_<format_version>_<certname>.json
{code}
e.g.:
{code}
4-1614247283080_catalog_9_host-1.json
{code}

Bogdan Irimie (Jira)

unread,
Jun 16, 2021, 10:47:02 AM6/16/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
PDB exports contains factsets, reports and catalogs with names in the fallowing format

{code}
<hostname>-<hash>.json
{code}

for catalogs and reports and

{code}
<hostnme>.json
{code}

for fact sets.


Stockpile is configured in PDB to accept files in the fallowing format:
{code}
<number_in_queue>-<unit timestamp>_<report|facts|catalog>_<format_version>_<certname>.json
{code}
e.g.:
{code}
4-1614247283080_catalog_9_host-1.json
{code}

We should change the names in the PDB export to be compatible with stockpile. We might add a flag to

Bogdan Irimie (Jira)

unread,
Jun 16, 2021, 10:48:01 AM6/16/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
PDB exports contains factsets, reports and catalogs with names in the fallowing format

{code}
<hostname>-<hash>.json
{code}

for catalogs and reports and

{code}
<hostnme>.json
{code}

for fact sets.


Stockpile is configured in PDB to accept files in the fallowing format:
{code}
<number_in_queue>-<unit timestamp>_<report|facts|catalog>_<format_version>_<certname>.json
{code}
e.g.:
{code}
4-1614247283080_catalog_9_host-1.json
{code}

We should change the names in the PDB export to be compatible with stockpile. We might add a flag to

the work already done in PDB-5095 that will allow the file names to be changed in stockpile format or be kept as they are.

Bogdan Irimie (Jira)

unread,
Jun 16, 2021, 10:49:01 AM6/16/21
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Acceptance Criteria: The time shifting tool is able to change the names of the files to a PDB stockpile compatible format.

Bogdan Irimie (Jira)

unread,
Jun 30, 2021, 3:37:02 AM6/30/21
to puppe...@googlegroups.com

Sebastian Miclea (Jira)

unread,
Jun 30, 2021, 5:23:02 AM6/30/21
to puppe...@googlegroups.com

Sebastian Miclea (Jira)

unread,
Jul 1, 2021, 7:02:03 AM7/1/21
to puppe...@googlegroups.com
Sebastian Miclea updated an issue
PDB exports contains factsets, reports and catalogs with names in the fallowing format

{code}
<hostname>-<hash>.json
{code}

for catalogs and reports and

{code}
<hostnme>.json
{code}

for fact sets.


Stockpile is configured in PDB to accept files in the fallowing following format:
{code}

<number_in_queue>-<unit timestamp>_<report|facts|catalog>_<format_version>_<certname>.json
{code}
e.g.:
{code}

4-1614247283080_catalog_9_host-1.json
{code}

We should change the names in the PDB export to be compatible with stockpile. We might add a flag to the work already done in PDB-5095 that will allow the file names to be changed in stockpile format or be kept as they are.

Sebastian Miclea (Jira)

unread,
Jul 1, 2021, 7:04:02 AM7/1/21
to puppe...@googlegroups.com
Sebastian Miclea updated an issue
PDB exports contains factsets, reports and catalogs with names in the fallowing format
{code}<hostname>-<hash>.json
{code}
for catalogs and reports and
{code}<hostnme>.json
{code}
for fact sets.

Stockpile is configured in PDB to accept files in the following format:
{code}<number_in_queue>-<
unit unix timestamp>_<report|facts|catalog>_<format_version>_<certname>.json

{code}
e.g.:
{code}4-1614247283080_catalog_9_host-1.json
{code}
We should change the names in the PDB export to be compatible with stockpile. We might add a flag to the work already done in PDB-5095 that will allow the file names to be changed in stockpile format or be kept as they are.

Oana Tanasoiu (Jira)

unread,
Jul 14, 2021, 3:18:03 AM7/14/21
to puppe...@googlegroups.com
Oana Tanasoiu updated an issue
Change By: Oana Tanasoiu
Sprint: ready for triage 2, ghost-14.07.2021

Oana Tanasoiu (Jira)

unread,
Jul 14, 2021, 3:45:04 AM7/14/21
to puppe...@googlegroups.com
Oana Tanasoiu updated an issue
Change By: Oana Tanasoiu
Sprint: ready for triage 2, ghost-14.07.2021 , ghost-28.07.2021

Bogdan Irimie (Jira)

unread,
Jul 20, 2021, 7:45:02 AM7/20/21
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Jul 20, 2021, 7:46:04 AM7/20/21
to puppe...@googlegroups.com

Austin Blatt (Jira)

unread,
Aug 19, 2021, 2:00:04 PM8/19/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages