Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /root/rally-results/.venv/lib/python3.10/site-packages/rally/common/db/api.py:652: SAWarning: TypeDecorator MutableJSONEncodedDict() will not produce a cache key because the ``cache_ok`` attribute is not set to True. This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions. Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this warning at: https://sqlalche.me/e/20/cprf)
- session.query(models.Platform).filter_by(uuid=uuid).update(values))
- Command failed, please check log for more info
- 2023-04-25 07:15:49.003 6342 CRITICAL rally [-] Unhandled error: sqlalchemy.exc.ArgumentError: expected ORM mapped attribute for loader strategy argument
- 2023-04-25 07:15:49.003 6342 ERROR rally Traceback (most recent call last):
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/sqlalchemy/orm/strategy_options.py", line 2291, in _parse_attr_argument
- 2023-04-25 07:15:49.003 6342 ERROR rally insp: InspectionAttr = inspect(attr) # type: ignore
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/sqlalchemy/inspection.py", line 118, in inspect
- 2023-04-25 07:15:49.003 6342 ERROR rally raise exc.NoInspectionAvailable(
- 2023-04-25 07:15:49.003 6342 ERROR rally sqlalchemy.exc.NoInspectionAvailable: No inspection system is available for object of type <class 'str'>
- 2023-04-25 07:15:49.003 6342 ERROR rally
- 2023-04-25 07:15:49.003 6342 ERROR rally The above exception was the direct cause of the following exception:
- 2023-04-25 07:15:49.003 6342 ERROR rally
- 2023-04-25 07:15:49.003 6342 ERROR rally Traceback (most recent call last):
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/bin/rally", line 8, in <module>
- 2023-04-25 07:15:49.003 6342 ERROR rally sys.exit(main())
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/cli/main.py", line 40, in main
- 2023-04-25 07:15:49.003 6342 ERROR rally return cliutils.run(sys.argv, categories)
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/cli/cliutils.py", line 669, in run
- 2023-04-25 07:15:49.003 6342 ERROR rally ret = fn(*fn_args, **fn_kwargs)
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/plugins/__init__.py", line 59, in wrapper
- 2023-04-25 07:15:49.003 6342 ERROR rally return func(*args, **kwargs)
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/cli/commands/deployment.py", line 109, in create
- 2023-04-25 07:15:49.003 6342 ERROR rally deployment = api.deployment.create(config=config, name=name)
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/api.py", line 107, in create
- 2023-04-25 07:15:49.003 6342 ERROR rally return self._create(config, name).to_dict()
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/common/objects/deploy.py", line 119, in to_dict
- 2023-04-25 07:15:49.003 6342 ERROR rally "status": self["status"]
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/common/objects/deploy.py", line 98, in __getitem__
- 2023-04-25 07:15:49.003 6342 ERROR rally status = self._env.status
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/env/env_mgr.py", line 152, in status
- 2023-04-25 07:15:49.003 6342 ERROR rally return db.env_get_status(self.uuid)
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/common/db/api.py", line 133, in wrapper
- 2023-04-25 07:15:49.003 6342 ERROR rally result = f(session, *args, **kwargs)
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/rally/common/db/api.py", line 527, in env_get_status
- 2023-04-25 07:15:49.003 6342 ERROR rally .options(sa.orm.load_only("status"))
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/sqlalchemy/orm/strategy_options.py", line 2344, in load_only
- 2023-04-25 07:15:49.003 6342 ERROR rally _, lead_element, _ = _parse_attr_argument(attrs[0])
- 2023-04-25 07:15:49.003 6342 ERROR rally File "/root/rally-results/.venv/lib/python3.10/site-packages/sqlalchemy/orm/strategy_options.py", line 2293, in _parse_attr_argument
- 2023-04-25 07:15:49.003 6342 ERROR rally raise sa_exc.ArgumentError(
- 2023-04-25 07:15:49.003 6342 ERROR rally sqlalchemy.exc.ArgumentError: expected ORM mapped attribute for loader strategy argument
- 2023-04-25 07:15:49.003 6342 ERROR rally
Advertisement
Add Comment
Please, Sign In to add comment