<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      Please find nova.conf and iptables<br>
      <br>
      Thanks,<br>
      <br>
      <br>
      +++++++++++++++++++<br>
      /home/os-controller# cat /etc/nova/nova.conf<br>
      [DEFAULT]<br>
      logdir=/var/log/nova<br>
      state_path=/var/lib/nova<br>
      lock_path=/run/lock/nova<br>
      verbose=True<br>
      api_paste_config=/etc/nova/api-paste.ini<br>
      scheduler_driver=nova.scheduler.simple.SimpleScheduler<br>
      s3_host=10.2.112.4<br>
      ec2_host=10.2.112.4<br>
      ec2_dmz_host=10.2.112.4<br>
      rabbit_host=10.2.112.4<br>
      cc_host=10.2.112.4<br>
      metadata_host=10.2.112.4<br>
      metadata_listen=0.0.0.0<br>
      nova_url=<a class="moz-txt-link-freetext" href="http://10.2.112.4:8774/v1.1/">http://10.2.112.4:8774/v1.1/</a><br>
      <a class="moz-txt-link-abbreviated" href="mailto:sql_connection=mysql://novaUser:novaPass@10.2.112.4/nova">sql_connection=mysql://novaUser:novaPass@10.2.112.4/nova</a><br>
      ec2_url=<a class="moz-txt-link-freetext" href="http://10.2.112.4:8773/services/Cloud">http://10.2.112.4:8773/services/Cloud</a><br>
      root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf<br>
      <br>
      # Auth<br>
      use_deprecated_auth=false<br>
      auth_strategy=keystone<br>
      keystone_ec2_url=<a class="moz-txt-link-freetext" href="http://10.2.112.4:5000/v2.0/ec2tokens">http://10.2.112.4:5000/v2.0/ec2tokens</a><br>
      <br>
      # Imaging service<br>
      glance_api_servers=10.2.112.4:9292<br>
      image_service=nova.image.glance.GlanceImageService<br>
      <br>
      # Vnc configuration<br>
      novnc_enabled=true<br>
      novncproxy_base_url=<a class="moz-txt-link-freetext" href="http://10.2.112.4:6080/vnc_auto.html">http://10.2.112.4:6080/vnc_auto.html</a><br>
      novncproxy_port=6080<br>
      vncserver_proxyclient_address=10.2.112.4<br>
      vncserver_listen=0.0.0.0<br>
      <br>
      # Network settings<br>
      network_api_class=nova.network.quantumv2.api.API<br>
      quantum_url=<a class="moz-txt-link-freetext" href="http://10.2.112.4:9696">http://10.2.112.4:9696</a><br>
      quantum_auth_strategy=keystone<br>
      quantum_admin_tenant_name=service<br>
      quantum_admin_username=quantum<br>
      quantum_admin_password=service_pass<br>
      quantum_admin_auth_url=<a class="moz-txt-link-freetext" href="http://10.2.112.4:35357/v2.0">http://10.2.112.4:35357/v2.0</a><br>
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver<br>
linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver<br>
      firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver<br>
      <br>
      # Compute #<br>
      compute_driver=libvirt.LibvirtDriver<br>
      <br>
      # Cinder #<br>
      volume_api_class=nova.volume.cinder.API<br>
      osapi_volume_listen_port=5900<br>
      root@oscontroller-desktop:/home/os-controller# <br>
      <br>
      +++++++++++++++++++++++++++++++++++++++++<br>
      <br>
      /home/os-controller# iptables -t nat -n -L<br>
      <br>
      Chain PREROUTING (policy ACCEPT)<br>
      target     prot opt source               destination         <br>
      nova-compute-PREROUTING  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      nova-api-PREROUTING  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      <br>
      Chain INPUT (policy ACCEPT)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain OUTPUT (policy ACCEPT)<br>
      target     prot opt source               destination         <br>
      nova-compute-OUTPUT  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      nova-api-OUTPUT  all  --  0.0.0.0/0            0.0.0.0/0          
      <br>
      <br>
      Chain POSTROUTING (policy ACCEPT)<br>
      target     prot opt source               destination         <br>
      nova-compute-POSTROUTING  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      nova-api-POSTROUTING  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      nova-postrouting-bottom  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      <br>
      Chain nova-api-OUTPUT (1 references)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain nova-api-POSTROUTING (1 references)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain nova-api-PREROUTING (1 references)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain nova-api-float-snat (1 references)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain nova-api-snat (1 references)<br>
      target     prot opt source               destination         <br>
      nova-api-float-snat  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      <br>
      Chain nova-compute-OUTPUT (1 references)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain nova-compute-POSTROUTING (1 references)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain nova-compute-PREROUTING (1 references)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain nova-compute-float-snat (1 references)<br>
      target     prot opt source               destination         <br>
      <br>
      Chain nova-compute-snat (1 references)<br>
      target     prot opt source               destination         <br>
      nova-compute-float-snat  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      <br>
      Chain nova-postrouting-bottom (1 references)<br>
      target     prot opt source               destination         <br>
      nova-compute-snat  all  --  0.0.0.0/0           
      0.0.0.0/0           <br>
      nova-api-snat  all  --  0.0.0.0/0            0.0.0.0/0           <br>
      root@oscontroller-desktop:/home/os-controller# <br>
      <br>
      <br>
      <br>
      <br>
      On Thursday 31 January 2013 01:54 PM, Razique Mahroua wrote:<br>
    </div>
    <blockquote
      cite="mid:81976C91-23F3-4FB8-85CE-0221BC7A9827@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Hi,
      <div>looks like the instances has not been able to reach the
        metadata server. </div>
      <div>Can you paste your nova.conf and iptables rules ?</div>
      <div>$ iptables -L nv - nat</div>
      <div><br>
      </div>
      <div>thanks !</div>
      <div><br>
      </div>
      <div><br>
        <div apple-content-edited="true">
          <span class="Apple-style-span" style="color: rgb(0, 0, 0);
            font-size: medium; font-style: normal; font-variant: normal;
            font-weight: normal; letter-spacing: normal; line-height:
            normal; orphans: 2; text-align: -webkit-auto; text-indent:
            0px; text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-text-size-adjust: auto;
            -webkit-text-stroke-width: 0px; border-collapse: separate;
            font-family: 'Lucida Grande'; border-spacing: 0px;
            -webkit-text-decorations-in-effect: none; "><span
              class="Apple-style-span" style="font-weight: normal;
              font-family: Helvetica; "><b style="color: rgb(19, 112,
                138); ">Razique Mahroua</b></span><span
              class="Apple-style-span" style="font-weight: normal;
              font-family: Helvetica; color: rgb(19, 112, 138); "><b> - </b></span><span
              class="Apple-style-span" style="font-family: Helvetica; "><span
                class="Apple-style-span" style="font-weight: normal;
                font-family: Helvetica; "><b style="color: rgb(19, 112,
                  138); ">Nuage & Co</b></span><span
                class="Apple-style-span" style="border-collapse:
                separate; font-family: Helvetica; font-style: normal;
                font-variant: normal; letter-spacing: normal;
                line-height: normal; orphans: 2; text-align:
                -webkit-auto; text-indent: 0px; text-transform: none;
                white-space: normal; widows: 2; word-spacing: 0px;
                border-spacing: 0px; -webkit-text-decorations-in-effect:
                none; -webkit-text-size-adjust: auto;
                -webkit-text-stroke-width: 0px; font-size: medium; "><span
                  class="Apple-style-span" style="color: rgb(0, 0, 0);
                  font-family: Helvetica; font-size: medium; font-style:
                  normal; font-variant: normal; font-weight: normal;
                  letter-spacing: normal; line-height: normal; orphans:
                  2; text-align: -webkit-auto; text-indent: 0px;
                  text-transform: none; white-space: normal; widows: 2;
                  word-spacing: 0px; -webkit-text-size-adjust: auto;
                  -webkit-text-stroke-width: 0px; border-collapse:
                  separate; border-spacing: 0px;
                  -webkit-text-decorations-in-effect: none; "><span
                    class="Apple-style-span" style="border-collapse:
                    separate; font-variant: normal; letter-spacing:
                    normal; line-height: normal; orphans: 2; text-align:
                    -webkit-auto; text-indent: 0px; text-transform:
                    none; white-space: normal; widows: 2; word-spacing:
                    0px; border-spacing: 0px;
                    -webkit-text-decorations-in-effect: none;
                    -webkit-text-size-adjust: auto;
                    -webkit-text-stroke-width: 0px; ">
                    <div style="font-weight: normal; color: rgb(0, 0,
                      0); font-family: Helvetica; font-size: medium;
                      font-style: normal; "><font
                        class="Apple-style-span" color="#13708a"><a
                          moz-do-not-send="true"
                          href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div>
                    <div style="color: rgb(0, 0, 0); font-family:
                      Helvetica; font-size: medium; font-style: normal;
                      "><font class="Apple-style-span" color="#13708a">Tel :
                        +33 9 72 37 94 15</font></div>
                  </span></span></span></span></span><br
            class="Apple-interchange-newline">
          <span><img id="0ce457dc-9a2b-42a2-8476-eb9e031773a6"
              apple-width="yes" apple-height="yes"
              src="cid:part2.03010209.05010009@oneconvergence.com"
              height="112" width="125"></span>
        </div>
        <br>
        <div>
          <div>Le 31 janv. 2013 à 07:32, Shyam Goud <<a
              moz-do-not-send="true"
              href="mailto:shyam.todeti@oneconvergence.com">shyam.todeti@oneconvergence.com</a>>
            a écrit :</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              I imported my ssh pub-key to openstack via Horizon web
              interface's access&security option. And launched VM
              with it. But haven't succeeded ssh to the VM. <br>
              <br>
              Is the ubuntu cloud image has user name "ubuntu" or "root"
              ? Plz let me know what I am missing here. <br>
              <br>
              +++++++++++++++++++<br>
              <i><small><br>
                  #nova keypair-list</small></i><br>
              <small><i>+---------------------+-------------------------------------------------+</i><i><br>
                </i><i>| Name                |
                  Fingerprint                                        
                        |</i><i><br>
                </i><i>+---------------------+-------------------------------------------------+</i><i><br>
                </i><i>| shyam               |
                  e7:57:1c:d1:76:26:84:50:67:a9:70:41:69:4f:6a:8b |</i><i><br>
                </i><i>+---------------------+-------------------------------------------------+</i></small><br>
              <br>
              <small><i><a moz-do-not-send="true"
                    class="moz-txt-link-abbreviated"
                    href="mailto:sgoud@ibuntu:%7E/.ssh$">sgoud@ibuntu:~/.ssh$</a>
                  ssh <a moz-do-not-send="true"
                    class="moz-txt-link-abbreviated"
                    href="mailto:ubuntu@10.2.113.133">ubuntu@10.2.113.133</a>
                  -v</i><i><br>
                </i><i>OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10
                  May 2012</i><i><br>
                </i><i>debug1: Reading configuration data
                  /etc/ssh/ssh_config</i><i><br>
                </i><i>debug1: /etc/ssh/ssh_config line 19: Applying
                  options for *</i><i><br>
                </i><i>debug1: Connecting to 10.2.113.133 [10.2.113.133]
                  port 22.</i><i><br>
                </i><i>debug1: Connection established.</i><i><br>
                </i><i>debug1: identity file /home/sgoud/.ssh/id_rsa
                  type 1</i><i><br>
                </i><i>debug1: Checking blacklist file
                  /usr/share/ssh/blacklist.RSA-2048</i><i><br>
                </i><i>debug1: Checking blacklist file
                  /etc/ssh/blacklist.RSA-2048</i><i><br>
                </i><i>debug1: identity file
                  /home/sgoud/.ssh/id_rsa-cert type -1</i><i><br>
                </i><i>debug1: identity file /home/sgoud/.ssh/id_dsa
                  type -1</i><i><br>
                </i><i>debug1: identity file
                  /home/sgoud/.ssh/id_dsa-cert type -1</i><i><br>
                </i><i>debug1: identity file /home/sgoud/.ssh/id_ecdsa
                  type -1</i><i><br>
                </i><i>debug1: identity file
                  /home/sgoud/.ssh/id_ecdsa-cert type -1</i><i><br>
                </i><i>debug1: Remote protocol version 2.0, remote
                  software version OpenSSH_5.9p1 Debian-5ubuntu1</i><i><br>
                </i><i>debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat
                  OpenSSH_5*</i><i><br>
                </i><i>debug1: Enabling compatibility mode for protocol
                  2.0</i><i><br>
                </i><i>debug1: Local version string
                  SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1</i><i><br>
                </i><i>debug1: SSH2_MSG_KEXINIT sent</i><i><br>
                </i><i>Connection closed by 10.2.113.133</i></small><br>
              +++++++++++++++++++<br>
              <br>
              Thanks,<br>
              Shyam.<br>
            </div>
            _______________________________________________<br>
            OpenStack-operators mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>