<div dir="ltr">Thank you very much for your advice, it is very precious.I will read it carefully.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-15 20:52 GMT+08:00 Dariusz Śmigiel <span dir="ltr"><<a href="mailto:smigiel.dariusz@gmail.com" target="_blank">smigiel.dariusz@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Jack,<br>
<br>
Usually, skipping versions is not supported. Although, there is old<br>
thread [1] where some attempts to do this are described.<br>
>From my perspective (though, I'm not a glance dev), it seems like you<br>
could hit problem with missing steps for creating table (probably one<br>
of these [2][3]).<br>
I would personally go to see release notes [4] and [5] and check what<br>
changed between versions.<br>
<br>
I know I didn't give direct answer, but I hope it will allow you to<br>
look further.<br>
<br>
Dariusz<br>
<br>
[1] <a href="http://lists.openstack.org/pipermail/openstack-operators/2016-June/010724.html" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>pipermail/openstack-operators/<wbr>2016-June/010724.html</a><br>
[2] <a href="https://github.com/openstack/glance/blob/48ee8ef4793ed40397613193f09872f474c11abe/glance/db/sqlalchemy/migrate_repo/versions/036_rename_metadef_schema_columns.py" rel="noreferrer" target="_blank">https://github.com/openstack/<wbr>glance/blob/<wbr>48ee8ef4793ed40397613193f09872<wbr>f474c11abe/glance/db/<wbr>sqlalchemy/migrate_repo/<wbr>versions/036_rename_metadef_<wbr>schema_columns.py</a><br>
[3] <a href="https://github.com/openstack/glance/blob/48ee8ef4793ed40397613193f09872f474c11abe/glance/db/sqlalchemy/migrate_repo/versions/039_add_changes_to_satisfy_models_metadef.py" rel="noreferrer" target="_blank">https://github.com/openstack/<wbr>glance/blob/<wbr>48ee8ef4793ed40397613193f09872<wbr>f474c11abe/glance/db/<wbr>sqlalchemy/migrate_repo/<wbr>versions/039_add_changes_to_<wbr>satisfy_models_metadef.py</a><br>
[4] <a href="https://wiki.openstack.org/wiki/ReleaseNotes/Liberty" rel="noreferrer" target="_blank">https://wiki.openstack.org/<wbr>wiki/ReleaseNotes/Liberty</a><br>
[5] <a href="https://releases.openstack.org/mitaka/" rel="noreferrer" target="_blank">https://releases.openstack.<wbr>org/mitaka/</a><br>
<div><div class="h5"><br>
2016-12-15 0:33 GMT-06:00 Jack Gao <<a href="mailto:jack.gao.ch@gmail.com">jack.gao.ch@gmail.com</a>>:<br>
> Has anyone tried upgrading glance kilo to mitaka? I hit the following:<br>
><br>
><br>
>  ERROR glance OperationalError: (_mysql_exceptions.<wbr>OperationalError) (1091,<br>
> "Can't DROP 'metadef_objects_namespace_id_<wbr>fkey'; check that column/key<br>
> exists") [SQL: u'ALTER TABLE metadef_objects DROP FOREIGN KEY<br>
> metadef_objects_namespace_id_<wbr>fkey']<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> OpenStack-operators mailing list<br>
> <a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.<wbr>openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-operators</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Darek "dasm" Śmigiel<br>
<br>
------------------------------<wbr>--------------<br>
Q: Why is this email five sentences or less?<br>
A: <a href="http://five.sentenc.es" rel="noreferrer" target="_blank">http://five.sentenc.es</a><br>
</font></span></blockquote></div><br></div>