Activity log for bug #2069764

Date Who What changed Old value New value Message
2024-06-18 16:12:06 Marian Gasparovic bug added bug
2024-06-18 16:36:03 Marian Gasparovic description After node reboot cinder unit is blocked with " Error in charm (see logs): cannot perform the following tasks: - Start service "wsgi-cinder-api" (cannot s..." logs in container show 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:57 ERROR juju-log amqp:98: Exception raised in section 'Bootstrapping': cannot perform the following tasks: 2024-06-18T08:42:57.207Z [container-agent] - Start service "wsgi-cinder-api" (cannot start service: exited quickly with code 0) 2024-06-18T08:42:57.207Z [container-agent] ----- Logs from task 1 ----- 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18T08:42:56Z INFO Most recent service output: 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.587932 /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:8: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.587952 import pkg_resources 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.662263 /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze')`. 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.662274 Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.662276 declare_namespace(pkg) 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:54.718332 /usr/lib/python3/dist-packages/oslo_policy/policy.py:1592: DeprecationWarning: volume_extension:quotas:show deprecated without deprecated_reason or deprecated_since. This will be an error in a future release 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:54.718452 warnings.warn( 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:54.915594 /usr/lib/python3/dist-packages/oslo_vmware/image_util.py:16: DeprecationWarning: defusedxml.lxml is no longer supported and will be removed in a future release. 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:54.915607 from defusedxml.lxml import parse 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:55.308692 /usr/lib/python3/dist-packages/cinder/db/sqlalchemy/models.py:37: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:55.308709 BASE = declarative_base() 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:56.088349 /usr/lib/python3/dist-packages/kombu/utils/compat.py:82: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:56.088364 for ep in importlib_metadata.entry_points().get(namespace, []) 2024-06-18T08:42:57.207Z [container-agent] httpd (pid 264) already running 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18T08:42:56Z ERROR cannot start service: exited quickly with code 0 2024-06-18T08:42:57.207Z [container-agent] ----- 2024-06-18T08:42:57.321Z [container-agent] 2024-06-18 08:42:57 ERROR juju-log amqp:98: Traceback (most recent call last): 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/guard.py", line 91, in guard 2024-06-18T08:42:57.321Z [container-agent] yield 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/charm.py", line 301, in configure_charm 2024-06-18T08:42:57.321Z [container-agent] self.configure_unit(event) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/charm.py", line 639, in configure_unit 2024-06-18T08:42:57.321Z [container-agent] self.init_container_services() 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/charm.py", line 604, in init_container_services 2024-06-18T08:42:57.321Z [container-agent] ph.init_service(self.contexts()) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/./src/charm.py", line 69, in init_service 2024-06-18T08:42:57.321Z [container-agent] self.start_wsgi() 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/container_handlers.py", line 394, in start_wsgi 2024-06-18T08:42:57.321Z [container-agent] self.start_all(restart=restart) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/container_handlers.py", line 301, in start_all 2024-06-18T08:42:57.321Z [container-agent] container.restart(service_name) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/venv/ops/model.py", line 2226, in restart 2024-06-18T08:42:57.321Z [container-agent] self._pebble.restart_services(service_names) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/venv/ops/pebble.py", line 2065, in restart_services 2024-06-18T08:42:57.321Z [container-agent] return self._services_action('restart', services, timeout, delay) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/venv/ops/pebble.py", line 2090, in _services_action 2024-06-18T08:42:57.321Z [container-agent] raise ChangeError(change.err, change) 2024-06-18T08:42:57.321Z [container-agent] ops.pebble.ChangeError: cannot perform the following tasks: 2024-06-18T08:42:57.321Z [container-agent] - Start service "wsgi-cinder-api" (cannot start service: exited quickly with code 0) After node reboot cinder unit is blocked with " Error in charm (see logs): cannot perform the following tasks: - Start service "wsgi-cinder-api" (cannot s..." logs in container show 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:57 ERROR juju-log amqp:98: Exception raised in section 'Bootstrapping': cannot perform the following tasks: 2024-06-18T08:42:57.207Z [container-agent] - Start service "wsgi-cinder-api" (cannot start service: exited quickly with code 0) 2024-06-18T08:42:57.207Z [container-agent] ----- Logs from task 1 ----- 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18T08:42:56Z INFO Most recent service output: 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.587932 /usr/lib/python3/dist-packages/paste/deploy/loadwsgi.py:8: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.587952 import pkg_resources 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.662263 /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('repoze')`. 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.662274 Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:52.662276 declare_namespace(pkg) 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:54.718332 /usr/lib/python3/dist-packages/oslo_policy/policy.py:1592: DeprecationWarning: volume_extension:quotas:show deprecated without deprecated_reason or deprecated_since. This will be an error in a future release 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:54.718452 warnings.warn( 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:54.915594 /usr/lib/python3/dist-packages/oslo_vmware/image_util.py:16: DeprecationWarning: defusedxml.lxml is no longer supported and will be removed in a future release. 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:54.915607 from defusedxml.lxml import parse 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:55.308692 /usr/lib/python3/dist-packages/cinder/db/sqlalchemy/models.py:37: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:55.308709 BASE = declarative_base() 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:56.088349 /usr/lib/python3/dist-packages/kombu/utils/compat.py:82: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18 08:42:56.088364 for ep in importlib_metadata.entry_points().get(namespace, []) 2024-06-18T08:42:57.207Z [container-agent] httpd (pid 264) already running 2024-06-18T08:42:57.207Z [container-agent] 2024-06-18T08:42:56Z ERROR cannot start service: exited quickly with code 0 2024-06-18T08:42:57.207Z [container-agent] ----- 2024-06-18T08:42:57.321Z [container-agent] 2024-06-18 08:42:57 ERROR juju-log amqp:98: Traceback (most recent call last): 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/guard.py", line 91, in guard 2024-06-18T08:42:57.321Z [container-agent] yield 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/charm.py", line 301, in configure_charm 2024-06-18T08:42:57.321Z [container-agent] self.configure_unit(event) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/charm.py", line 639, in configure_unit 2024-06-18T08:42:57.321Z [container-agent] self.init_container_services() 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/charm.py", line 604, in init_container_services 2024-06-18T08:42:57.321Z [container-agent] ph.init_service(self.contexts()) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/./src/charm.py", line 69, in init_service 2024-06-18T08:42:57.321Z [container-agent] self.start_wsgi() 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/container_handlers.py", line 394, in start_wsgi 2024-06-18T08:42:57.321Z [container-agent] self.start_all(restart=restart) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/lib/ops_sunbeam/container_handlers.py", line 301, in start_all 2024-06-18T08:42:57.321Z [container-agent] container.restart(service_name) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/venv/ops/model.py", line 2226, in restart 2024-06-18T08:42:57.321Z [container-agent] self._pebble.restart_services(service_names) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/venv/ops/pebble.py", line 2065, in restart_services 2024-06-18T08:42:57.321Z [container-agent] return self._services_action('restart', services, timeout, delay) 2024-06-18T08:42:57.321Z [container-agent] File "/var/lib/juju/agents/unit-cinder-0/charm/venv/ops/pebble.py", line 2090, in _services_action 2024-06-18T08:42:57.321Z [container-agent] raise ChangeError(change.err, change) 2024-06-18T08:42:57.321Z [container-agent] ops.pebble.ChangeError: cannot perform the following tasks: 2024-06-18T08:42:57.321Z [container-agent] - Start service "wsgi-cinder-api" (cannot start service: exited quickly with code 0) Logs - https://oil-jenkins.canonical.com/artifacts/52f68f6f-f9df-4d46-ade1-385f27958294/index.html
2024-06-18 16:36:22 Marian Gasparovic summary after reboot cinder unit in error after reboot cinder unit is blocked