~mpontillo/uvtool:fix-uvt-simplestreams-libvirt-permissions

Last commit made on 2017-01-03
Get this branch:
git clone -b fix-uvt-simplestreams-libvirt-permissions https://git.launchpad.net/~mpontillo/uvtool
Only Mike Pontillo can upload to this branch. If you are Mike Pontillo please log in for upload directions.

Branch merges

Branch information

Name:
fix-uvt-simplestreams-libvirt-permissions
Repository:
lp:~mpontillo/uvtool

Recent commits

01b88ac... by Mike Pontillo

Fix permissions on bin/uvt-simplestreams-libvirt to be +x.

9e98e18... by Robie Basak

Fix dnsmasq lease inotify watcher

dnsmasq seems to have changed to renaming a new file in to the leases
file. As we were watching for modifications to this file, file updates
were being missed, so the "uvt-kvm wait" command was failing to see the
changes and eventually timing out.

Now we additionally watch for renames in to the expected path to pick up
on this (better) style of updating the file.

0be85d0... by Robie Basak

Document libvirtd -> libvirt group name change

1034775... by Robie Basak

Manpage: --insecure not needed in common case

Now that uvtool sets the guest's host keys automatically, --insecure is
not always needed, so document this.

d850bb6... by Robie Basak

Fix assert_has_calls use in test

This is defined to accept a list of calls, not a single call. Presumably
a newer version of mock became stricter about this, or a change in
libvirt meant that an additional call was being made, which caused an
inadvertent change in test behaviour because of the call to
assert_has_calls not following the definition.

4a278b2... by Robie Basak

Drop packaging from master branch

Switching to a separate packaging branch instead. See "ubuntu/devel".

96611fd... by Robie Basak

Use the guest's ssh public host key when available

a06a9d8... by Robie Basak

Move ssh insecure testing to ssh function

Move the insecure test back to the ssh function, so that the ssh
function may conditionally permit secure access if the guest's host key
is available.

This adds an internal exception to pass back to the caller, so that the
caller may provide the user with a more helpful error message or
warning depending on the situation.

Tests updated. Since the test doesn't really care about the "insecure"
testing functionality, it can safely just request insecure mode all the
time and verify that this is what was requested. Then it can be
independent of whether the guest's host key is available.

94cc12c... by Robie Basak

Store ssh host keys in libvirt domain xml

36f21af... by Robie Basak

Generate ssh keys on host side