Closed ScharfViktor closed 1 year ago
confirmatory testing RC-2: RC2
@ScharfViktor we need to add two topic in the task list above, both are about tagging repos (and naming in docs) to have a release dependent access from the docs pov. This is valid for:
See: See issue: https://github.com/owncloud/ocis/issues/5040 (Release deployment examples) and https://github.com/owncloud/ocis/issues/4986#issuecomment-1326272862
Note that those two topics must also be part of a future release plan.
setup from: https://owncloud.dev/ocis/deployment/ocis_s3/
with basic auth enabled
image: owncloud/ocis:2.0.0-rc.2
All the tests are passing
oCIS: 2.0.0-rc.2
desktop-client: 3.0.0-rc2
:heavy_check_mark: Squish tests are passing
reopened https://github.com/owncloud/web/issues/7960 because I think the error message is not good see https://github.com/owncloud/web/issues/7960#issuecomment-1330175076
All the tests are passing
Set up from https://doc.owncloud.com/ocis/next/deployment/container/orchestration/orchestration.html#kubernetes With : image: owncloud/ocis:2.0.0-rc.2 basic auth: enabled
Maybe these required changes need to be documented as well
# charts/ocis/templates/storage-users/deployment.yaml
env:
- name: STORAGE_USERS_MOUNT_ID
value: <random uuidv4>
# charts/ocis/templates/gateway/deployment.yaml
env:
- name: GATEWAY_STORAGE_USERS_MOUNT_ID
value: <random uuidv4>
All the tests are passing Set up from: https://owncloud.dev/ocis/storage-backends/dcfsnfs/ commit id: 65849896b76acfab242e092188c75b71c0db8173 ocis started with:
OCIS_BASE_DATA_PATH=/ocis/ocis-data OCIS_LOG_LEVEL=debug OCIS_INSECURE=true PROXY_HTTP_ADDR=0.0.0.0:9200 PROXY_ENABLE_BASIC_AUTH=true OCIS_URL=https://localhost:9200 ./bin/ocis server
/ocis/ocis-data
is mounted
Testing
NFS setup through: https://owncloud.dev/ocis/storage-backends/dcfsnfs/
I had a nfs server with storage 5.6 GB
I tried to upload a 6GB
file following is the current behavior
While trying to exhaust the storage one by one by uploading 1GB
file
Works as expected now
Upload performance: Uploading ~1k~ 10k files as described in https://github.com/owncloud/ocis/issues/5061 takes around 2min on my machine. 8core 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz Samsung SSD 980 1TB
But after the upload the CPU load stays high for a while, same after deleting all the files again. In this graph you see the CPU load after upload, wait till the load is reduced and then the CPU load after deletion
@individual-it Hrm... Things look pretty different on my machine. My CPU is a bit faster, but the difference is pretty severe: 16 Core AMD Ryzen 7 5800H on a SSD 970 EVO Plus 2TB
CPU usage for the same scenario (upload of 1k files (19MB in total) using the desktop client, then deleting them):
oops I have 10k files not 1k as described in https://github.com/owncloud/ocis/issues/5061 every folder has 1k files and the folder is duplicated 10x
e2e tests helm/k8s
All the tests are passing
Set up from https://doc.owncloud.com/ocis/next/deployment/container/orchestration/orchestration.html#kubernetes With : image: owncloud/ocis:2.0.0-rc.2 basic auth: enabled
Maybe these required changes need to be documented as well
# charts/ocis/templates/storage-users/deployment.yaml env: - name: STORAGE_USERS_MOUNT_ID value: <random uuidv4> # charts/ocis/templates/gateway/deployment.yaml env: - name: GATEWAY_STORAGE_USERS_MOUNT_ID value: <random uuidv4>
Update to ocis-charts
and docs-ocis
is on the way
https://github.com/owncloud/ocis-charts/pull/125
https://github.com/owncloud/docs-ocis/pull/310
image: owncloud/ocis:2.0.0-rc.2
PROXY_ENABLE_BASIC_AUTH:-true
OCIS=true BASE_URL_OCIS='ocis.owncloud.test' HEADLESS=true pnpm test:e2e:cucumber tests/e2e/cucumber/**/*[!.oc10].feature
Result: All the tests are passing
[x] Spreadsheet
[x] Document
[x] Presentation
[ ] Spreadsheet
[x] Document
[x] Presentation
ocis - 2.0.0-rc.2 with CLOUD_OIDC_ENABLED=true
Test | 2.0.0-rc.2 | 2.0.0-rc.1 |
---|---|---|
most-used-sizes-upload | 0h01m49.4s | 0h02m54.7s |
propfind-deep-100-files-45-nested-folders | 0h02m09.8s | 0h05m01.2s |
propfind-deep-1000-files-5-nested-folders | 0h02m00.0s | 0h03m53.7s |
propfind-flat-1000-files | 0h00m33.2s | 0h00m58.1s |
upload-delete-restore-many-large | 0h00m16.2s | 0h00m16.1s |
upload-delete-restore-many-small | 0h00m10.2s | 0h00m11.2s |
upload-delete-trash-many-large | 0h00m16.8s | 0h00m16.4s |
upload-delete-trash-many-small | 0h00m09.7s | 0h00m10.8s |
upload-download-delete-many-large | 0h00m20.8s | 0h00m20.3s |
upload-download-delete-many-small | 0h00m15.5s | 0h00m19.4s |
download-delete-with-new-user | X 0h00m00.3s | X 0h00m00.3s |
propfind-deep-rename | 0h01m38.1s | 0h01m23.1s |
share-with-new-user | 0h00m17.7s | 0h00m15.1s |
image: owncloud/ocis:2.0.0-rc.2
PROXY_ENABLE_BASIC_AUTH:-true
OCIS=true BASE_URL_OCIS='ocis.owncloud.test' HEADLESS=true pnpm test:e2e:cucumber tests/e2e/cucumber/**/*[!.oc10].feature
Result: All the tests are passing
/deployments/examples/ocis_ldap
open https://ocis.owncloud.test/
-> user management
as admin
open https://ldap.owncloud.test/
and login as admin cn=admin,dc=owncloud,dc=com
and pass admin
bob
(created without role???)qa-group
and add bob
and einstein
as membersopen https://ocis.owncloud.test/
-> user management
as admin
spaceManager
open https://ocis.owncloud.test/
-> as Marie
bob
and einstein
(bob
and einstein
can see space)qa-group
(bob
and einstein
can see resourse)open https://ldap.owncloud.test/
as admin
bob
from qa-group
group (bob
cannot see incoming resource)qa-group
group (einstein
cannot see incoming resource, admin
cannot see group in user managment
and cannot share to qa-group
group)bob
and einstein
(bob
and einstein
cannot login)from 2.0.0-rc-1 to 2.0.0-rc.2
if you switch ocis rc1
to rc2
without env: GATEWAY_STORAGE_USERS_MOUNT_ID
and STORAGE_USERS_MOUNT_ID
-> ocis does not start because ocis.yaml (created earlier) does not contain mount_id
log: The storage users mount ID has not been configured for gateway. Make sure your /etc/ocis config contains the proper values (e.g. by running ocis init or setting it manually in the config/corresponding environment variable).
if you switch ocis rc1
to rc2
with env: GATEWAY_STORAGE_USERS_MOUNT_ID=random_UUID
and STORAGE_USERS_MOUNT_ID=random_UUID
ocis works but without shares and public shares
Compatibility test FAIL - no public share or share
from 2.0.0-rc-1 to 2.0.0-rc.2
Create these with the original oCIS version and see if still the same after upgrading:
shares
- [ ] public share
- [ ] share with user as role editor
- [ ] share with user as role viewer
- [ ] share with group "Users"
settings
- [x] language settings
files
- [x] uploaded folder & files
- [x] trashed files
project space
- [x] uploaded folder & files
- [x] trashed files
- [x] share space with user
- [ ] public share space
users
- [x] non demo user with role admin
- [x] non demo user with role user
- [x] created new user
- [x] created new group
remarks:
if you switch ocis
rc1
torc2
without env:GATEWAY_STORAGE_USERS_MOUNT_ID
andSTORAGE_USERS_MOUNT_ID
-> ocis does not start because ocis.yaml (created earlier) does not containmount_id
log:The storage users mount ID has not been configured for gateway. Make sure your /etc/ocis config contains the proper values (e.g. by running ocis init or setting it manually in the config/corresponding environment variable).
if you switch ocis
rc1
torc2
with env:GATEWAY_STORAGE_USERS_MOUNT_ID=random_UUID
andSTORAGE_USERS_MOUNT_ID=random_UUID
ocis works but without shares and public shares
It works only we start docker-compose with env: GATEWAY_STORAGE_USERS_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009157
and STORAGE_USERS_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009157
Result of testing: cc @micbar
@ScharfViktor
It works only we start docker-compose with env: GATEWAY_STORAGE_USERS_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009157 and STORAGE_USERS_MOUNT_ID=1284d238-aa92-42ce-bdc4-0b0000009157
Yes, this is a workaround to avoid any breaking changes. This is still not recommended because it can cause trouble later on.
@ScharfViktor @individual-it
We are good to go! Thanks for your efforts!
Release Notes https://doc.owncloud.com/docs/next/ocis_release_notes.html#infinite-scale-2-0-0
https://github.com/owncloud/ocis/releases/tag/v2.0.0
https://download.owncloud.com/ocis/ocis/stable/2.0.0/
docker pull owncloud/ocis:2.0.0
Tasks
Pre QA Phase
release-2.0.0-rc.2
-> CODEFREEZEchangelog/CHANGELOG.tmpl
ocis-pkg/version/version.go
sonar-project.properties
changelog/2.0.0_2022-11-05
v2.0.0-rc.2
v2.0.0-rc.2
tag / BLOCKING for all further activityv2.0.0-rc.2
ocis.released.owncloud.works
QA Phase
v2.0.0-rc.2
tag @ScharfViktorsingle binary
docker
docker-compose
helm/k8s
After QA Phase
[x] Brief company-wide heads up via mail @tbsbdr
[x] Create branch
release-2.0.0
changelog/CHANGELOG.tmpl
ocis-pkg/version/version.go
sonar-project.properties
released
deployment versionschangelog/2.0.0_2022-09-05
[x] PR for Release Notes in the docs repo @tbsbdr
[x] Create final signed tag
v2.0.0
@micbar (reference for all GA communication)[x] Create (final signed) tag for
ocis-charts
https://github.com/owncloud/ocis/ocis-charts @micbar[x] Check successful CI run on
v2.0.0
tag / BLOCKING for all further activity[x] Merge release notes after ok @mmattel
[x] post-release communication
#oCIS-beta
channel once the GA is available to make clear beta is over[x] Merge back release branch