From fbfde2c5093d30b75e06118a180461c8fc317759 Mon Sep 17 00:00:00 2001 From: Saad Zaher Date: Tue, 14 Feb 2017 16:14:11 +0000 Subject: [PATCH] Use correct arugment for nova restore while restoring nova freezer-agent is asking for network id the config paramenter is different from the one being passed to restore_nova function Change-Id: I737da5685a17f3a58d1bfbdd6d8367600a3bcbb1 Closes-Bug: #1664628 --- freezer/job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freezer/job.py b/freezer/job.py index 3c84dab3..0d5a9de6 100644 --- a/freezer/job.py +++ b/freezer/job.py @@ -296,9 +296,9 @@ class RestoreJob(Job): LOG.info("Restoring nova backup. Instance ID: {0}, timestamp: {1} " "network-id {2}".format(conf.nova_inst_id, restore_timestamp, - conf.nova_network_id)) + conf.nova_restore_network)) res.restore_nova(conf.nova_inst_id, restore_timestamp, - conf.nova_network_id) + conf.nova_restore_network) elif conf.backup_media == 'cinder': LOG.info("Restoring cinder backup from glance. Volume ID: {0}, " "timestamp: {1}".format(conf.cinder_vol_id,