Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-1799

"oaconfig install" fails if hostname is not in /etc/hosts

    XMLWordPrintable

    Details

      Description

      The following error trace is shown:

      File "manage.py", line 26, in <module>
          execute_from_command_line(sys.argv)
        File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
          utility.execute()
        File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
          self.fetch_command(subcommand).run_from_argv(self.argv)
        File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
          self.execute(*args, **options.__dict__)
        File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute
          output = self.handle(*args, **options)
        File "/usr/share/openattic/sysutils/management/commands/post_install.py", line 49, in handle
          sysutils.models.post_install.send(sender=sysutils.models)
        File "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 185, in send
          response = receiver(signal=self, sender=sender, **named)
        File "/usr/share/openattic/peering/models.py", line 115, in __install_hostkeys
          peer.full_clean()
        File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 950, in full_clean
          raise ValidationError(errors)
      django.core.exceptions.ValidationError: {'base_url': [u'[Errno -2] Name or service not known']}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              vtheile Theile, Volker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: