def cs_create_server(self):
        self.logit("Creating server...")
        img = [img for img in self.cs_images
                if "12.04" in img.name][0]
        flavor = self.cs_flavors[0]
        self.smoke_server = self.cs.servers.create("SMOKETEST_SERVER",
                img.id, flavor.id)
        self.cleanup_items.append(self.smoke_server)
        self.smoke_server = self.log_wait(self.smoke_server)
        if self.smoke_server.status == "ERROR":
            self.logit("Server creation failed!")
            self.failures.append("SERVER CREATION")
        else:
            self.logit("Success!")
dataset/ETHPy150Open rackspace/pyrax/tests/integrated/smoketest.py/SmokeTester.cs_create_server/original