Detailed bug description:
Murano can't remove package due MySQL connection errors
Steps to reproduce:
1. Deploy MOS 9.1 with box murano
2. Run Platform OSTF
Expected results:
Murano platform OSTF pass
Actual result:
Test "Check application deployment in Murano environment with GLARE" failed
Reproducibility:
It may be a race condition or connection problems.
Workaround:
Nope
Impact:
Test Impact
Description of the environment:
Operation system: Ubuntu
Versions of components: 9.x
Reference architecture: HA
Network model: Neutron VXLAN
Related projects installed: Murano, Mos, Fuel
Additional information:
OSTF log says for client:
glanceclient.common.http: DEBUG: Request returned failure status 503.
fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/fuel_health/common/test_mixins.py", line 177, in verify
result = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/fuel_health/muranomanager.py", line 459, in delete_package
self.murano_art_client.packages.delete(package_id)
File "/usr/lib/python2.7/site-packages/muranoclient/v1/artifact_packages.py", line 29, in inner
raise exc.from_code(e.code)
HTTPServiceUnavailable: HTTPServiceUnavailable (HTTP 503)
There is no tracebacks in glance-glare logs.
Additional murano packages cleanup raised this:
part of the log: [SQL: u'SELECT 1']\n", "type": "DBConnectionError"}, "title": "Internal Server Error"} (HTTP 500)
Reproduced only once and SWARM 9.x.
https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.services_ha/49/console
Also, there is tracebacks from cinder also connected with mysql:
2016-09-05T00:46:58.039663+00:00 crit: 2016-09-05 00:46:58.001 7513 CRITICAL cinder [req-3c321312-7828-41ff-b136-3a6995c11a94 - - - - -] OperationalError: (_mysql_exceptions.Oper
ationalError) (1054, "Unknown column 'services.rpc_current_version' in 'field list'") [SQL: u'SELECT services.created_at AS services_created_at, services.updated_at AS services_up
dated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.`binary` AS servic
es_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availab
ility_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, servi
ces.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id
, services.frozen AS services_frozen \nFROM services \nWHERE services.deleted = false AND services.`binary` = %s'] [parameters: ('cinder-scheduler',)]
In this log you can find the next message: mysqld_ safe resource- agents/ mysql-wss/ mysql-wss. pid of MySQL server not found. Sleeping for 2 seconds. 0 retries left
<27>Sep 5 00:28:41 node-5 ocf-mysql-wss: ERROR: Setup problem: couldn't find command: /usr/bin/
<27>Sep 5 00:29:22 node-5 ocf-mysql-wss: ERROR: p_mysqld: mysql_status(): PIDFile /var/run/
<27>Sep 5 00:29:24 node-5 ocf-mysql-wss: ERROR: p_mysqld: mysql_status(): MySQL is not running