Merge lp://qastaging/~xianghui/charm-helpers/lp1385162 into lp://qastaging/charm-helpers
Proposed by
Xiang Hui
Status: | Superseded |
---|---|
Proposed branch: | lp://qastaging/~xianghui/charm-helpers/lp1385162 |
Merge into: | lp://qastaging/charm-helpers |
Diff against target: |
53 lines (+31/-3) 2 files modified
charmhelpers/contrib/openstack/context.py (+6/-3) tests/contrib/openstack/test_os_contexts.py (+25/-0) |
To merge this branch: | bzr merge lp://qastaging/~xianghui/charm-helpers/lp1385162 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edward Hope-Morley | Needs Fixing | ||
OpenStack Charmers | Pending | ||
Review via email:
|
Description of the change
Hooks failed if no network splits is set and enable https.
vips length should be larger than 0 and network_config should be checked before used if multinet is enabled.
To post a comment you must log in.
Unmerged revisions
- 250. By Xiang Hui
-
Fetch duplicate code with keystone canonical_name() in context.
- 249. By Xiang Hui
-
Fetch apachessl context configuration as a method for other charms calling
- 248. By Xiang Hui
-
Sync lp:charm-helpers.
- 247. By Xiang Hui
-
Fix minor issue.
- 246. By Xiang Hui
-
Remove get_ifaces_cidr()
- 245. By Xiang Hui
-
network splits should be used with multi vips.
- 244. By Xiang Hui
-
Add get_ifaces_cidr().
Getting some unit test failures:
$ make test ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ...{u'DISTRIB_ CODENAME' : u'saucy', u'DISTRIB_RELEASE': u'13.10', u'DISTRIB_ID': u'Ubuntu', u'DISTRIB_ DESCRIPTION' : u'"Ubuntu Saucy Salamander (development branch)"'} CODENAME' : u'saucy', u'DISTRIB_RELEASE': u'13.10', u'DISTRIB_ID': u'Ubuntu', u'DISTRIB_ DESCRIPTION' : u'"Ubuntu Saucy Salamander (development branch)"'} CODENAME' : u'saucy', u'DISTRIB_RELEASE': u'13.10', u'DISTRIB_ID': u'Ubuntu', u'DISTRIB_ DESCRIPTION' : u'"Ubuntu Saucy Salamander (development branch)"'} CODENAME' : u'saucy', u'DISTRIB_RELEASE': u'13.10', u'DISTRIB_ID': u'Ubuntu', u'DISTRIB_ DESCRIPTION' : u'"Ubuntu Saucy Salamander (development branch)"'} ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ...E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) ....... ....... ....... ....... ... ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- python2. 7/dist- packages/ nose/loader. py", line 411, in loadTestsFromName python2. 7/dist- packages/ nose/importer. py", line 47, in importFromPath Dir(dir_ path, fqname) python2. 7/dist- packages/ nose/importer. py", line 94, in importFromDir part_fqname, fh, filename, desc) gizmo/Documents /reviews/ charm-helpers/ lp1385162/ tests/fetch/ test_giturl. py", line 8, in <module> gizmo/Documents /reviews/ charm-helpers/ lp1385162/ charmhelpers/ fetch/giturl. py", line 12, in <module> install( "python- git") gizmo/Documents /reviews/ charm-helpers/ lp1385162/ charmhelpers/ fetch/_ _init__ .py", line 157, in apt_install gizmo/Documents /reviews/ charm-helpers/ lp1385162/ charmhelpers/ core/hookenv. py", line 67, in log call(command) python2. 7/subprocess. py", line 522, in call python2. 7/subprocess. py", line 710, in __init__ python2. 7/subprocess. py", line 1327, in _execute_child
Starting tests...
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
.......
{u'DISTRIB_
{u'DISTRIB_
{u'DISTRIB_
.......
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
F.E....
=======
ERROR: Failure: OSError ([Errno 2] No such file or directory)
-------
Traceback (most recent call last):
File "/usr/lib/
addr.filename, addr.module)
File "/usr/lib/
return self.importFrom
File "/usr/lib/
mod = load_module(
File "/home/
from charmhelpers.fetch import (
File "/home/
apt_
File "/home/
options))
File "/home/
subprocess.
File "/usr/lib/
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_e...