Uploaded image for project: 'Test'
  1. Test
  2. TEST-117

del_all_vgw_stacks() in vcpe script could not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: High High
    • Dublin Release
    • Release 2.0
    • None

      As defined in del_all_vgw_stacks() in vcpe_custom_service.py, openstack command is used to delete vGW stack using command line directly:

          param = ' '.join([k + ' ' + v for k, v in self.vcpecommon.cloud.items()])
          openstackcmd = 'openstack ' + param + ' '

          stacks = os.popen(openstackcmd + 'stack list').read()

      This cann't work when the script is tested on a vm which is not the openstack controller. Since openstack controller is very important we usually don't test script on it, so the delete will never happen. Maybe curl method using openstack API could work.

            autunnn923 autunnn923
            autunnn923 autunnn923
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: