bifrost/playbooks/roles
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
..
bifrost-configdrives-dynamic Merge "Allow deploy-dynamic on remote host" 2017-02-07 23:16:43 +00:00
bifrost-create-bootable-image Migrate playbooks to use 'become' 2015-10-15 07:32:05 -07:00
bifrost-create-dib-image Fix image creation when dib_os_release not defined 2017-02-17 15:27:05 +00:00
bifrost-create-vm-nodes Use virtualbmc for virtual BM nodes 2017-03-06 17:06:30 +02:00
bifrost-deploy-nodes-dynamic Merge "Allow deploy-dynamic on remote host" 2017-02-07 23:16:43 +00:00
bifrost-ironic-install roles: bifrost-ironic-install: Add PyMySQL dependency for ironic-dbsync 2017-03-14 00:25:17 +00:00
bifrost-keystone-client-config Allow to create cloud.yaml with many clouds 2017-02-01 21:55:54 +02:00
bifrost-keystone-install playbooks: roles: {ironic,keystone}: Drop --force-reinstall 2017-02-23 21:35:04 +00:00
bifrost-openstack-ci-prep Add new lines to improve pre-install yaml files 2016-09-22 19:58:43 +00:00
bifrost-prep-for-install Always install Ansible with pip 2017-02-13 13:10:54 +02:00
bifrost-prepare-for-test-dynamic bifrost-prepare-for-test-dynamic: Create known_hosts if it's not present 2016-09-19 09:01:43 +01:00
bifrost-test-dhcp Use JSON baremetal data in testing 2017-03-06 17:06:30 +02:00
bifrost-test-vm Cleanup unused/deprecated files 2017-02-09 14:35:02 +02:00
bifrost-unprovision-node-dynamic Update playbooks to support os_client_config 2016-11-22 14:23:24 +00:00
ironic-delete-dynamic Update playbooks to support os_client_config 2016-11-22 14:23:24 +00:00
ironic-enroll-dynamic Merge "Remove deprecated nginx_port option" 2017-02-06 21:13:30 +00:00
ironic-inspect-node Allow enroll-dynamic on remote host 2017-02-01 15:01:31 +00:00