Merge lp:~gnuoy/charms/trusty/neutron-api/move-aptinstall into lp:~openstack-charmers-archive/charms/trusty/neutron-api/next

Proposed by Liam Young
Status: Merged
Merged at revision: 105
Proposed branch: lp:~gnuoy/charms/trusty/neutron-api/move-aptinstall
Merge into: lp:~openstack-charmers-archive/charms/trusty/neutron-api/next
Diff against target: 24 lines (+4/-3)
1 file modified
hooks/neutron_api_hooks.py (+4/-3)
To merge this branch: bzr merge lp:~gnuoy/charms/trusty/neutron-api/move-aptinstall
Reviewer Review Type Date Requested Status
Corey Bryant (community) Approve
Review via email: mp+256820@code.launchpad.net
To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #3675 neutron-api-next for gnuoy mp256820
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/3675/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #3463 neutron-api-next for gnuoy mp256820
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/3463/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #3465 neutron-api-next for gnuoy mp256820
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/3465/

Revision history for this message
Corey Bryant (corey.bryant) wrote :

LGTM and tested successfully on upgrade from juno->kilo

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/neutron_api_hooks.py'
2--- hooks/neutron_api_hooks.py 2015-04-02 20:15:28 +0000
3+++ hooks/neutron_api_hooks.py 2015-04-20 14:12:57 +0000
4@@ -141,9 +141,6 @@
5 ' remove any distributed routers')
6 log(e, level=ERROR)
7 raise Exception(e)
8- apt_install(filter_installed_packages(
9- determine_packages(config('openstack-origin'))),
10- fatal=True)
11 if config('prefer-ipv6'):
12 setup_ipv6()
13 sync_db_with_multi_ipv6_addresses(config('database'),
14@@ -156,6 +153,10 @@
15 else:
16 if openstack_upgrade_available('neutron-server'):
17 do_openstack_upgrade(CONFIGS)
18+
19+ apt_install(filter_installed_packages(
20+ determine_packages(config('openstack-origin'))),
21+ fatal=True)
22 configure_https()
23 update_nrpe_config()
24 CONFIGS.write_all()

Subscribers

People subscribed via source and target branches