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

Autocomplete recover instances #528

Merged
merged 3 commits into from
Dec 13, 2018

Conversation

ricab
Copy link
Collaborator

@ricab ricab commented Dec 13, 2018

No description provided.

Recovering a non-deleted instance is a noop rather than an error. Fixes canonical#526.
Although trying to recover non-deleted instances is not an error, it is not useful either, so they shouldn't be auto-completed.
@codecov
Copy link

codecov bot commented Dec 13, 2018

Codecov Report

Merging #528 into master will increase coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #528      +/-   ##
==========================================
+ Coverage   66.16%   66.18%   +0.02%     
==========================================
  Files         146      146              
  Lines        5704     5702       -2     
==========================================
  Hits         3774     3774              
+ Misses       1930     1928       -2
Impacted Files Coverage Δ
src/daemon/daemon.cpp 21.13% <0%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c99626...628ba22. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Dec 13, 2018

Codecov Report

Merging #528 into master will increase coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #528      +/-   ##
==========================================
+ Coverage   66.16%   66.18%   +0.02%     
==========================================
  Files         146      146              
  Lines        5704     5702       -2     
==========================================
  Hits         3774     3774              
+ Misses       1930     1928       -2
Impacted Files Coverage Δ
src/daemon/daemon.cpp 21.13% <0%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c99626...628ba22. Read the comment docs.

Copy link
Contributor

@townsend2010 townsend2010 left a comment

Choose a reason for hiding this comment

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

Yep, works as advertised:)

bors r+

bors bot added a commit that referenced this pull request Dec 13, 2018
528: Autocomplete recover instances r=townsend2010 a=ricab



Co-authored-by: Ricardo Abreu <[email protected]>
@bors
Copy link
Contributor

bors bot commented Dec 13, 2018

Build succeeded

@bors bors bot merged commit 628ba22 into canonical:master Dec 13, 2018
@ricab
Copy link
Collaborator Author

ricab commented Dec 13, 2018

Note: do not merge/review yet, there is still something I need to do here

@ricab
Copy link
Collaborator Author

ricab commented Dec 13, 2018

Oh I hadn't updated the page 😒 Well, separate PR then

@ricab ricab deleted the autocomplete_recover_instances branch December 14, 2018 10:10
This was referenced Dec 14, 2018
bors bot added a commit that referenced this pull request Dec 20, 2018
551: Release 2018.12.1 r=townsend2010 a=Saviq

### Highlights

- On Linux, suspending/resuming the instance to/from disk is now supported. (#374)
- Better handling of delayed shutdown including posting `wall` messages to logged in users and allowing log ins to the instance unless 1 minute or less remains until shutdown. (#461, #50) 
- On Linux, all CPU flags should be passed into the running instance on newly created instances. (#516)
- Fixed some races around mount handling. (#514, #520)

### Bugs fixed:

- make the recover command idempotent (#528)
- explicitly stop mounts when deleting an instance to avoid a race (#520)
- be smarter about what group owns the multipass socket (#513, #523) 
- pass through all CPU flags when launching QEMU or libvirt instances (#516)
- use `info` log level for metrics issues (#515)
- fix potential race when starting a mount (#514)
- use `wall` shutdown messages for users logged into VM when delayed shutdown is initiated (#501)
- fix crash if exception during daemon start up (#487)
- refactor CLI code (#468)
- add default uid/gid mapping (#331)
- fix file metadata passthrough
- display uid/gid maps in info command (#439)
- add support for the suspend command (#374)
- shell to machine in delayed stop state (#461)
- improve uid/gid validation (#479)
- avoid leaking the libvirt bridge (#327, #413)
- add a restart command (#217)
- upgrade 3rd-party versions (#471)

Co-authored-by: bors[bot] <bors[bot]@users.noreply.github.com>
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.

2 participants