Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Aztk throws exception while creating a cluster #626

Open

Description

@josefarinna

Hello,

I'm trying to install aztk, but when I try to create a Cluster, it throws the following error:
image

Any suggestions on how to install Aztk without issue?

The commands that I used to install Aztk on the new machine (just created) are:
sudo apt install python3-pip
pip3 install --upgrade pip
pip install aztk --user
aztk spark init
modified secrets.yaml
aztk spark cluster create --id my_cluster --size 1 --vm-size standard_d2_v2

I'm using an Azure Standard A0 with Ubuntu 16.04 LTS machine.

Regards.

Activity

  1. jafreck commented on Jul 20, 2018

    @jafreck
    Member

    I was able to reproduce this issue when a cluster.yaml file is not present in the .aztk directory. Can you verify that you have a .aztk/cluster.yaml file present in your working (or home) directory?

    I also was able to reproduce this issue if the plugins: key in cluster.yaml was commented out. This is a bug, which I will fix. If you have commented this section out, then to mitigate until the fix lands, you can uncomment/add an empty plugins block:

    # .aztk/cluster.yaml
    plugins:
  2. josefarinna commented on Jul 23, 2018

    @josefarinna
    Author

    Seems that my cluser.yaml is fine, I didnt modified it because the created one looks good, please find attached cluster.yaml file:
    cluser.txt

  3. josefarinna commented on Jul 23, 2018

    @josefarinna
    Author

    I just realize that I have that issue when I try to create the cluster from the .aztk folder, If I move to the user's folder where the .aztk folder is located, I have a different issue:
    image
    I have aztk installed on another machine, used the same secrets.yaml configuration and in that machine everything is working fine.

  4. jafreck commented on Jul 24, 2018

    @jafreck
    Member

    I believe the second error is a result of having an underscore in your cluster name. That is an ugly error we should clean up, though. I will file a separate bug for that issue. I believe that is unrelated to the main issue with the configuration file.

    Your configuration file looks good at first glance. I will see if I can reproduce using that config.

  5. josefarinna commented on Jul 30, 2018

    @josefarinna
    Author

    Sorry for the late response.
    After doing more checks (creating and destroying the machine) I ended up that this issue happens only if I launch the command from .aztk folder, if I'm on the users folder everything works fine.

  6. jafreck commented on Jul 30, 2018

    @jafreck
    Member

    Glad you found a mitigation. The error should still be cleaned up, though, so I'll leave this open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions