cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remi Bergsma (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-9204) Delete static route fails when it's already gone
Date Thu, 31 Dec 2015 13:07:49 GMT
Remi Bergsma created CLOUDSTACK-9204:

             Summary: Delete static route fails when it's already gone
                 Key: CLOUDSTACK-9204
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: SystemVM
    Affects Versions: 4.7.0
            Reporter: Remi Bergsma
            Assignee: Remi Bergsma
            Priority: Critical
             Fix For: 4.7.1

When you try to delete a static route, this fails when it's no longer there on the router
(not sure why that happens).

Error seen:
[INFO] :: Processing incoming file => static_routes.json.1451560145
[INFO] Processing JSON file static_routes.json.1451560145
Traceback (most recent call last):
  File "/opt/cloud/bin/", line 140, in <module>
  File "/opt/cloud/bin/", line 52, in process_file
  File "/opt/cloud/bin/", line 258, in load
    proc = updateDataBag(self)
  File "/opt/cloud/bin/", line 91, in __init__
  File "/opt/cloud/bin/", line 131, in process
    dbag = self.process_staticroutes(self.db.getDataBag())
  File "/opt/cloud/bin/", line 179, in process_staticroutes
    return cs_staticroutes.merge(dbag,
  File "/opt/cloud/bin/", line 26, in merge
    del dbag[key]
KeyError: u''

When deleting fails because it isn't there any more, it should succeed ;-)

This message was sent by Atlassian JIRA

View raw message