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

[QA] eos fst are offline by default - upload fails #862

Closed
jnweiger opened this issue Nov 16, 2020 · 6 comments
Closed

[QA] eos fst are offline by default - upload fails #862

jnweiger opened this issue Nov 16, 2020 · 6 comments
Assignees
Labels

Comments

@jnweiger
Copy link
Contributor

jnweiger commented Nov 16, 2020

  • Started locally:
cd ocis/ocis
checkout v1.0.0-rc3
docker-compose -f docker-compose-eos-test.yml up -d
sleep 600 # wait long enough so that everthing gets ready.
firefox https://localhost:9200 &
docker-compose  -f docker-compose-eos-test.yml logs -f --no-color --tail=10
  • login as einstein.
  • see the Shared folder.
  • +New -> Upload File
    The progress-bar reaches 100%, but then nothing appears in the GUI.
  • docker-compose -f docker-compose-eos-test.yml exec ocis eos fs ls
    ... shows 4 times offline ...

Expected behaviour: the fst's should be online. The upload should appear in the filesystem.

Workaround:

  • docker-compose -f docker-compose-eos-test.yml exec ocis eos space set default on
    Now the upload with the WEB UI succeeds.
@micbar
Copy link
Contributor

micbar commented Nov 16, 2020

@jw I pushed new eos-base and eos-stack images.

Will need an rc4 to get into your stack.

@jnweiger
Copy link
Contributor Author

Thanks!
When placing rc4, could you also comment on pining the build environment to rc4 ?
I cannot tell if it should or should not be pinned: #814

@jnweiger
Copy link
Contributor Author

jnweiger commented Nov 18, 2020

Retested with docker-compose-eos-test.yml from branch fix-yml-for-rc5 on localhost:

owncloud/eos-mgm 4.6.5 still has the short 40 line /setup script, the new code from https://github.com/owncloud-docker/eos-stack/blob/master/eos-mgm/setup#L48
is missing.

https://hub.docker.com/r/owncloud/eos-mgm/tags has nothing newer. Do I need to use a different repository?

@jnweiger
Copy link
Contributor Author

All eos-* docker images are now updated at docker hub. same 4.6.5 tag.
the startup now shows a perfectly fine:

mgm-master    | ===== [mgm setup] LDAP CONFIGURATION =====
mgm-master    |
mgm-master    | ===== [mgm setup] RUNNING SOME CHECKS =====
mgm-master    | info: creating group 'default.0'
mgm-master    | waiting for four fst to appear in 'eos fs ls' ...
mgm-master    | waiting for four fst to appear in 'eos fs ls' ...
mgm-master    | ┌────────────────────────┬────┬──────┬────────────────────────────────┬────────────────┬────────────────┬────────────┬──────────────┬────────────┬────────┬────────────────┐
mgm-master    | │host                    │port│    id│                            path│      schedgroup│          geotag│        boot│  configstatus│       drain│  active│          health│
mgm-master    | └────────────────────────┴────┴──────┴────────────────────────────────┴────────────────┴────────────────┴────────────┴──────────────┴────────────┴────────┴────────────────┘
mgm-master    |  fst.testnet              1095      1                    /disks/eosfs1        default.0                        booted             rw      nodrain
mgm-master    |  fst.testnet              1095      2                    /disks/eosfs2        default.0                        booted             rw      nodrain
mgm-master    |  fst.testnet              1095      3                    /disks/eosfs3        default.0                        booted             rw      nodrain
mgm-master    |  fst.testnet              1095      4                    /disks/eosfs4        default.0                        booted             rw      nodrain
mgm-master    |
mgm-master    | waiting for fst to come online in 'eos fs ls' ...
mgm-master    | ┌────────────────────────┬────┬──────┬────────────────────────────────┬────────────────┬────────────────┬────────────┬──────────────┬────────────┬────────┬────────────────┐
mgm-master    | │host                    │port│    id│                            path│      schedgroup│          geotag│        boot│  configstatus│       drain│  active│          health│
mgm-master    | └────────────────────────┴────┴──────┴────────────────────────────────┴────────────────┴────────────────┴────────────┴──────────────┴────────────┴────────┴────────────────┘
mgm-master    |  fst.testnet              1095      1                    /disks/eosfs1        default.0             test       booted             rw      nodrain   online              N/A
mgm-master    |  fst.testnet              1095      2                    /disks/eosfs2        default.0             test       booted             rw      nodrain   online              N/A
mgm-master    |  fst.testnet              1095      3                    /disks/eosfs3        default.0             test       booted             rw      nodrain   online              N/A
mgm-master    |  fst.testnet              1095      4                    /disks/eosfs4        default.0             test       booted             rw      nodrain   online              N/A
mgm-master    |
mgm-master    |
mgm-master    | ===== [mgm setup] ENABLE TRASHBIN =====
mgm-master    | success: configured policy in space='default' as policy.recycle='on'
mgm-master    |
mgm-master    | ===== [mgm setup] DONE =====

thanks to @micbar for fixing the publishing context.

@jnweiger
Copy link
Contributor Author

jnweiger commented Nov 19, 2020

Setup for RC5 testing:

cd ocis/ocis
checkout master
cp docker-compose-eos-test.yml master-docker-compose-eos-test.yml
checkout v1.0.0-rc5
env EOS_OCIS_TAG=1.0.0-rc5 BRANCH=v1.0.0-rc5 docker-compose -f master-docker-compose-eos-test.yml up -d

-> #898 [QA] Update EOS dev docs

@jnweiger
Copy link
Contributor Author

jnweiger commented Dec 1, 2020

Retested with this setup for RC6

cd ocis/ocis
checkout v1.0.0-rc6
env EOS_OCIS_TAG=1.0.0-rc6 BRANCH=v1.0.0-rc6 docker-compose -f master-docker-compose-eos-test.yml up -d
  • The fst's are online now by default. OK

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants