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

Operations/tasks support machines as receivers #11978

Merged
merged 1 commit into from Sep 9, 2020

Conversation

wallyworld
Copy link
Member

Description of change

The new opt-in action UX did not handle listing operations, show task etc for juju run actions, since for those the receiver is a machine, and only a unit receiver was supported.

Add support for either unit or machine receivers for processing operations/tasks. Also enhance the operations query to support machines. Usage is opt-in using a feature flag and new "machines" query parameter is optional so no facade bump needed.

QA steps

juju exec --machine 1 hostname
juju operations --machine 1
juju show-task 2 --format yaml

Copy link
Member

@ycliuhw ycliuhw left a comment

Choose a reason for hiding this comment

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

lgtm thanks

@wallyworld
Copy link
Member Author

$$merge$$

@jujubot jujubot merged commit d66eb5d into juju:2.8 Sep 9, 2020
@wallyworld
Copy link
Member Author

@jameinel jameinel mentioned this pull request Sep 10, 2020
4 tasks
jujubot added a commit that referenced this pull request Sep 11, 2020
#11986

### Checklist

 - [ ] Checked if it requires a [pylibjuju](https://github.com/juju/python-libjuju) change?
 - [ ] Added [integration tests](https://github.com/juju/juju/tree/develop/tests) for the PR?
 - [ ] Added or updated [doc.go](https://discourse.jujucharms.com/t/readme-in-packages/451) related to packages changed?
 - [ ] Do comments answer the question of why design decisions were made?

----

## Description of change

This is merging 2.8 into develop, including:
 prdesc Merge pull request #11985 from mhilton/008-multiwatcher-application-offers
 prdesc Merge pull request #11980 from jameinel/2.8-log-stderr-warning-1893993
 prdesc Merge pull request #11977 from tlm/bug-juju-app-label
 prdesc Merge pull request #11978 from wallyworld/juju-machine-operations
 prdesc Merge pull request #11975 from benhoyt/bug-1888409



## QA steps

See individual PRs.

## Documentation changes

See individual PRs.

## Bug reference
 prdesc https://bugs.launchpad.net/juju/+bug/1893993
 prdesc https://bugs.launchpad.net/juju/+bug/1892285
 prdesc https://bugs.launchpad.net/juju/+bug/1888409
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants