--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/193309916.233450.1601979648704%40privateemail.com.
On 06/10/2020 17:24 Federico Capoano <federico...@gmail.com> wrote:
Dear Ian,
0.10 -> 0.11, which module is that?
The error is mentioning status "down", which is not valid under any module. A value like that makes sense in the monitoring module (https://github.com/openwisp/openwisp-monitoring/), but the definitions used are "problem" and "critical", the labels can be changed however, so that "critical" can be relabeled to "down", if preferred, but the monitoring module is not even at version 0.1 yet.
Best regardsFederico
On Tue, Oct 6, 2020 at 5:20 AM Ian Tait <i...@taitcorp.com> wrote:
Hi,
Upgrading from 0.10 -> 0.11, getting an error in the migrate section:
line 1222, in full_clean\n raise ValidationError(errors)\ndjango.core.exceptions.ValidationError: {'status': [\"Value 'down' is not a valid choice.\"]}
Is that something that I can fix?
Thanks.
Ian
--You received this message because you are subscribed to the Google Groups "OpenWISP" group.To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
--You received this message because you are subscribed to the Google Groups "OpenWISP" group.To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6WUyXhbHQkNk2R2u5zhwEexPT%3DK-4HVn0mnC27mv12QGQ%40mail.gmail.com (https://groups.google.com/d/msgid/openwisp/CAERYH6WUyXhbHQkNk2R2u5zhwEexPT%3DK-4HVn0mnC27mv12QGQ%40mail.gmail.com?utm_medium=email&utm_source=footer).
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/522883696.271286.1602068733092%40privateemail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6WGcF_%3DsuyKv-u1%3DadzacrG%2BqZTDwDen%2Buin3nnzWCc8A%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/865788313.8028.1602091611961%40privateemail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6WQbhktUHcjjCQR9DuQv5U99jgdX%3DSX%2BJdEDkWmoFuK5A%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/1558850588.9479.1602094941069%40privateemail.com.
Hi,
So now I'm trying to install openwisp_monitoring using a playbook from
Running the playbook errors out at the migrate stage:Any ideas? Thanks!
TASK [openwisp.openwisp2 : migrate] ***************************************************************************************************************************
fatal: [openwisp3.taitcorp.com]: FAILED! => {"changed": false, "cmd": "./manage.py migrate --noinput", "msg": "\n:stderr: Traceback (most recent call last):\n File \"./manage.py\", line 10, in <module>\n execute_from_command_line(sys.argv)\n File \"/opt/openwisp2/env/lib/python3.6/site-packages/django/core/management/__init__.py\", line 401, in execute_from_command_line\n utility.execute()\n File \"/opt/openwisp2/env/lib/python3.6/site-packages/django/core/management/__init__.py\", line 377, in execute\n django.setup()\n File \"/opt/openwisp2/env/lib/python3.6/site-packages/django/__init__.py\", line 24, in setup\n apps.populate(settings.INSTALLED_APPS)\n File \"/opt/openwisp2/env/lib/python3.6/site-packages/django/apps/registry.py\", line 91, in populate\n app_config = AppConfig.create(entry)\n File \"/opt/openwisp2/env/lib/python3.6/site-packages/django/apps/config.py\", line 116, in create\n mod = import_module(mod_path)\n File \"/opt/openwisp2/env/lib/python3.6/importlib/__init__.py\", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"<frozen importlib._bootstrap>\", line 994, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 971, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 955, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_monitoring/monitoring/apps.py\", line 9, in <module>\n from .configuration import get_metric_configuration, register_metric_notifications\n File \"/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_monitoring/monitoring/configuration.py\", line 3, in <module>\n from openwisp_notifications.types import (\nModuleNotFoundError: No module named 'openwisp_notifications'\n", "path": "/opt/openwisp2/env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin", "syspath": ["/tmp/ansible_django_manage_payload_w82ylaym/ansible_django_manage_payload.zip", "/usr/lib/python36.zip", "/usr/lib/python3.6", "/usr/lib/python3.6/lib-dynload", "/usr/local/lib/python3.6/dist-packages", "/usr/local/lib/python3.6/dist-packages/openwisp_monitoring-0.1-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/swapper-1.1.2.post1-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/openwisp_controller-0.7.post1-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/influxdb-5.3.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_nested_admin-3.3.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_celery_email-3.0.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_cache_memoize-0.1.7-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/drf_yasg-1.17.1-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/djangorestframework-3.11.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_filter-2.4.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_model_utils-4.0.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/scp-0.13.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/redis-3.5.3-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/paramiko-2.7.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/openwisp_users-0.2.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/djangorestframework_gis-0.15-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_netjsonconfig-0.12-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_loci-0.3.4-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/celery-4.4.7-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/msgpack-0.6.1-py3.6-linux-x86_64.egg", "/usr/local/lib/python3.6/dist-packages/python_monkey_business-1.0.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/Django-3.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_appconf-1.0.4-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/uritemplate-3.0.1-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/ruamel.yaml-0.16.12-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/packaging-20.4-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/inflection-0.5.1-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/coreschema-0.0.4-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/coreapi-2.3.3-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/PyNaCl-1.4.0-py3.6-linux-x86_64.egg", "/usr/local/lib/python3.6/dist-packages/cryptography-3.1.1-py3.6-linux-x86_64.egg", "/usr/local/lib/python3.6/dist-packages/bcrypt-3.2.0-py3.6-linux-x86_64.egg", "/usr/local/lib/python3.6/dist-packages/phonenumbers-8.11.5-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_phonenumber_field-4.0.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_organizations-1.1.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_extensions-2.2.9-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_allauth-0.41.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/sqlparse-0.4.1-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/asgiref-3.2.10-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/netjsonconfig-0.8.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_x509-0.6.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_taggit-1.2.0-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_sortedm2m-3.0.2-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/django_reversion-3.0.8-py3.6.egg", "/usr/local/lib/python3.6/dist-packages/openwisp_utils-0.6-py3.6.egg", "/usr/lib/python3/dist-packages"]}
On 07/10/2020 19:22 Ian Tait <i...@taitcorp.com> wrote:
Hi,
I commented out the network topology module in the playbook, whilst I figure out the below, and it successfully completed.
Where would I put the line 'openwisp2_network_topology_version: "0.5"'
Thank you very much.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscribe@googlegroups.com.
--You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6WUyXhbHQkNk2R2u5zhwEexPT%3DK-4HVn0mnC27mv12QGQ%40mail.gmail.com (https://groups.google.com/d/msgid/openwisp/CAERYH6WUyXhbHQkNk2R2u5zhwEexPT%3DK-4HVn0mnC27mv12QGQ%40mail.gmail.com?utm_medium=email&utm_source=footer).
--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/522883696.271286.1602068733092%40privateemail.com.
--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6WGcF_%3DsuyKv-u1%3DadzacrG%2BqZTDwDen%2Buin3nnzWCc8A%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/865788313.8028.1602091611961%40privateemail.com.
--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6WQbhktUHcjjCQR9DuQv5U99jgdX%3DSX%2BJdEDkWmoFuK5A%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscribe@googlegroups.com.