Merge lp://qastaging/~gnuoy/charms/trusty/nova-cloud-controller/add-console-access into lp://qastaging/~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next

Proposed by Liam Young
Status: Merged
Merged at revision: 92
Proposed branch: lp://qastaging/~gnuoy/charms/trusty/nova-cloud-controller/add-console-access
Merge into: lp://qastaging/~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next
Diff against target: 402 lines (+267/-2)
6 files modified
README.txt (+5/-0)
config.yaml (+17/-0)
hooks/nova_cc_hooks.py (+36/-0)
hooks/nova_cc_utils.py (+48/-0)
unit_tests/test_nova_cc_hooks.py (+93/-2)
unit_tests/test_nova_cc_utils.py (+68/-0)
To merge this branch: bzr merge lp://qastaging/~gnuoy/charms/trusty/nova-cloud-controller/add-console-access
Reviewer Review Type Date Requested Status
Liam Young (community) Needs Resubmitting
James Page Needs Fixing
Review via email: mp+226319@code.qastaging.launchpad.net

Description of the change

Added support for console access to guest instances using vnc via browser (novnc), vnc via java client (xvpvnc) or spice via browser.

The bug reports suggests this should be baked into the nova-cloud-controller charm which is what I've done but I'm still sitting on the fence as to whether this would be better as a standalone principle charm.

To post a comment you must log in.
Revision history for this message
James Page (james-page) wrote :

I think this is fine as a function of the nova-cc charm; I've made a couple of comments.

One other question - does this work OK when more that one nova-cc service unit is being used? I'm not familiar with how this part of openstack actually works. Right now, users would always be directed to the unit serving the VIP and would not be load balanced - but this might actually be the right behaviour!

review: Needs Fixing
95. By Liam Young

Remove none as default option for console-access-protocol and tidyup code accordingly

96. By Liam Young

Rebased

97. By Liam Young

Updated README

98. By Liam Young

Set console_settings for compute node if leader or not as leadership is irrelevant and stale settings can persist otherwise

Revision history for this message
Liam Young (gnuoy) wrote :

> I think this is fine as a function of the nova-cc charm; I've made a couple of
> comments.
>

I've made the changes you suggested

> One other question - does this work OK when more that one nova-cc service unit
> is being used? I'm not familiar with how this part of openstack actually
> works. Right now, users would always be directed to the unit serving the VIP
> and would not be load balanced - but this might actually be the right
> behaviour!

I think this is behaviour is fine tbh. I've had a play with an ha setup and the client handshake fails. I haven't looked into to much further (maybe sticky haproxy sessions are needed). If you have no objection I'll create a wishlist bug and grab it to look at ha further but I'm not convinced it will work.

review: Needs Resubmitting
99. By Liam Young

README update, enable ability to explictly set the use of the nova-cc address and use the PUBLIC address

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches