Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set will cover all product layers, including MOSK management (formerly MCC). This means everything you need will be in one place. The separate MCC documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
Delete a vRouter node¶
Tungsten Fabric vRouter collocates with the OpenStack compute node. Therefore, to delete the vRouter node from your cluster, follow the node deletion procedure in Delete a compute node.
Additionally, you need to remove the vhost0
OpenStack port and
the Node
object of the deleted node from the Tungsten Fabric database:
Log in to the
keystone-client
pod in theopenstack
namespace through the command line.Obtain the OpenStack token required to authenticate with the Tungsten Fabric API service:
TOKEN=$(openstack token issue | awk '/ id / {print $4}')
Obtain the list of vRouter nodes to retrieve the link for the deleted node:
curl -s -H "X-Auth-Token: ${TOKEN}" http://tf-config-api.tf.svc:8082/virtual-routers | jq
Obtain the UUID of the
vhost0
port to be removed:curl -s -H "X-Auth-Token: ${TOKEN}" http://tf-config-api.tf.svc:8082/virtual-router/<VROUTER_UUID> | jq '.["virtual-router"]["virtual_machine_interfaces"][0]["uuid"]'
Delete the
vhost0
OpenStack port through the Openstack Horizon or CLI:openstack port delete <VHOST0_PORT_UUID>
Delete the vRouter
Node
object from the Tungsten Fabric configuration database:curl -s -X DELETE -H "X-Auth-Token: ${TOKEN}" http://tf-config-api.tf.svc:8082/virtual-router/<VROUTER_NODE_UUID>