@classmethod
    def validate_release(cls, data=None, cluster=None, graph_type=None):
        # TODO(akostrikov) https://bugs.launchpad.net/fuel/+bug/1561485
        if (cluster and objects.Release.is_granular_enabled(cluster.release)
                and not objects.Cluster.get_deployment_tasks(
                cluster, graph_type)):
            raise errors.NoDeploymentTasks(
                "Deployment tasks not found for '{0}' release in the "
                "database. Please upload them. If you're operating "
                "from Fuel Master node, please check '/etc/puppet' "
                "directory.".format(cluster.release.name))
Returns the first day of the given month.
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/api/v1/validators/base.py/BasicValidator.validate_release--crossover with--dataset/ETHPy150Open caktus/django-timepiece/timepiece/utils/__init__.py/get_month_start