Trying to upgrade existing Ansible Tower from version 3.2.5 to 3.5.01 using 
the bundled installer but ran into the following problem during the upgrade 
(using setup.sh):

 start: '2019-06-03 22:57:36.592912'
  stderr: |-
    Traceback (most recent call last):
      File "/bin/awx-manage", line 11, in <module>
        load_entry_point('awx==3.5.0', 'console_scripts', 'awx-manage')()
      File "/__init__.py", line 140, in manage
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py",
 
line 364, in execute_from_command_line
        utility.execute()
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py",
 
line 356, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py",
 
line 283, in run_from_argv
        self.execute(*args, **cmd_options)
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py",
 
line 330, in execute
        output = self.handle(*args, **options)
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/commands/migrate.py",
 
line 204, in handle
        fake_initial=fake_initial,
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/executor.py",
 
line 115, in migrate
        state = self._migrate_all_forwards(state, plan, full_plan, 
fake=fake, fake_initial=fake_initial)
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/executor.py",
 
line 145, in _migrate_all_forwards
        state = self.apply_migration(state, migration, fake=fake, 
fake_initial=fake_initial)
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/executor.py",
 
line 244, in apply_migration
        state = migration.apply(state, schema_editor)
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/migration.py",
 
line 129, in apply
        operation.database_forwards(self.app_label, schema_editor, 
old_state, project_state)
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/db/migrations/operations/special.py",
 
line 193, in database_forwards
        self.code(from_state.apps, schema_editor)
      File 
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/conf/migrations/_ldap_group_type.py",
 
line 25, in fill_ldap_group_type_params
        for k in group_type_params.keys():
    RuntimeError: dictionary changed size during iteration
  stderr_lines: <omitted>
  stdout: |-
    Operations to perform:
      Apply all migrations: auth, conf, contenttypes, main, 
oauth2_provider, sessions, sites, social_django, sso, taggit
    Running migrations:
      Applying conf.0006_v331_ldap_group_type...
  stdout_lines: <omitted>

Did a search on " RuntimeError: dictionary changed size during iteration" 
and couldn't found anything related to the Ansible Tower upgrade. Has 
anyone encountered this before?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d4ce9a7c-9d85-4406-b844-008849680ec3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to