Multiple Namespaces

Jeffrey Lane jeffrey.lane at canonical.com
Thu Sep 10 19:12:42 UTC 2015


I asked on both IRC channels and got no response, so trying here instead:

Does anyone know how to use multiple namespaces with checkbox-ng?

I have a provider based on the server-cert provider.  The current published
version of this provider uses the same namespace as the checkbox provider
and works pretty well.

However, the experimental version of this has been changed to use a
different namespace.  Now trying to run the experimental version fails with
some errors about a missing dependencies.

http://paste.ubuntu.com/12329119/

Shows the console output I get when running the new version.  keep in mind
this is the ONLY change I've made:

=== modified file 'manage.py'
--- manage.py 2015-02-23 22:46:57 +0000
+++ manage.py 2015-09-08 22:36:04 +0000
@@ -77,8 +77,8 @@


 setup(
-    name='2013.com.canonical.certification:opencompute-testing',
+    name='2015.org.opencompute.certification:opencompute-testing',
     version="1.0",
     description=N_("OpenCompute Certification provider"),
-    gettext_domain="2013_com_canonical_certification_opencompute-testing",
+
 gettext_domain="2015_org_opencompute_certification_opencompute-testing",
 )

which just changes the namespace from the Canonical one to an OCP one.

I have a feeling I will need to change the whitelists to test plan units to
make this work so I can call the resource stuff by the canonical namespace,
but I wanted to check here before I dived in that deeply.

So am I at least on the right track?  Has ANYONE actually used separate
namespaces on plainbox providers?
-- 
"Entropy isn't what it used to be."

Jeff Lane - Server Certification Lead, OCP Certification Tools Engineering
Lead,
                  Warrior Poet, Biker, Lover of Pie
Phone: 919-442-8649
Ubuntu Ham: W4KDH                          Freenode IRC: bladernr or
bladernr_
gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417  C466 4ABD 3635 3A14 B2DD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/checkbox-devel/attachments/20150910/83c0f500/attachment.html>


More information about the Checkbox-devel mailing list