<div dir="ltr"><div><div><div>Hi, Przemyslaw<br></div><br></div>1) There should be two repositories folders. Please check the correct structure (marked with bold):<br>mkdir -p repositories/{ubuntu,centos}<br><br><br><span style="font-family:monospace,monospace">root@55725ffa6e80:~/fuel-plugin-cinder-netapp# tree <br>.<br>|-- LICENSE<br>|-- README.md<br>|-- cinder_netapp-1.0.0.fp<br>|-- deployment_scripts<br>|   |-- puppet<br>|   |   `-- plugin_cinder_netapp<br>|   |       `-- manifests<br>|   |           `-- init.pp<br>|   `-- site.pp<br>|-- environment_config.yaml<br>|-- metadata.yaml<br>|-- pre_build_hook<br><b>|-- repositories<br>|   |-- centos<br>|   `-- ubuntu<br></b>`-- tasks.yaml</span><br><br></div>Then you can build the plugin.<br><br>2) Actually, this should not be the issue while creating plugins from scratch using fpb tool itself [1]:<br><div><br>fpb --create test<br><br><span style="font-family:monospace,monospace">root@55725ffa6e80:~# tree test<br>test<br>|-- LICENSE<br>|-- README.md<br>|-- deployment_scripts<br>|   `-- deploy.sh<br>|-- environment_config.yaml<br>|-- metadata.yaml<br>|-- pre_build_hook<br>|-- repositories<br>|   |-- centos<br>|   `-- ubuntu<br>`-- tasks.yaml<br></span><br><br><br>[1]. <a href="https://pypi.python.org/pypi/fuel-plugin-builder/1.0.2" target="_blank">https://pypi.python.org/pypi/fuel-plugin-builder/1.0.2</a><br><br> </div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-02 16:30 GMT+03:00 Przemyslaw Kaminski <span dir="ltr"><<a href="mailto:pkaminski@mirantis.com" target="_blank">pkaminski@mirantis.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Investigating the cinder-netapp plugin [1] (a 'certified' one) shows<br>
fuel-plugin-build error:<br>
<br>
(fuel)vagrant@ubuntu-14:/sources/fuel-plugin-cinder-netapp$ fpb --build<br>
.<br>
<br>
<br>
Unexpected error<br>
Cannot find directories ./repositories/ubuntu for release<br>
"{'repository_path': 'repositories/ubuntu', 'version': '2014.2-6.0',<br>
'os': 'ubuntu', 'mode': ['ha', 'multinode'], 'deployment_scripts_path':<br>
'deployment_scripts/'}"<br>
(fuel)vagrant@ubuntu-14:/sources/fuel-plugin-cinder-netapp$ ls<br>
deployment_scripts  environment_config.yaml  LICENSE  metadata.yaml<br>
pre_build_hook  README.md  tasks.yaml<br>
(fuel)vagrant@ubuntu-14:/sources/fuel-plugin-cinder-netapp$ ag<br>
'repositories'<br>
metadata.yaml<br>
18:    repository_path: repositories/ubuntu<br>
23:    repository_path: repositories/centos<br>
<br>
Apparently some files are missing from the git repo or the manifest is<br>
incorrect. Does anyone know something about this?<br>
<br>
P.<br>
<br>
[1] <a href="https://github.com/stackforge/fuel-plugin-cinder-netapp" target="_blank">https://github.com/stackforge/fuel-plugin-cinder-netapp</a><br>
<span class="im HOEnZb"><br>
On 04/01/2015 03:48 PM, Przemyslaw Kaminski wrote:<br>
</span><div class="HOEnZb"><div class="h5">> Hello,<br>
><br>
> I've been investigating bug [1] concentrating on the<br>
> fuel-plugin-external-glusterfs.<br>
><br>
> First of all: [2] there are no core reviewers for Gerrit for this repo<br>
> so even if there was a patch to fix [1] no one could merge it. I saw<br>
> also fuel-plugin-external-nfs -- same issue, haven't checked other<br>
> repos. Why is this? Can we fix this quickly?<br>
><br>
> Second, the plugin throws:<br>
><br>
> DEPRECATION WARNING: The plugin has old 1.0 package format, this format<br>
> does not support many features, such as plugins updates, find plugin in<br>
> new format or migrate and rebuild this one.<br>
><br>
> I don't think this is appropriate for a plugin that is listed in the<br>
> official catalog [3].<br>
><br>
> Third, I created a supposed fix for this bug [4] and wanted to test it<br>
> with the fuel-qa scripts. Basically I built an .fp file with<br>
> fuel-plugin-builder from that code, set the GLUSTER_PLUGIN_PATH variable<br>
> to point to that .fp file and then ran the<br>
> group=deploy_ha_one_controller_glusterfs tests. The test failed [5].<br>
> Then I reverted the changes from the patch and the test still failed<br>
> [6]. But installing the plugin by hand shows that it's available there<br>
> so I don't know if it's broken plugin test or am I still missing something.<br>
><br>
> It would be nice to get some QA help here.<br>
><br>
> P.<br>
><br>
> [1] <a href="https://bugs.launchpad.net/fuel/+bug/1415058" target="_blank">https://bugs.launchpad.net/fuel/+bug/1415058</a><br>
> [2] <a href="https://review.openstack.org/#/admin/groups/577,members" target="_blank">https://review.openstack.org/#/admin/groups/577,members</a><br>
> [3] <a href="https://fuel-infra.org/plugins/catalog.html" target="_blank">https://fuel-infra.org/plugins/catalog.html</a><br>
> [4] <a href="https://review.openstack.org/#/c/169683/" target="_blank">https://review.openstack.org/#/c/169683/</a><br>
> [5]<br>
> <a href="https://www.dropbox.com/s/1mhz8gtm2j391mr/fail_error_deploy_ha_one_controller_glusterfs_simple-2015_04_01__11_39_11.tar.xz?dl=0" target="_blank">https://www.dropbox.com/s/1mhz8gtm2j391mr/fail_error_deploy_ha_one_controller_glusterfs_simple-2015_04_01__11_39_11.tar.xz?dl=0</a><br>
> [6]<br>
> <a href="https://www.dropbox.com/s/ehjox554xl23xgv/fail_error_deploy_ha_one_controller_glusterfs_simple-2015_04_01__13_16_11.tar.xz?dl=0" target="_blank">https://www.dropbox.com/s/ehjox554xl23xgv/fail_error_deploy_ha_one_controller_glusterfs_simple-2015_04_01__13_16_11.tar.xz?dl=0</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><big><big><span style="font-size:13px">Sergey<br></span></big></big><font size="1"><span>DevOps Engineer <br></span><span>IRC: SergK<br></span><span>Skype: Sergey_kul</span></font></div></div></div></div>
</div>