def test_wrong_node_dataset(self):
        dataset_id = unicode(uuid4())
        d = self.assertResponseCode(
            b"POST", b"/configuration/datasets",
            {u"dataset_id": dataset_id,
             u"primary": self.NODE_A}, CREATED)
        d.addCallback(lambda _: self.assertResult(
            b"POST", b"/configuration/containers",
            {
                u"node_uuid": self.NODE_B, u"name": u"postgres",
                u"image": u"postgres",
                u"volumes": [
                    {u'dataset_id': dataset_id,
                     u'mountpoint': u'/db'}]
            }, CONFLICT,
            {u"description": u"The dataset is on another node."},
        ))
        return d
If a volume is specified with a dataset that is on another node, a
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/CreateContainerTestsMixin.test_wrong_node_dataset