Jira (PDB-4707) Provide a subcommand to list the available migrations

10 views
Skip to first unread message

Austin Blatt (Jira)

unread,
Apr 27, 2020, 7:14:03 PM4/27/20
to puppe...@googlegroups.com
Austin Blatt created an issue
 
PuppetDB / New Feature PDB-4707
Provide a subcommand to list the available migrations
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2020/04/27 4:13 PM
Priority: Normal Normal
Reporter: Austin Blatt

Setting the systemd START_TIMEOUT to 14400 is only useful for long migrations, but is not long enough for some installs, and it can mask startup issues with puppetdb when no-migrations are present. The end goal of this work is to enable the installer to upgrade PuppetDB via the upgrade subcommand, thus bypassing the systemd timeout, and start the puppetdb service with a shorter systemd start timeout, like 5 minutes.

To do this PuppetDB upgrade will be triggered by a Puppet exec iff this subcommand exits non-zero before it is restarted by the full service restart that normally happens during Puppet applied PE infrastructure changes.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Austin Blatt (Jira)

unread,
May 7, 2020, 1:47:03 PM5/7/20
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Fix Version/s: PDB 6.11.0

Austin Blatt (Jira)

unread,
May 13, 2020, 1:13:03 PM5/13/20
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Acceptance Criteria: - subcommand exits 0 when no new migrations are available
- subcommand exits
n non-zero when n no migrations will be applied
- Print the available migrations to stdout

Austin Blatt (Jira)

unread,
May 13, 2020, 1:13:03 PM5/13/20
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Acceptance Criteria:
- subcommand exits 0 when no new migrations are available
- subcommand exits non-zero when no migrations will be applied
- Print the available migrations to stdout
(optional)

Nick Burgan (Jira)

unread,
May 14, 2020, 5:42:03 PM5/14/20
to puppe...@googlegroups.com
Nick Burgan commented on New Feature PDB-4707
 
Re: Provide a subcommand to list the available migrations

If we can get PE-28943 done through the pe_install::upgrade::puppetdb class, we shouldn't need this command.

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:57:11 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
 
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages