public void doOperation(Managed<GraphiteService> managed) throws OpsException {
DiskImageRecipe recipe = imageFactory.loadDiskImageResource(getClass(), "DiskImageRecipe.xml");
String imageId = imageFactory.getOrCreateImage(recipe);
GraphiteService model = (GraphiteService) managed.getModel();
PersistentInstance persistentInstance = new PersistentInstance();
persistentInstance.setImageId(imageId);
persistentInstance.setDnsName(model.dnsName);
try {