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

replace juju run and juju scp with ssh and scp #43

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

marosg42
Copy link
Contributor

When unit is in error or blocked state juju run will not connect.
Using ssh instead allows to collect data regardless of juju agent
status.

solves #28 amd #26

@marosg42 marosg42 force-pushed the ssh_and_scp branch 2 times, most recently from ff3ce99 to a43c2ea Compare July 25, 2019 08:05
Copy link
Contributor

@jhobbs jhobbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I have some comments.

When unit is in error or blocked state juju run will not connect.
Using ssh instead allows to collect data regardless of juju agent
status.

solves juju#28 amd juju#26
@jhobbs jhobbs merged commit 421ce55 into juju:master Aug 20, 2019
machines = {}
juju_status = yaml.load(open('juju_status.yaml', 'r'),
Loader=yaml.FullLoader)
for machine, machine_data in juju_status['machines'].tems():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo here on items

@marosg42
Copy link
Contributor Author

marosg42 commented Aug 20, 2019 via email

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

Successfully merging this pull request may close these issues.

4 participants