<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
Hi Matt </div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<br>
</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
I have upgraded  to Django-peeringdb 2.1, but it doesn't play well:</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<br>
</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<span style="font-family: Consolas, Courier, monospace;">pdb@pdb2:~$ peeringdb sync</span><span><br>
</span>
<div><span style="font-family: Consolas, Courier, monospace;">Traceback (most recent call last):</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/usr/local/bin/peeringdb", line 11, in <module></span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    sys.exit(main())</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/peeringdb/cli.py", line 62, in main</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    return handler(config=cfg, **vars(options))</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/peeringdb/commands.py", line 20, in _wrapped</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    r = func(*a, **k)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/peeringdb/commands.py", line 212, in handle</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    client = Client(config, **kwargs)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/peeringdb/client.py", line 44, in __init__</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    peeringdb.initialize_backend(orm_name, **orm_config)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/peeringdb/__init__.py", line 84, in initialize_backend</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    B = supportmod.load_backend(**kwargs)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django_peeringdb/client_adaptor/load.py", line 46, in load_backend</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    backend.Backend().migrate_database()</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django_peeringdb/client_adaptor/backend.py", line 211, in migrate_database</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    call_command("migrate", interactive=False, verbosity=verbosity)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/core/management/__init__.py", line 148, in call_command</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    return command.execute(*args, **defaults)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    output = self.handle(*args, **options)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    res = handle_func(*args, **kwargs)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 234, in handle</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    fake_initial=fake_initial,</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 245, in apply_migration</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    state = migration.apply(state, schema_editor)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/migrations/migration.py", line 124, in apply</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/migrations/operations/fields.py", line 249, in database_forwards</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    schema_editor.alter_field(from_model, from_field, to_field)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 535, in alter_field</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    old_db_params, new_db_params, strict)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 648, in _alter_field</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    old_default = self.effective_default(old_field)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 233, in effective_default</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    return field.get_db_prep_save(self._effective_default(field), self.connection)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/models/fields/related.py", line 937, in get_db_prep_save</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    return self.target_field.get_db_prep_save(value, connection=connection)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 789, in get_db_prep_save</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    return self.get_db_prep_value(value, connection=connection, prepared=False)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 958, in get_db_prep_value</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    value = connection.ops.validate_autopk_value(value)</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">  File "/home/pdb/.local/lib/python3.6/site-packages/django/db/backends/mysql/operations.py", line 181, in validate_autopk_value</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">    raise ValueError('The database backend does not accept 0 as a '</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">ValueError: The database backend does not accept 0 as a value for AutoField.</span><br>
</div>
<div><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">pdb@pdb2:~$ pip3 freeze | grep peeringdb</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">django-peeringdb==2.1.0</span><br>
</div>
<div><span style="font-family: Consolas, Courier, monospace;">peeringdb==1.0.0</span><br>
</div>
<span style="font-family: Consolas, Courier, monospace;">pdb@pdb2:~$</span><br>
</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<span><br>
</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<span><br>
</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<span>Anything I am missing?</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<span><br>
</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<span>Best regards</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<span>Jan</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 36, 81);">
<span><br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Pdb-announce <pdb-announce-bounces@lists.peeringdb.com> im Auftrag von Matt Griswold <grizz@20c.com><br>
<b>Gesendet:</b> Mittwoch, 1. Juli 2020 16:44<br>
<b>An:</b> Stephen McManus <smcmanus@peeringdb.com><br>
<b>Cc:</b> pdb-announce@lists.peeringdb.com <pdb-announce@lists.peeringdb.com><br>
<b>Betreff:</b> Re: [PDB Announce] PeeringDB 2.21.0 release at 2020-07-01T0400Z</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">This has been released, let us know with any issues.<br>
<br>
Please note, for doing a local sync with the python client, this<br>
requires updating to django-peeringdb 2.1.<br>
<br>
* Stephen McManus <smcmanus@peeringdb.com> [200624 16:24 -0400]:<br>
> On Wednesday, July 1st at 0400Z, the current beta site will be<br>
>   deployed unless any critical issues are found. Your help in<br>
>   verifying that the upgrade went well by thoroughly testing<br>
>   <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbeta.peeringdb.com%2F&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=5DW7w18DHEK0MKkH25xO5Bc0Jq4NC18ZfBkvJMQZFas%3D&amp;reserved=0">
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbeta.peeringdb.com%2F&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=5DW7w18DHEK0MKkH25xO5Bc0Jq4NC18ZfBkvJMQZFas%3D&amp;reserved=0</a>
 would be greatly appreciated. <br>
> <br>
> Please review the changes and test against the beta site as necessary<br>
>   to prepare for a production roll out. In addition, we will also<br>
>   release the language packs that have reached maturity since our<br>
>   last release.<br>
> <br>
> Preview of the release is at: <br>
> <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbeta.peeringdb.com%2F&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=5DW7w18DHEK0MKkH25xO5Bc0Jq4NC18ZfBkvJMQZFas%3D&amp;reserved=0">
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbeta.peeringdb.com%2F&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=5DW7w18DHEK0MKkH25xO5Bc0Jq4NC18ZfBkvJMQZFas%3D&amp;reserved=0</a><br>
> <br>
> Release notes for v2.21.0 are here: <br>
> <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.peeringdb.com%2Frelease_notes%2F%23release-2210&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=uyr9afhTNwdiHTmgzc8b5COde2H2CffrPAG6wvIH98c%3D&amp;reserved=0">
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.peeringdb.com%2Frelease_notes%2F%23release-2210&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=uyr9afhTNwdiHTmgzc8b5COde2H2CffrPAG6wvIH98c%3D&amp;reserved=0</a><br>
> <br>
> Highlights for this release include:<br>
> * Two Factor Auth (2FA) support being added to better secure user<br>
>   accounts<br>
> * Several improvements for updates and delete actions, including<br>
>   better error handling and hints to users<br>
> * Some usability and UI improvements<br>
> <br>
> As always, let us know at support at peeringdb.com with any<br>
>   comments/questions/concerns.<br>
> <br>
> Steve McManus on behalf of PeeringDB ProductCom<br>
> _______________________________________________<br>
> Pdb-announce mailing list<br>
> Pdb-announce@lists.peeringdb.com<br>
> <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.peeringdb.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpdb-announce&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=iurTCB9sypoZZENT9cOdgowqIFMkjO4mT%2FqJVz7eV08%3D&amp;reserved=0">
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.peeringdb.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpdb-announce&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=iurTCB9sypoZZENT9cOdgowqIFMkjO4mT%2FqJVz7eV08%3D&amp;reserved=0</a><br>
<br>
_______________________________________________<br>
Pdb-announce mailing list<br>
Pdb-announce@lists.peeringdb.com<br>
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.peeringdb.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpdb-announce&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=iurTCB9sypoZZENT9cOdgowqIFMkjO4mT%2FqJVz7eV08%3D&amp;reserved=0">https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.peeringdb.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpdb-announce&amp;data=02%7C01%7CJan.Boogman%40swisscom.com%7C4fa19103014a48754cb008d81dcd3dc3%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637292114623781761&amp;sdata=iurTCB9sypoZZENT9cOdgowqIFMkjO4mT%2FqJVz7eV08%3D&amp;reserved=0</a><br>
</div>
</span></font></div>
</body>
</html>