def METHOD_NAME(args):
    rets = {}
    fileset = args.get('fileset')
    filesystem = args.get('filesystem')
    parent = args.get('parent')
    path = args.get('path')
    owner = args.get('owner')
    permissions = args.get('permissions')
    if not filesystem:
        raise ValueError('missing variable: filesystem')
    if not fileset:
        raise ValueError('missing variable: fileset')
    if not path:
        raise ValueError('missing variable: path')
    if not parent:
        raise ValueError('missing variable: parent')
    if not owner:
        raise ValueError('missing variable: owner')
    if not permissions:
        raise ValueError('missing variable: permissions')
    result = ess.fileset_create(filesystem, fileset, parent, path, owner, permissions)
    error = result.get('error')
    job = result.get('job')
    if error or result.get('status') != 'COMPLETED':
        RuntimeError('failed to create fileset')
    return rets