~ionutbalutoiu/charms/trusty/neutron-api/next

« back to all changes in this revision

Viewing changes to hooks/neutron_api_utils.py

  • Committer: David Ames
  • Date: 2015-12-17 15:36:42 UTC
  • mfrom: (158.1.1 trunk)
  • Revision ID: david.ames@canonical.com-20151217153642-7pgimtlj74r75a5w
[jamespage, r=thedac] Ensure that apt_update calls are made with fatal=True to detect and source configuration problems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
 
208
208
        add_source(calico_source)
209
209
 
210
 
        apt_update()
211
 
        apt_upgrade()
 
210
        apt_update(fatal=True)
 
211
        apt_upgrade(fatal=True)
212
212
 
213
213
 
214
214
def force_etcd_restart():