diff --git a/neutron/neutron/plugins/ml2/drivers/gce/mech_gce.py b/neutron/neutron/plugins/ml2/drivers/gce/mech_gce.py index f00cdff..53d9b7c 100644 --- a/neutron/neutron/plugins/ml2/drivers/gce/mech_gce.py +++ b/neutron/neutron/plugins/ml2/drivers/gce/mech_gce.py @@ -219,7 +219,7 @@ class GceMechanismDriver(api.MechanismDriver): return except Exception as e: LOG.exception( - "An error occured while creating security group: %s" % e) + "An error occurred while creating security group: %s" % e) raise e LOG.info("Create GCE firewall rule %s" % gce_rule) operation = gceutils.create_firewall_rule(compute, project, gce_rule) diff --git a/nova/virt/gce/driver.py b/nova/virt/gce/driver.py index 0dc89b0..3cdbd15 100644 --- a/nova/virt/gce/driver.py +++ b/nova/virt/gce/driver.py @@ -378,7 +378,7 @@ class GCEDriver(driver.ComputeDriver): LOG.info("Completed snapshot for instance %s" % instance.uuid) except Exception as e: - LOG.exception("An error occured during image creation: %s" % e) + LOG.exception("An error occurred during image creation: %s" % e) if instance_stopped: operation = gceutils.start_instance(compute, project, zone, gce_id)