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

[RELEASE] Release version 2.2.1 #2481

Closed
36 of 37 tasks
github-actions bot opened this issue Aug 18, 2022 · 11 comments
Closed
36 of 37 tasks

[RELEASE] Release version 2.2.1 #2481

github-actions bot opened this issue Aug 18, 2022 · 11 comments
Assignees

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Aug 18, 2022

Release OpenSearch and OpenSearch Dashboards 2.2.1

I noticed that a manifest was automatically created in manifests/2.2.1. Please follow the following checklist to make a release.

How to use this issue

This Release Issue

This issue captures the state of the OpenSearch release, its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help. There are linked issues on components of the release where individual components can be tracked. More details are included in the Maintainers Release owner section.

Release Steps

There are several steps to the release process, these steps are completed as the whole release and components that are behind present risk to the release. The release owner completes the tasks in this ticket, whereas component owners resolve tasks on their ticket in their repositories.

Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release.

Component List

To aid in understanding the state of the release there is a table with status indicating each component state. This is updated based on the status of the component issues.

Preparation

  • Assign this issue to a release owner.
  • Declare a pencils down date for new features to be merged.
  • Aug 19th is pencils down date for feature freeze.
  • Update the Campaigns section to include monitoring campaigns during this release.
  • Update this issue so all __REPLACE_RELEASE-__ placeholders have actual dates.
  • Document any new quality requirements or changes.
  • Finalize scope and feature set and update the Public Roadmap.
  • Create a release issue in every component repo that links back to this issue, update Components section with these links.
  • Ensure the label is created in each component repo for this new version, and the next minor release. Create a version label
  • Ensure that all release issues created above are assigned to an owner in the component team.

CI/CD (Feature Freeze) - Aug 19th

  • Create Jenkins workflows that run daily snapshot builds for OpenSearch and OpenSearch Dashboards.
  • Increment each component version to 2.2.1 and ensure working CI in component repositories.
  • Make pull requests to add each component to manifests/2.2.1/opensearch-2.2.1.yml and manifests/2.2.1/opensearch-dashboards-2.2.1.yml with the corresponding checks.
  • OpenSearch / OpenSearch-Dashboards core and components teams finalize their features
  • OpenSearch / OpenSearch-Dashboards core cut branch <MajorVersion>.<MinorVersion> early.

Code Complete - _Ends Aug 19th

Release testing - _Ends Aug 23th

  • All components should have cut branch <MajorVersion>.<MinorVersion> for the release.
  • Declare a release candidate build, and provide the instructions with the release candidates for teams on testing (Aug 23th).
  • Stop builds for this version of OpenSearch and/or OpenSearch Dashboards in order to avoid accidental commits going in unknowingly. Restart only if necessary else manually run the build workflow and declare new release candidate.
  • Sanity Testing (Aug 23th): Sanity testing and fixing of critical issues found by teams. Teams test their components within the distribution, ensuring integration, backwards compatibility, and perf tests pass.
  • Publish all test results in the comments of this issue.

### Release - _Ends Aug 25th

Release - _Ends Aug 30th

Post Release

  • Create release tags for each component (Jenkins job name: release-tag-creation).
  • Replace refs in manifests/2.2.1 with tags and remove checks.
  • If this is a major or minor version release, stop building previous patch version.
  • Generate distribution release notes reviewed by PM team for opensearch-build repository.
  • Increment version for Helm Charts (sample PR) for the 2.2.1 release.
  • Increment version for Ansible Charts (sample PR) for the 2.2.1 release.
  • Prepare for next patch release by incrementing patch versions for each component.
  • Update this template with any new or missed steps.
  • Create an issue for a retrospective, solicit feedback, and publish a summary.

Components

Replace with links to all component tracking issues.

Component On track Release Notes
{COMPONENT_ISSUE_LINK} {INDICATOR}} {STATUS}
Legend

Symbol Meaning
🟢 On track with overall release
🟡 Missed last milestone
🔴 Missed multiple milestones

@bbarani
Copy link
Member

bbarani commented Aug 29, 2022

Hello OpenSearch community. We have discovered a potential last minute issue and need to perform due diligence on it. The teams are still working on this and we will provide another update by the 31st. Your patience is appreciated. Please refer to https://forum.opensearch.org/t/update-1-3-5-2-2-1-on-hold/10727 for current status.

@bbarani
Copy link
Member

bbarani commented Aug 30, 2022

We have got a green signal to release 2.2.1 on Sept 01 2022 and we have started prepping for the release.

@prudhvigodithi
Copy link
Member

prudhvigodithi commented Aug 30, 2022

Release testing
08/30/2022
We have new Artifacts built and ready for testing.

Click to expand and get the latest docker-compose.yml:

docker-compose.yml OS 5997 OSD 4075
version: '3'
services:
  opensearch-node1:
    image: opensearchstaging/opensearch:2.2.1.5997
    container_name: opensearch-node1
    environment:
      - cluster.name=opensearch-cluster
      - node.name=opensearch-node1
      - discovery.seed_hosts=opensearch-node1,opensearch-node2
      - cluster.initial_master_nodes=opensearch-node1,opensearch-node2
      - bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems
        hard: 65536
    volumes:
      - opensearch-data1:/usr/share/opensearch/data
    ports:
      - 9200:9200
      - 9600:9600 # required for Performance Analyzer
    networks:
      - opensearch-net
  opensearch-node2:
    image: opensearchstaging/opensearch:2.2.1.5997
    container_name: opensearch-node2
    environment:
      - cluster.name=opensearch-cluster
      - node.name=opensearch-node2
      - discovery.seed_hosts=opensearch-node1,opensearch-node2
      - cluster.initial_master_nodes=opensearch-node1,opensearch-node2
      - bootstrap.memory_lock=true
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65536
        hard: 65536
    volumes:
      - opensearch-data2:/usr/share/opensearch/data
    networks:
      - opensearch-net
  opensearch-dashboards:
    image: opensearchstaging/opensearch-dashboards:2.2.1.4075
    container_name: opensearch-dashboards
    ports:
      - 5601:5601
    expose:
      - "5601"
    environment:
      OPENSEARCH_HOSTS: '["https://opensearch-node1:9200","https://opensearch-node2:9200"]'
    networks:
      - opensearch-net

volumes:
  opensearch-data1:
  opensearch-data2:

networks:
  opensearch-net:


@opensearch-ci-bot
Copy link
Collaborator

OpenSearch CommitID(after 2022-07-12) & Release Notes info

Repo Branch CommitID Commit Date Release Notes
OpenSearch 2.2 1a1ffa3 2022-08-23 False
common-utils 2.2 8205e9f 2022-08-22 False
job-scheduler 2.2 d90de4a 2022-08-22 False
ml-commons 2.2 bd4ca55 2022-08-23 False
performance-analyzer 2.2 24249cc 2022-08-24 False
security 2.2 a6dd1ca 2022-08-22 False
geospatial 2.2 973e0ef 2022-08-22 False
k-NN 2.2 c853689 2022-08-22 False
cross-cluster-replication 2.2 55ec2a3 2022-08-26 False
notifications-core 2.2 fc0b0a5 2022-08-23 False
notifications 2.2 fc0b0a5 2022-08-23 False
anomaly-detection 2.2 454a912 2022-08-23 False
asynchronous-search 2.2 f534472 2022-08-23 False
alerting 2.2 52e83e1 2022-08-23 False
index-management 2.2 26c4db8 2022-08-23 False
sql 2.2 cf01179 2022-08-23 False
opensearch-observability 2.2 0c031d4 2022-08-23 False
dashboards-reports 2.2 cefc610 2022-08-23 False

@opensearch-ci-bot
Copy link
Collaborator

OpenSearch Dashboards CommitID(after 2022-07-12) & Release Notes info

Repo Branch CommitID Commit Date Release Notes
OpenSearch-Dashboards 2.2 d630bc4 2022-08-23 False
functionalTestDashboards 2.2 8e887e3 2022-08-24 False
securityDashboards 2.2 a190601 2022-08-23 False
customImportMapDashboards 2.2 829e9ba 2022-08-23 False
notificationsDashboards 2.2 fc0b0a5 2022-08-23 False
anomalyDetectionDashboards 2.2 9125b76 2022-08-23 False
alertingDashboards 2.2 b9ebb74 2022-08-24 False
indexManagementDashboards 2.2 dd3643f 2022-08-23 False
queryWorkbenchDashboards 2.2 cf01179 2022-08-23 False
observabilityDashboards 2.2 0c031d4 2022-08-23 False
ganttChartDashboards 2.2 3aa65c1 2022-08-22 False
reportsDashboards 2.2 cefc610 2022-08-23 False

@prudhvigodithi
Copy link
Member

prudhvigodithi commented Aug 30, 2022

OpenSearch 5997 integ-test result.

Success with arm64
Success with x64

@prudhvigodithi
Copy link
Member

prudhvigodithi commented Aug 30, 2022

OpenSearch Dashboard 407 integ-test result arm64.

without-security arm64

 ✔  All specs passed! 

with-security arm64

 ✔  All specs passed!  

OpenSearch Dashboard 407 integ-test result x64.

without-security x64

 ✔  All specs passed! 

with-security x64

✖  1 of 44 failed (2%)  
✖  plugins/security/permissions_spec.j      01:17        5        4        1        -        - │
  │    s    

@prudhvigodithi
Copy link
Member

prudhvigodithi commented Aug 31, 2022

OpenSearch CommitID(after 2022-08-12) & Release Notes info

Repo Branch CommitID Commit Date Release Notes
OpenSearch 2.2 ['9661241', '1a1ffa3', 'fafdd28', '397f1eb', '9bb4155'] ['2022-08-31', '2022-08-23', '2022-08-18', '2022-08-16', '2022-08-15'] True
common-utils 2.2 ['8205e9f'] ['2022-08-22'] False
job-scheduler 2.2 ['d90de4a'] ['2022-08-22'] False
ml-commons 2.2 [] [] False
performance-analyzer 2.2 ['24249cc'] ['2022-08-24'] False
security 2.2 [] [] False
geospatial 2.2 [] [] False
k-NN 2.2 [] [] False
cross-cluster-replication 2.2 ['55ec2a3', 'f96c932', '81ca400', '101467c', '3c81c0e'] ['2022-08-26', '2022-08-26', '2022-08-26', '2022-08-26', '2022-08-23'] False
notifications-core 2.2 ['fc0b0a5'] ['2022-08-23'] False
notifications 2.2 ['fc0b0a5'] ['2022-08-23'] False
anomaly-detection 2.2 [] [] False
asynchronous-search 2.2 [] [] False
alerting 2.2 [] [] False
index-management 2.2 ['26c4db8'] ['2022-08-23'] False
sql 2.2 ['cf01179'] ['2022-08-23'] False
opensearch-observability 2.2 ['0c031d4'] ['2022-08-23'] False
dashboards-reports 2.2 ['cefc610', 'd19fc7f'] ['2022-08-23', '2022-08-22'] False

OpenSearch Dashboards CommitID(after 2022-08-12) & Release Notes info

Repo Branch CommitID Commit Date Release Notes
OpenSearch-Dashboards 2.2 [] [] False
functionalTestDashboards 2.2 [] [] False
securityDashboards 2.2 [] [] False
customImportMapDashboards 2.2 [] [] False
notificationsDashboards 2.2 ['fc0b0a5'] ['2022-08-23'] False
anomalyDetectionDashboards 2.2 [] [] False
alertingDashboards 2.2 ['b9ebb74', '9412033', '1408dc3'] ['2022-08-24', '2022-08-22', '2022-08-22'] False
indexManagementDashboards 2.2 ['dd3643f', 'f92ce61'] ['2022-08-23', '2022-08-22'] False
queryWorkbenchDashboards 2.2 ['cf01179'] ['2022-08-23'] False
observabilityDashboards 2.2 ['0c031d4'] ['2022-08-23'] False
ganttChartDashboards 2.2 [] [] False
reportsDashboards 2.2 ['cefc610', 'd19fc7f'] ['2022-08-23', '2022-08-22'] False

@prudhvigodithi
Copy link
Member

1.3.5 Native plugin validation to install repository-s3

1. sudo ./opensearch-plugin install repository-s3
-> Installing repository-s3
-> Downloading repository-s3 from opensearch
[=================================================] 100%   
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.net.NetPermission setDefaultAuthenticator
* java.net.SocketPermission * connect,resolve
* java.util.PropertyPermission opensearch.allow_insecure_settings read,write
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

Continue with installation? [y/N]y
1. -> Installed repository-s3 with folder name repository-s3


@prudhvigodithi
Copy link
Member

OpenSearch 2.2.1 maven release validation
Screen Shot 2022-09-01 at 11 40 37 AM

@prudhvigodithi
Copy link
Member

Release 2.2.1 https://opensearch.org/versions/opensearch-2-2-1.html
Closing this release issue.
@bbarani

@prudhvigodithi prudhvigodithi unpinned this issue Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants