<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>31220</bug_id>
          
          <creation_ts>2015-08-20 13:34:56 +0300</creation_ts>
          <short_desc>Exclude&apos;ится %python_sitelibdir/neutron/plugins/common</short_desc>
          <delta_ts>2015-08-21 09:26:25 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>openstack-neutron</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://git.altlinux.org/people/shaba/packages/?p=openstack-neutron.git;a=commitdiff;h=892825138b791fd3dd0ba0dc330025b2ffb84e92</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lenar Shakirov">snejok</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>grenka</cc>
    
    <cc>snejok</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>152505</commentid>
    <comment_count>0</comment_count>
    <who name="Lenar Shakirov">snejok</who>
    <bug_when>2015-08-20 13:34:56 +0300</bug_when>
    <thetext>Exclude&apos;ится %python_sitelibdir/neutron/plugins/common

При выполнении команды:
su -s /bin/sh -c &quot;neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head&quot; neutron

получаем:
File &quot;/usr/lib/python2.7/site-packages/neutron/manager.py&quot;, line 26, in &lt;module&gt;
    from neutron.plugins.common import constants
ImportError: No module named plugins.common

Обнаруживаем что в коммите:
http://git.altlinux.org/people/shaba/packages/?p=openstack-neutron.git;a=commitdiff;h=892825138b791fd3dd0ba0dc330025b2ffb84e92

заменили
-%exclude %python_sitelibdir/neutron/plugins/bigswitch
-%exclude %python_sitelibdir/neutron/plugins/brocade
-%exclude %python_sitelibdir/neutron/plugins/cisco
-%exclude %python_sitelibdir/neutron/plugins/hyperv
-%exclude %python_sitelibdir/neutron/plugins/ibm
-%exclude %python_sitelibdir/neutron/plugins/linuxbridge
-%exclude %python_sitelibdir/neutron/plugins/metaplugin
-%exclude %python_sitelibdir/neutron/plugins/midonet
-%exclude %python_sitelibdir/neutron/plugins/ml2
-%exclude %python_sitelibdir/neutron/plugins/mlnx
-%exclude %python_sitelibdir/neutron/plugins/nuage
-%exclude %python_sitelibdir/neutron/plugins/nec
-%exclude %python_sitelibdir/neutron/plugins/nicira
-%exclude %python_sitelibdir/neutron/plugins/ofagent
-%exclude %python_sitelibdir/neutron/plugins/oneconvergence
-%exclude %python_sitelibdir/neutron/plugins/openvswitch
-%exclude %python_sitelibdir/neutron/plugins/plumgrid
-%exclude %python_sitelibdir/neutron/plugins/ryu
-%exclude %python_sitelibdir/neutron/plugins/vmware

на
+%exclude %python_sitelibdir/neutron/plugins/*

но забыли про
%python_sitelibdir/neutron/plugins/common</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152510</commentid>
    <comment_count>1</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2015-08-20 15:28:00 +0300</bug_when>
    <thetext>В какой версии пакета наблюдается проблема?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152523</commentid>
    <comment_count>2</comment_count>
    <who name="Lenar Shakirov">snejok</who>
    <bug_when>2015-08-21 09:26:25 +0300</bug_when>
    <thetext>Спасибо за оперативность!!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>