'Create a new placement group for your account.
This will create the placement group within the region you
are currently connected to.'

def create_placement_group(self, name):

    log.info(('Creating    placement    group    %s...' % name))
    success = self.conn.create_placement_group(name)
    if (not success):
        log.debug(("failed    to    create    placement    group    '%s'    (error    =    %s)" % (name, success)))
        raise exception.AWSError(("failed    to    create    placement    group    '%s'" % name))
    pg = self.get_placement_group_or_none(name)
    while (not pg):
        log.info(('Waiting    for    placement    group    %s...' % name))
        time.sleep(3)
        pg = self.get_placement_group_or_none(name)
    return pg
