Hi Sachin Thanks for your response. Is there nay reference link related to this which I can follow to delete that instance?
Thanks On Wed, Mar 2, 2016 at 11:34 AM, Sachin Bansal <[email protected]> wrote: > You can also use vnc api to delete it. > Sachin > On Tue, Mar 01, 2016 at 9:25 PM, abhishek jain <[email protected]> > wrote: > > Hi Sachin > > The instance is not appearing in GUI also. > Is there any other option available to delete the service instance object > uuid? > > On Wed, Mar 2, 2016 at 10:14 AM, Sachin Bansal <[email protected]> > wrote: > >> The instance does not refer to vm. It refers to a service instance object >> in Contrail config. You should be able to delete it from ui or using vnc >> api. >> Sachin >> On Tue, Mar 01, 2016 at 6:28 PM, abhishek jain <[email protected]> >> wrote: >> >> Hi sachin >> >> The error indicates that the instance is already present but actually >> that instance is not running. >> That instance is neither reflected in nova database,opencontrail GUI nor >> in virsh list. >> >> It is only reflected in the output of service-instance list. >> >> Is there any way to delete that particular instance? >> >> Thanks >> Abhishek Jain >> On Mar 1, 2016 11:31 PM, "Sachin Bansal" <[email protected]> wrote: >> >>> Abhishek, >>> >>> As the error indicates, a service instance already exists with the name >>> IPSEC_2085. >>> >>> Sachin >>> >>> On Mar 1, 2016, at 5:52 AM, abhishek jain <[email protected]> >>> wrote: >>> >>> Hi Team >>> >>> I'm able to launch as well as delete VM using opencontrail GUI on >>> compute node.Now I'm trying the same stuff using CLI. >>> >>> When I'm trying to launch VM using CLI,I'm facing below error.. >>> >>> / >>> *usr/lib/python2.7/site-packages/service-instance.py add --proj_name >>> admin --left_vn 3-domain --right_vn one-domain --max_instance 1 IPSEC_2085 >>> IPSEC_2085 *project_id == admin >>> ip == 192.168.7.128 >>> Creating service instance IPSEC_2085 >>> Traceback (most recent call last): >>> File "/usr/lib/python2.7/site-packages/service-instance.py", line 263, >>> in <module> >>> main() >>> File "/usr/lib/python2.7/site-packages/service-instance.py", line 259, >>> in main >>> si._args.func() >>> File "/usr/lib/python2.7/site-packages/service-instance.py", line 218, >>> in create_si >>> si_uuid = self._vnc_lib.service_instance_create(si_obj) >>> File >>> "/usr/lib/python2.7/site-packages/vnc_api/gen/vnc_api_client_gen.py", line >>> 2421, in service_instance_create >>> data = json_body) >>> File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 345, >>> in _request_server >>> retry_count=retry_count) >>> File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 390, >>> in _request >>> raise RefsExistError(content) >>> cfgm_common.exceptions.RefsExistError: [u'default-domain', u'admin', >>> u'IPSEC_2085'] already exists with uuid: >>> 1360d1b3-0330-41de-9b90-bbce6fbda727 >>> Exception KeyError: KeyError(561798512,) in <module 'threading' from >>> '/usr/lib/python2.7/threading.pyc'> ignored >>> >>> >>> */usr/lib/python2.7/site-packages/service-instance.py list * >>> >>> project_id == demo >>> ip == 192.168.7.128 >>> List service instances >>> {u'service-instances': [{u'fq_name': [u'default-domain', >>> u'admin', >>> u'CLAMAV_2085'], >>> u'href': u' >>> http://192.168.7.128:8082/service-instance/b54c071c-2e95-47ff-8032-4a46b31ab7d6 >>> ', >>> u'uuid': >>> u'b54c071c-2e95-47ff-8032-4a46b31ab7d6'}, >>> {u'fq_name': [u'default-domain', >>> u'admin', >>> u'FIREWALL_2085'], >>> u'href': u' >>> http://192.168.7.128:8082/service-instance/82ac54a7-d020-40af-bbca-474df9c06c0c >>> ', >>> u'uuid': >>> u'82ac54a7-d020-40af-bbca-474df9c06c0c'}, >>> {u'fq_name': [u'default-domain', >>> u'admin', >>> u'IPSEC_2085'], >>> u'href': u' >>> http://192.168.7.128:8082/service-instance/1360d1b3-0330-41de-9b90-bbce6fbda727 >>> ', >>> u'uuid': >>> u'1360d1b3-0330-41de-9b90-bbce6fbda727'}, >>> {u'fq_name': [u'default-domain', >>> u'admin', >>> u'NAT_2085'], >>> u'href': u' >>> http://192.168.7.128:8082/service-instance/810e2af2-2058-41d4-b400-48af4d66d5cf >>> ', >>> u'uuid': >>> u'810e2af2-2058-41d4-b400-48af4d66d5cf'}]} >>> Exception KeyError: KeyError(697302384,) in <module 'threading' from >>> '/usr/lib/python2.7/threading.pyc'> ignored >>> >>> >>> However when I'm trying to launch the VM using diiferent name,I'm able >>> to do so. >>> >>> Please help me regarding this. >>> >>> >>> --Thanks >>> Abhishek Jain >>> 9910886401 >>> >>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org >>> >>> >>> >
_______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
