bifrost/playbooks/roles/bifrost-ironic-install/tasks
Markos Chandras 952e99cb6b roles: bifrost-ironic-install: Add PyMySQL dependency for ironic-dbsync
We are using MariaDB database for ironic so we need to install
the optional PyMySQL dependency for sqlalchemy on all distributions
otherwise ironic-dbsync fails with the following error:

CRITI [ironic] ImportError: No module named pymysql
Traceback (most recent call last):
  File "/usr/bin/ironic-dbsync", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/ironic/cmd/dbsync.py", line 103, in main
    CONF.command.func()
  File "/usr/lib/python2.7/site-packages/ironic/cmd/dbsync.py", line 35, in upgrade
     migration.upgrade(CONF.command.revision)
  File "/usr/lib/python2.7/site-packages/ironic/db/migration.py", line 36, in upgrade
     return get_backend().upgrade(version)
  File "/usr/lib/python2.7/site-packages/ironic/db/sqlalchemy/migration.py", line 56, in upgrade
     alembic.command.upgrade(config, revision or 'head')
  [...]
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.py", line 49, in dbapi
     return __import__('pymysql')
ImportError: No module named pymysql

Change-Id: Ib44779de06a7bad91a08e148e1c0e1eb9815afe8
2017-03-14 00:25:17 +00:00
..
bootstrap.yml Use virtualbmc for virtual BM nodes 2017-03-06 17:06:30 +02:00
create_tftpboot.yml Fixes to allow install Ironic on remote node 2017-01-23 13:28:12 +00:00
download_ipa_image.yml playbooks: roles: bifrost-ironic-install: Verify checksum for IPA files 2017-03-03 17:58:55 +00:00
get_ipxe.yml playbooks: roles: bifrost-ironic-install: Retry failed PXE downloads 2017-03-07 01:57:41 +00:00
inspector_bootstrap.yml Fix stdout not defined 2016-12-29 15:16:31 +02:00
inspector_install.yml Cleanup: adding linebreaks for readability 2016-10-14 20:40:21 +00:00
inspector_start.yml Fixes to allow services startup after reboot 2016-12-23 16:16:10 +02:00
install.yml roles: bifrost-ironic-install: Add PyMySQL dependency for ironic-dbsync 2017-03-14 00:25:17 +00:00
ironic_config.yml Workaround for network start race condition 2017-02-27 15:03:01 +00:00
keystone_setup_inspector.yml Fix endpoint service name for inspector 2017-01-24 20:21:17 +00:00
keystone_setup.yml Add checks for keystone endpoints 2016-12-28 13:04:00 +02:00
main.yml Remove my_ip_address from use 2017-02-03 19:37:20 +00:00
pip_install.yml Enable upper requirements on bifrost 2016-11-02 08:28:49 +01:00
set_ssh_private_key.yml Allow user to specify private SSH key 2017-01-16 17:20:46 +02:00
staging_install.yml Adding staging driver support 2016-12-12 20:43:51 -08:00
start.yml Merge "Fixes to allow services startup after reboot" 2017-01-10 09:37:09 +00:00