Guest User

rally

a guest
Apr 25th, 2023
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.91 KB | None | 0 0
  1. /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)
  2.  session.query(models.Platform).filter_by(uuid=uuid).update(values))
  3. Command failed, please check log for more info
  4. 2023-04-25 07:15:49.003 6342 CRITICAL rally [-] Unhandled error: sqlalchemy.exc.ArgumentError: expected ORM mapped attribute for loader strategy argument
  5. 2023-04-25 07:15:49.003 6342 ERROR rally Traceback (most recent call last):
  6. 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
  7. 2023-04-25 07:15:49.003 6342 ERROR rally     insp: InspectionAttr = inspect(attr)  # type: ignore
  8. 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
  9. 2023-04-25 07:15:49.003 6342 ERROR rally     raise exc.NoInspectionAvailable(
  10. 2023-04-25 07:15:49.003 6342 ERROR rally sqlalchemy.exc.NoInspectionAvailable: No inspection system is available for object of type <class 'str'>
  11. 2023-04-25 07:15:49.003 6342 ERROR rally
  12. 2023-04-25 07:15:49.003 6342 ERROR rally The above exception was the direct cause of the following exception:
  13. 2023-04-25 07:15:49.003 6342 ERROR rally
  14. 2023-04-25 07:15:49.003 6342 ERROR rally Traceback (most recent call last):
  15. 2023-04-25 07:15:49.003 6342 ERROR rally   File "/root/rally-results/.venv/bin/rally", line 8, in <module>
  16. 2023-04-25 07:15:49.003 6342 ERROR rally     sys.exit(main())
  17. 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
  18. 2023-04-25 07:15:49.003 6342 ERROR rally     return cliutils.run(sys.argv, categories)
  19. 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
  20. 2023-04-25 07:15:49.003 6342 ERROR rally     ret = fn(*fn_args, **fn_kwargs)
  21. 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
  22. 2023-04-25 07:15:49.003 6342 ERROR rally     return func(*args, **kwargs)
  23. 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
  24. 2023-04-25 07:15:49.003 6342 ERROR rally     deployment = api.deployment.create(config=config, name=name)
  25. 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
  26. 2023-04-25 07:15:49.003 6342 ERROR rally     return self._create(config, name).to_dict()
  27. 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
  28. 2023-04-25 07:15:49.003 6342 ERROR rally     "status": self["status"]
  29. 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__
  30. 2023-04-25 07:15:49.003 6342 ERROR rally     status = self._env.status
  31. 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
  32. 2023-04-25 07:15:49.003 6342 ERROR rally     return db.env_get_status(self.uuid)
  33. 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
  34. 2023-04-25 07:15:49.003 6342 ERROR rally     result = f(session, *args, **kwargs)
  35. 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
  36. 2023-04-25 07:15:49.003 6342 ERROR rally     .options(sa.orm.load_only("status"))
  37. 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
  38. 2023-04-25 07:15:49.003 6342 ERROR rally     _, lead_element, _ = _parse_attr_argument(attrs[0])
  39. 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
  40. 2023-04-25 07:15:49.003 6342 ERROR rally     raise sa_exc.ArgumentError(
  41. 2023-04-25 07:15:49.003 6342 ERROR rally sqlalchemy.exc.ArgumentError: expected ORM mapped attribute for loader strategy argument
  42. 2023-04-25 07:15:49.003 6342 ERROR rally
  43.  
Advertisement
Add Comment
Please, Sign In to add comment