Raise util.CommandError(resolution) from reĪ: Can't locate revision identified by 'b0d31815b5a6'Įrror from kubectl after helm upgrade timeout: $ helm upgrade -install airflow apache-airflow/airflow -n airflow -f values.yaml -debug Return script._upgrade_revs(revision, rev)įile "/usr/local/lib/python3.7/contextlib.py", line 130, in _exit_įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/base.py", line 265, in _catch_revision_errors _module(module) # type: ignoreįile "", line 219, in _call_with_frames_removedįile "/home/airflow/.local/lib/python3.7/site-packages/airflow/migrations/env.py", line 112, in įile "/home/airflow/.local/lib/python3.7/site-packages/airflow/migrations/env.py", line 106, in run_migrations_onlineįile "/home/airflow/.local/lib/python3.7/site-packages/alembic/runtime/environment.py", line 853, in run_migrationsįile "/home/airflow/.local/lib/python3.7/site-packages/alembic/runtime/migration.py", line 611, in run_migrationsįor step in self._migrations_fn(heads, self):įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/command.py", line 311, in upgrade Util.load_python_file(self.dir, "env.py")įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/util/pyfiles.py", line 94, in load_python_fileįile "/home/airflow/.local/lib/python3.7/site-packages/alembic/util/pyfiles.py", line 110, in load_module_py Return func(*args, session=session, **kwargs)įile "/home/airflow/.local/lib/python3.7/site-packages/airflow/utils/db.py", line 1532, in upgradedbĬommand.upgrade(config, revision=to_revision or 'heads')įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/command.py", line 322, in upgradeįile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/base.py", line 569, in run_env The above exception was the direct cause of the following exception:įile "/home/airflow/.local/bin/airflow", line 8, in įile "/home/airflow/.local/lib/python3.7/site-packages/airflow/_main_.py", line 39, in mainįile "/home/airflow/.local/lib/python3.7/site-packages/airflow/cli/cli_parser.py", line 52, in commandįile "/home/airflow/.local/lib/python3.7/site-packages/airflow/utils/cli.py", line 99, in wrapperįile "/home/airflow/.local/lib/python3.7/site-packages/airflow/cli/commands/db_command.py", line 84, in upgradedbĭb.upgradedb(to_revision=to_revision, from_revision=from_revision, show_sql_only=args.show_sql_only)įile "/home/airflow/.local/lib/python3.7/site-packages/airflow/utils/session.py", line 75, in wrapper Return sum(, ())įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/revision.py", line 527, in įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/revision.py", line 554, in get_revisionsįile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/revision.py", line 554, in įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/revision.py", line 635, in _revision_for_identĪ: No such revision or branch 'b0d31815b5a6' INFO Will assume transactional DDL.įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/base.py", line 233, in _catch_revision_errorsįile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/base.py", line 443, in _upgrade_revsįile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/revision.py", line 804, in iterate_revisionsĪssert_relative_length=assert_relative_length,įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/revision.py", line 1454, in _collect_upgrade_revisionsĬurrent_revisions = self.get_revisions(lower)įile "/home/airflow/.local/lib/python3.7/site-packages/alembic/script/revision.py", line 527, in get_revisions Migrations pod logs $ k logs airflow-run-airflow-migrations-lnb7n -n airflowĭB: upgrade with database vm.com:5432/airflow_test I apologize I am new to airflow and kubernetes and I am learning as I go, any help would be appreciated. When I attempted to upgrade the chart with my changes to the helm "values.yaml", only change is trying to add an existing postgres connection. I have a cluster in Azure with the official airflow helm chart.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |