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

peg install misleading error message #127

Open
velicanu opened this issue Oct 2, 2018 · 1 comment
Open

peg install misleading error message #127

velicanu opened this issue Oct 2, 2018 · 1 comment

Comments

@velicanu
Copy link

velicanu commented Oct 2, 2018

peg install asking to "peg fetch" doesn't do anything. After some digging I realize that this is happening because PEG_ROOT is not set. A good fix would be to check if PEG_ROOT is not set and warn about that since at the moment it looks like peg fetch is working properly but peg install doesn't see the result. See below:

ursu-laptop  ~ $ peg install hadoop second_peg_inst_velicanu
cluster does not exist locally
run peg fetch <cluster-name> first
ursu-laptop  ~ $ peg fetch second_peg_inst_velicanu 
pem key velicanu-IAM-keypair found locally
velicanu-IAM-keypair.pem has been added to your ssh-agent
second_peg_inst_velicanu cluster instance type histogram
      6 m4.large

MASTER NODE:
    Hostname:   ip-10-0-0-5
    Public DNS: ec2-34-227-6-167.compute-1.amazonaws.com

WORKER NODE:
    Hostname:   ip-10-0-0-6
    Public DNS: ec2-18-233-246-162.compute-1.amazonaws.com

WORKER NODE:
    Hostname:   ip-10-0-0-8
    Public DNS: ec2-18-235-118-123.compute-1.amazonaws.com

WORKER NODE:
    Hostname:   ip-10-0-0-4
    Public DNS: ec2-35-174-247-65.compute-1.amazonaws.com

WORKER NODE:
    Hostname:   ip-10-0-0-14
    Public DNS: ec2-50-16-66-196.compute-1.amazonaws.com

WORKER NODE:
    Hostname:   ip-10-0-0-13
    Public DNS: ec2-18-214-202-110.compute-1.amazonaws.com

ursu-laptop  ~ $ peg install hadoop second_peg_inst_velicanu
cluster does not exist locally
run peg fetch <cluster-name> first
@velicanu
Copy link
Author

velicanu commented Oct 2, 2018

I realize now that it's failing because I inverted the order of cluster name and what to install. Not sure if what I said above is still relevant, feel free to close this issue.

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

No branches or pull requests

1 participant