Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[research 1d] Test the inventory upgrade/migration with production data #1675

Closed
7 tasks done
adborden opened this issue May 15, 2020 · 1 comment
Closed
7 tasks done
Assignees
Labels
component/inventory Inventory playbooks/roles

Comments

@adborden
Copy link
Contributor

adborden commented May 15, 2020

User Story

In order to determine if there is additional work to upgrade-in-place or migrate the existing Inventory production database, data.gov operator wants to test the inventory upgrade/migration with production data.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN we restore a recent production snapshot in staging
    WHEN I run through the switchover process
    THEN there exists a plan with documented step-by-step instructions that can be followed to completion
  • GIVEN the switchover process has been executed on staging
    WHEN I open the staging URL
    AND I submit a new dataset
    THEN I can view the new dataset's page
    AND I can export a data.json file with the new dataset.

Background

Research story should be time boxed to 1 day.

Security Considerations (required)

All activity will be in the staging environment. Any security concerns for the production migration will be noted as follow-on issues alongside other issues identified during the research.

Sketch

  • Create a new RDS instance based on a recent Inventory production database snapshot in BSP
  • Run the ckan db update command
  • Identify any issues and possible remediations
  • Create additional GH issues for any additional work necessary
  • Draft a switchover plan with any step-by-step instructions to be exceuted in order to go live with CKAN 2.8 in a GH issue
@adborden adborden added the component/inventory Inventory playbooks/roles label May 15, 2020
@FuhuXia FuhuXia self-assigned this Sep 2, 2020
@FuhuXia
Copy link
Member

FuhuXia commented Oct 1, 2020

UI issue #2244, #2245, #2246
DB issue #2247
Switchover plan #2248

@mogul mogul added this to the Sprint 20201001 milestone Oct 6, 2020
@mogul mogul closed this as completed Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/inventory Inventory playbooks/roles
Projects
None yet
Development

No branches or pull requests

3 participants