<div dir="ltr">Hi All,<br><br>On Tue, May 12, 2015 at 2:16 AM, Thomas Goirand <<a href="mailto:thomas@goirand.fr">thomas@goirand.fr</a>> wrote:<br>> Once I did, pkgos-reqsdiff worked perfectly, and showed numerous issues in the dependencies, like lack of version numbers in some the dependencies. It also shows the difference when packaging Oslo libraries, with Canonical using python-oslo-* instead of python-oslo. (ie: dash instead of dot). This has to be fixed. Note that this is due to upstream OpenStack project doing lots of funny things with renaming of libraries, namespace fun and so on, <div><br></div><div>Renaming of which libraries? I did not get how the last sentence is related to python-oslo.* ! would you please explain it a little bit more?</div><div><br></div><div>> so I do understand how Canonical team may have done a mistake here.<div><br></div><div>Why renaming python-oslo.* to python-oslo-* can be a mistake?   <br><div><br></div><div>><br>>Another thing which shall be done, is providing a correct default configuration file for Manila. To generate the file, you should look at how its done in the tox.ini. In there, you'll see:<br>><br>> oslo-config-generator --config-file etc/oslo-config-generator/manila.conf<br>><br>> This translates into:<br>><br>> mkdir -p $(CURDIR)/debian/manila-common/usr/share/manila-common<br>> oslo-config-generator \<br>>         --output-file \<br>>         $(CURDIR)/debian/manila-common/usr/share/manila-common \<br>>         --namespace manila \<br>>         --namespace oslo.messaging \<br>>         --namespace oslo.db \<br>>         --namespace oslo.db.concurrency \<br>>         --namespace keystonemiddleware.auth_token<br>><br>> then in debian/<a href="http://manila-common.postinst.in">manila-common.postinst.in</a>, you should so something like this:<br>><br>> pkgos_write_new_conf manila manila.conf<br>><br>> Again, have a look into the cinder package to see how we're using /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func cinder-common.postinst in the debian/rules file, and how the cinder-common.postinst is done (ie: having a #PKGOS-INCLUDE# which will be replaced by a set of shell functions from openstack-pkg-tools). You have to do this way to make sure /etc/manila/manila.conf has the correct unix rights (ie: owned by the manila user, not world readable...). I'm not sure if Ubuntu packages care about this or not... I believe they don't.</div><div>></div><div><br>You mean we should create manila.conf manually(using oslo-config-generator), set its variables using debconf, and correct its permissions? Is this all of the process that should be done for config files?</div><div><br></div><div>Another question, from where can I find if I need some other directories like /var/lib/manila/cache (as an example) or not? what about needed config files like api-paste.ini for manila? <br><br></div><div>One more question, I don't know any thing about the mentioned namespaces in oslo-config-generator. Do I need to know about them for next steps? Where can I find some explanation about these?  hmm... maybe it is necessary for me to read Developer's Guide of Openstack (to be able to continue this work). Is it? </div><div><br>Best regards, </div><div>Mali</div><div><br>> Cheers,<br>><br>> Thomas Goirand (zigo)<br>><br>><br>> _______________________________________________<br>> Openstack-devel mailing list<br>> <a href="mailto:Openstack-devel@lists.alioth.debian.org">Openstack-devel@lists.alioth.debian.org</a><br>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/openstack-devel">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/openstack-devel</a><br><br><br><br><br>--<br>------------<br>you can't start the next chapter if you keep re-reading the last one<br><br>mali</div></div></div></div>