PLUMgrid charm - plumgrid-director - review required
Bug #1459568 reported by
Bilal Baqar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Review is required for plumgrid-director charm
https:/
Related branches
lp:~plumgrid-team/charms/trusty/plumgrid-director/trunk
- Review Queue (community): Needs Fixing (automated testing)
- Charles Butler: Pending requested
-
Diff: 9850 lines (+4432/-3432)53 files modifiedMakefile (+1/-1)
bin/charm_helpers_sync.py (+253/-0)
charm-helpers-sync.yaml (+6/-1)
config.yaml (+8/-0)
hooks/charmhelpers/contrib/amulet/deployment.py (+4/-2)
hooks/charmhelpers/contrib/amulet/utils.py (+382/-86)
hooks/charmhelpers/contrib/ansible/__init__.py (+0/-254)
hooks/charmhelpers/contrib/benchmark/__init__.py (+0/-126)
hooks/charmhelpers/contrib/charmhelpers/__init__.py (+0/-208)
hooks/charmhelpers/contrib/charmsupport/__init__.py (+0/-15)
hooks/charmhelpers/contrib/charmsupport/nrpe.py (+0/-360)
hooks/charmhelpers/contrib/charmsupport/volumes.py (+0/-175)
hooks/charmhelpers/contrib/database/mysql.py (+0/-412)
hooks/charmhelpers/contrib/network/ip.py (+55/-23)
hooks/charmhelpers/contrib/network/ovs/__init__.py (+6/-2)
hooks/charmhelpers/contrib/network/ufw.py (+5/-6)
hooks/charmhelpers/contrib/openstack/amulet/deployment.py (+135/-14)
hooks/charmhelpers/contrib/openstack/amulet/utils.py (+421/-13)
hooks/charmhelpers/contrib/openstack/context.py (+318/-79)
hooks/charmhelpers/contrib/openstack/ip.py (+35/-7)
hooks/charmhelpers/contrib/openstack/neutron.py (+62/-21)
hooks/charmhelpers/contrib/openstack/templating.py (+30/-2)
hooks/charmhelpers/contrib/openstack/utils.py (+939/-70)
hooks/charmhelpers/contrib/peerstorage/__init__.py (+0/-268)
hooks/charmhelpers/contrib/python/packages.py (+35/-11)
hooks/charmhelpers/contrib/saltstack/__init__.py (+0/-118)
hooks/charmhelpers/contrib/ssl/__init__.py (+0/-94)
hooks/charmhelpers/contrib/ssl/service.py (+0/-279)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+823/-61)
hooks/charmhelpers/contrib/storage/linux/loopback.py (+10/-0)
hooks/charmhelpers/contrib/storage/linux/utils.py (+8/-7)
hooks/charmhelpers/contrib/templating/__init__.py (+0/-15)
hooks/charmhelpers/contrib/templating/contexts.py (+0/-139)
hooks/charmhelpers/contrib/templating/jinja.py (+0/-39)
hooks/charmhelpers/contrib/templating/pyformat.py (+0/-29)
hooks/charmhelpers/contrib/unison/__init__.py (+0/-313)
hooks/charmhelpers/core/hookenv.py (+220/-13)
hooks/charmhelpers/core/host.py (+298/-75)
hooks/charmhelpers/core/hugepage.py (+71/-0)
hooks/charmhelpers/core/kernel.py (+68/-0)
hooks/charmhelpers/core/services/helpers.py (+30/-5)
hooks/charmhelpers/core/strutils.py (+30/-0)
hooks/charmhelpers/core/templating.py (+21/-8)
hooks/charmhelpers/core/unitdata.py (+61/-17)
hooks/charmhelpers/fetch/__init__.py (+18/-2)
hooks/charmhelpers/fetch/archiveurl.py (+1/-1)
hooks/charmhelpers/fetch/bzrurl.py (+22/-32)
hooks/charmhelpers/fetch/giturl.py (+20/-23)
hooks/pg_dir_hooks.py (+24/-2)
hooks/pg_dir_utils.py (+3/-2)
metadata.yaml (+2/-0)
templates/kilo/nginx.conf (+5/-1)
unit_tests/test_pg_dir_hooks.py (+2/-1)
Changed in charms: | |
status: | Incomplete → Fix Committed |
Changed in charms: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Greetings Bilal,
As Charles mentioned on your neutron-iovisor review, it's great to get your contribution to the ecosystem! Overall, this charm looks like a great contribution to Open Stack, though I did run into a couple of issues, as noted below:
* `charm proof` passes with no warnings or errors. Excellent!
* The README is pretty light on details. As Charles suggested in his review, using `charm add readme` will give you a good template to start filling in more detail here.
* `make lint` fails with a quite a few errors. They're mostly "line too long" errors, but there are a few others in there as well.
* Running the tests using bundletester fails with a path error: http:// pastebin. ubuntu. com/11567699/ It appears this is due to running the tests from the root charm folder, and should probably reference the file using: os.path. join(os. path.dirname( __file_ _), 'files/ plumgrid- director. yaml')
* Also, as Charles mentioned in his review, symlinking hooks that are not actually handled can be a bit confusing, so it might be nice to remove the unimplemented ones
* When deploying the charm on AWS, following the instructions in the README, the director charm deploys fine, but I got an install error on neutron-iovisor. I've noted the error on the review for that charm, but to continue testing of this charm, I `juju resolved` it.
* The plumgrid- plugin- relation- joined hook failed, and I found the following two sets of lines in the log file that seem like they might be related: http:// pastebin. ubuntu. com/11569256/ and http:// pastebin. ubuntu. com/11569253/ Of course, it's possible that it might be due to the error in the neutron-iovisor charm and me forcing it with `juju resolved`