Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on March 11, 2015 at 05:51 PM

Section 1 (Text)

basically, for this state:
===========
keystone-mysql-grant-wildcard:
  mysql_grants.present:
    - database: keystone.*
    - grant: ALL PRIVILEGES
    - user: openstack
    - host: "%"
    - require:
      - service.running: mysql-server
      - mysql_database.present: keystone
      - mysql_user.present: openstack
      - pkg: python-mysqldb
==========
it's returning this error: 
----------
    State: - mysql_grants
    Name:      keystone-mysql-grant-wildcard
    Function:  present
        Result:    False
        Comment:   An exception occurred in this state: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1316, in call
    *cdata['args'], **cdata['kwargs'])
  File "/usr/lib/python2.7/dist-packages/salt/states/mysql_grants.py", line 122, in present
    grant, database, user, host, grant_option, escape, **connection_args
  File "/usr/lib/python2.7/dist-packages/salt/modules/mysql.py", line 1165, in grant_exists
    for grant in grants:
TypeError: 'bool' object is not iterable

        Changes:
----------

and that looks to be doing the wrong thing in the code:
=====
    grants = user_grants(user, host, **connection_args)

    for grant in grants:
=====