Giter Club home page Giter Club logo

acs-jupyterhub's People

Contributors

ryanlovett avatar yuvipanda avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

acs-jupyterhub's Issues

Traceback erro when running verify ssh works

Hi,

I'm getting error on command line "verify ssh works"
Note that i printed the ssh command and ran it manually and it it working(ssh login to master)

command print:(working from my host)
ssh -i myclustername/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=useradmin myclustername.westeurope.cloudapp.azure.com

command error from deploy.sp: failed!!

demouser@Ubuntu16Dev:~/acs-jupyterhub$ ./deploy.py -s xxxxdac2-b53c-xx3a-8159-9eexxx9f08f0 -n myclustername
Retrying role assignment creation: 1/36
INFO[0000] Generating assets...
verify ssh works cmd: ['ssh', '-i', 'myclustername/id_rsa', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'User=useradmin', 'myclustername.westeurope.cloudapp.azure.com', 'true']
Warning: Permanently added 'myclustername.westeurope.cloudapp.azure.com,40.68.254.189' (ECDSA) to the list of known hosts.
System is going down.

Connection to myclustername.westeurope.cloudapp.azure.com closed by remote host.
Traceback (most recent call last):
File "./deploy.py", line 111, in
sp.check_call(cmd)
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ssh', '-i', 'myclustername/id_rsa', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'User=useradmin', 'myclustername.westeurope.cloudapp.azure.com', 'true']' returned non-zero exit status 255

Any help what is the different? and what is the error?

Thanks!

Error when trying to create a test cluster

Running deploy.py script results in the following error. Any thoughts on why this could happen? I have made some changes in our cluster configuration: updated K8s major version to 1.8, renamed some attribute values, switched to US East 2 zone and downgraded K8s VM size from Standard_E4_v3 to Standard_E2_v3.

./deploy.py -s <SUBSCRIPTION_ID> -n sbdh-jh-v2 -d 1 -D 128

Traceback (most recent call last):
  File "./deploy.py", line 72, in <module>
    r = sp.check_output(cmd)
  File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib64/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['acs-engine', 'generate', 'sbdh-jh-v2/cluster.json']' returned non-zero exit status 1.

scale-down.py

Hello,

Can you provide scale-down.py file? for instance if i'd like to decrees the amount of VMs.
dose ARM template support scaling down?

Thanks,
Oshik.

Ansibilize NFS client and server

  • Write NFS server ansible playbook; zfs is manual
  • Write NFS client ansible playbook
  • Write k8s integration for inventory
  • Ansible role for creating users, fetching github keys, and sudo nopassword
  • ARM templates for NFS and jump box

bootstrap/config.yaml: No such file or directory

Thanks for great repo!

After 10 min of deploy(deploy.py) running i'm getting the following error:

demouser@Ubuntu16:~/acs-jupyterhub$ ./deploy.py -s 9xxxdac2-b5xx-4c3a-8159-9ee21axxxf0 -n k8s-es5 -d 2 -D 110
INFO[0000] Generating assets...
Warning: Permanently added 'k8s-es5.westus2.cloudapp.azure.com,52.247.214.71' (ECDSA) to the list of known hosts.
Warning: Permanently added 'k8s-es5.westus2.cloudapp.azure.com,52.247.214.71' (ECDSA) to the list of known hosts.
bootstrap/config.yaml: No such file or directory
setup.bash 100% 553 0.5KB/s 00:00
Traceback (most recent call last):
File "./deploy.py", line 143, in
sp.check_call(cmd)
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['scp', '-i', 'k8s-es5/id_rsa', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'User=datahub', 'bootstrap/config.yaml', 'bootstrap/setup.bash', 'k8s-es5.westus2.cloudapp.azure.com:']' returned non-zero exit status 1

Can you check the git repo and upload config.yaml?
BTW, i found another issues with vmSize. "Standard_D4s_v3" are not supported on ACS. i changed it to "Standard_DS4_v2" and the error disappeared.

Waiting for help.

Thanks!

PLAY [nfs_servers] ERROR

hi,

Any help why i failed on PLAY [nfs_servers]?

Thanks.
Error:
demouser@Ubuntu16Dev:~/acs-jupyterhub$ ./deploy.py -s 9xxxxxc2-bxxx-4c3a-81x9-9ee21xxf08f0 -n k8s-es5-3 -d 2 -D 134
Retrying role assignment creation: 1/36
INFO[0000] Generating assets...
Warning: Permanently added 'k8s-es5-3.westus2.cloudapp.azure.com,52.247.209.8' (ECDSA) to the list of known hosts.
Warning: Permanently added 'k8s-es5-3.westus2.cloudapp.azure.com,52.247.209.8' (ECDSA) to the list of known hosts.
setup.bash 100% 553 0.5KB/s 00:00
.ansible.cfg 100% 37 0.0KB/s 00:00
Warning: Permanently added 'k8s-es5-3.westus2.cloudapp.azure.com,52.247.209.8' (ECDSA) to the list of known hosts.
Cloning into 'k8s-nfs-ansible'...
Warning: Permanently added 'k8s-es5-3.westus2.cloudapp.azure.com,52.247.209.8' (ECDSA) to the list of known hosts.
id_rsa 100% 1675 1.6KB/s 00:00
id_rsa.pub 100% 402 0.4KB/s 00:00
Warning: Permanently added 'k8s-es5-3.westus2.cloudapp.azure.com,52.247.209.8' (ECDSA) to the list of known hosts.
gpg: keyring /tmp/tmphdnvj8dz/secring.gpg' created gpg: keyring /tmp/tmphdnvj8dz/pubring.gpg' created
gpg: requesting key 7BB9C367 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmphdnvj8dz/trustdb.gpg: trustdb created
gpg: key 7BB9C367: public key "Launchpad PPA for Ansible, Inc." imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

PLAY [nfs_servers] *************************************************************

TASK [Gathering Facts] *********************************************************
fatal: [nfsserver]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Host key verification failed.\r\n", "unreachable": true}
to retry, use: --limit @/home/datahub/k8s-nfs-ansible/playbook.retry

PLAY RECAP *********************************************************************
nfsserver : ok=0 changed=0 unreachable=1 failed=0

Traceback (most recent call last):
File "./deploy.py", line 155, in
sp.check_call(cmd)
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ssh', '-i', 'k8s-es5-3/id_rsa', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'User=datahub', 'k8s-es5-3.westus2.cloudapp.azure.com', 'sudo bash bootstrap/setup.bash k8s-es5-3']' returned non-zero exit status 1

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.