Vérifier la connectivité

Vérifier la connectivité

Il est recommandé de vérifier l’accès internet et la connectivité entre les nœuds avant de poursuivre.

  1. A partir du nœud contrôleur, tester l’accès à internet:

    # ping -c 4 openstack.org
    PING openstack.org (174.143.194.225) 56(84) bytes of data.
    64 bytes from 174.143.194.225: icmp_seq=1 ttl=54 time=18.3 ms
    64 bytes from 174.143.194.225: icmp_seq=2 ttl=54 time=17.5 ms
    64 bytes from 174.143.194.225: icmp_seq=3 ttl=54 time=17.5 ms
    64 bytes from 174.143.194.225: icmp_seq=4 ttl=54 time=17.4 ms
    
    --- openstack.org ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3022ms
    rtt min/avg/max/mdev = 17.489/17.715/18.346/0.364 ms
    
  2. A partir du nœud contrôleur, tester l’accès à l’interface de management interface du nœud compute:

    # ping -c 4 compute1
    PING compute1 (10.0.0.31) 56(84) bytes of data.
    64 bytes from compute1 (10.0.0.31): icmp_seq=1 ttl=64 time=0.263 ms
    64 bytes from compute1 (10.0.0.31): icmp_seq=2 ttl=64 time=0.202 ms
    64 bytes from compute1 (10.0.0.31): icmp_seq=3 ttl=64 time=0.203 ms
    64 bytes from compute1 (10.0.0.31): icmp_seq=4 ttl=64 time=0.202 ms
    
    --- compute1 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3000ms
    rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms
    
  3. A partir du nœud compute, tester l’accès à internet:

    # ping -c 4 openstack.org
    PING openstack.org (174.143.194.225) 56(84) bytes of data.
    64 bytes from 174.143.194.225: icmp_seq=1 ttl=54 time=18.3 ms
    64 bytes from 174.143.194.225: icmp_seq=2 ttl=54 time=17.5 ms
    64 bytes from 174.143.194.225: icmp_seq=3 ttl=54 time=17.5 ms
    64 bytes from 174.143.194.225: icmp_seq=4 ttl=54 time=17.4 ms
    
    --- openstack.org ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3022ms
    rtt min/avg/max/mdev = 17.489/17.715/18.346/0.364 ms
    
  4. A partir du nœud compute, tester l’accès à l’interface de management du nœud contrôleur:

    # ping -c 4 controller
    PING controller (10.0.0.11) 56(84) bytes of data.
    64 bytes from controller (10.0.0.11): icmp_seq=1 ttl=64 time=0.263 ms
    64 bytes from controller (10.0.0.11): icmp_seq=2 ttl=64 time=0.202 ms
    64 bytes from controller (10.0.0.11): icmp_seq=3 ttl=64 time=0.203 ms
    64 bytes from controller (10.0.0.11): icmp_seq=4 ttl=64 time=0.202 ms
    
    --- controller ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3000ms
    rtt min/avg/max/mdev = 0.202/0.217/0.263/0.030 ms
    

Note

Votre distribution active par défaut un firewall restrictif. Pendant le processus d’installation, certaines étapes vont échouer à moins de modifier ou de désactiver le firewall. Pour plus d’information concernant la sécurisation de votre environnement, se référer au Guide de sécurité OpenStack.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.