installer: bridge name 'tt0' already in use.

Version

$ openshift-install version
bin/openshift-install v0.3.0-250-g30bb25ac57d7c7d3dae519186cbfca9af8aeaca2
Terraform v0.11.10
$ ~/.terraform.d/plugins/terraform-provider-libvirt -version  # only needed if you're using libvirt
/home/mawong/.terraform.d/plugins/terraform-provider-libvirt was not built correctly
Compiled against library: libvirt 4.7.0
Using library: libvirt 4.7.0
Running hypervisor: QEMU 3.0.0
Running against daemon: 4.7.0

Platform (aws|libvirt|openstack):

libvirt

What happened?

install fails

Error: Error applying plan:

1 error(s) occurred:

* libvirt_network.tectonic_net: 1 error(s) occurred:

* libvirt_network.tectonic_net: Error defining libvirt network: virError(Code=1, Domain=19, Message='internal error: bridge name 'tt0' already in use.') -   <network>
      <name>mawong</name>
      <forward mode="nat"></forward>
      <bridge name="tt0" stp="on"></bridge>
      <domain name="devcluster.openshift.com" localOnly="yes"></domain>
      <dns>
          <host ip="192.168.126.10">
              <hostname>mawong-api</hostname>
          </host>
          <host ip="192.168.126.11">
              <hostname>mawong-api</hostname>
              <hostname>mawong-etcd-0</hostname>
          </host>
          <host ip="192.168.126.50">
              <hostname>mawong</hostname>
          </host>
          <srv service="etcd-server-ssl" protocol="tcp" target="mawong-etcd-0.devcluster.openshift.com" port="2380" weight="10" domain="mawong.devcluster.openshift.com"></srv>
      </dns>
      <ip address="192.168.126.1" family="ipv4" prefix="24"></ip>
  </network>

What you expected to happen?

install succeeds

How to reproduce it (as minimally and precisely as possible)?

$  bin/openshift-install create cluster --log-level=debug

Anything else we need to know?

Enter text here.

References

  • enter text here.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

I hit similar issue, this helped (--all is the key):

~ $ virsh net-list --all
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 default              active     yes           yes
 jsafrane-b5htk       inactive   yes           yes
 vagrant-libvirt      active     no            yes

~ $ virsh net-undefine jsafrane-b5htk
Network jsafrane-b5htk has been undefined

Simple virsh net-destroy jsafrane-b5htk was not enough.