Coder Social home page Coder Social logo

Login does not work about hsds HOT 4 CLOSED

hdfgroup avatar hdfgroup commented on May 17, 2024
Login does not work

from hsds.

Comments (4)

jreadey avatar jreadey commented on May 17, 2024

There's been a recent change where the passwd.txt no longer get built into the docker image. Instead for kubernetes a secret is created with the passd.txt contents.

Try following this updated guid for installing on aws: https://github.com/HDFGroup/hsds/blob/master/docs/kubernetes_install_aws.md, and let me know how it goes.

from hsds.

Akshay-Thakare avatar Akshay-Thakare commented on May 17, 2024

@jreadey I did try the new steps and found a few missing parts for which i created a PR #55

Now i am able to login using hsconfigure but when i try to create a file i keep getting a 404 error as follows

Python 3.7.6 (default, Jan  8 2020, 13:42:34)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import h5pyd as h5py
>>> import numpy as np
>>> a = np.arange(4).reshape(2,2)
>>> a
array([[0, 1],
       [2, 3]])
>>> f = h5py.File('test.h5', 'w')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/i334172/opt/anaconda3/envs/homeCam/lib/python3.7/site-packages/h5pyd/_hl/files.py", line 233, in __init__
    raise IOError(rsp.status_code, rsp.reason)
OSError: [Errno 404] Not Found

Could you please help with this? I had also raised this issue in the h5pyd repo
HDFGroup/h5pyd#82

from hsds.

jreadey avatar jreadey commented on May 17, 2024

Two things:

  1. With h5pyd the filepath must always be an absolute path (e.g. /test.h5)
  2. Only the admin user is allowed to make top-level domains

Typically you'll want to use admin to create folders like /home/akshay/ with akshay as the owner of the folder. Then as akshay, you can create domains with paths in that folder, e.g. /home/akshay/test.h5.

See steps 4 and 5 in "Test the Deployment using Integration Test and Test Data".

from hsds.

Akshay-Thakare avatar Akshay-Thakare commented on May 17, 2024

It worked. Thank you

from hsds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.