<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Sending back to Openstack list since other people might help you
    better than me, anyway:<br>
    <br>
    Can you post result from:<br>
    <br>
    $ virsh net-dumpxml default<br>
    <br>
    I'm not sure about this, but It seems host is trying wrong bridge
    when connecting your vms, I had similar problem installing from
    source, since I was trying old instructions and openstack networks
    default had changed. Script you are using might be not updated too.<br>
    <blockquote
cite="mid:CAJS=8sOzbeLpwg-=vxhsFmeXHakK7yW3CVDdz64GyTOkKJuxJA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Andi and Rafael,
        <div><br>
        </div>
        <div>Thanks a lot for your replies!</div>
        <div><br>
        </div>
        <div>Here is my /etc/network/interfaces :</div>
        <div><br>
        </div>
        <div>
          <div>auto lo</div>
          <div>iface lo inet loopback</div>
          <div>
            auto eth0</div>
          <div>iface eth0 inet static</div>
          <div>  address 172.241.0.101</div>
          <div>  network 172.241.0.0</div>
          <div>  netmask 255.255.255.128</div>
          <div><br>
          </div>
          <div>Here are all the relevant commands from `history`:</div>
          <div><br>
          </div>
          <div>
            <div>   14  sudo apt-get -y install openssh-server</div>
            <div>   15  cd /etc/network/</div>
            <div>   18  sudo apt-get install emacs</div>
            <div>   21  sudo cp interfaces interfaces.bak</div>
            <div>   22  sudo emacs interfaces</div>
            <div>   23  sudo apt-get update</div>
            <div>   24  sudo apt-get upgrade</div>
            <div>   31  sudo init 0</div>
            <div>   72  wget --no-check-certificate <a
                moz-do-not-send="true"
href="https://github.com/uksysadmin/OpenStackInstaller/raw/master/OSinstall.sh">https://github.com/uksysadmin/OpenStackInstaller/raw/master/OSinstall.sh</a></div>
            <div>   74  cd ..</div>
            <div>   76  mkdir openstack</div>
            <div>   77  mv shared/OSinstall.sh openstack/</div>
            <div>   78  cd openstack/</div>
            <div>   81  sudo bash ./OSinstall.sh -A $(whoami)</div>
            <div>   85  sudo nova-manage user admin aron</div>
            <div>   88  sudo nova-manage project create myproject aron</div>
            <div>   90  sudo nova-manage project zipfile myproject aron</div>
            <div>   91  mkdir -p cloud/creds</div>
            <div>   93  cd ..</div>
            <div>   95  cd ..</div>
            <div>   98  cd cloud/</div>
            <div>  100  cd creds</div>
            <div>  102  unzip /home/aron/openstack/nova.zip </div>
            <div>  107  . novarc</div>
            <div>  110  cd</div>
            <div>  111  cd openstack/</div>
            <div>  113  euca-add-keypair openstack >
              ~/cloud/creds/openstack.pem</div>
            <div>  114  euca-add-keypair openstack >
              cloud/creds/openstack.pem</div>
            <div>  115  chmod 0600 cloud/creds/*</div>
            <div>  117  cd cloud/</div>
            <div>  119  cd creds/</div>
            <div>  122  euca-authorize default -P tcp -p 22 -s <a
                moz-do-not-send="true" href="http://0.0.0.0/0">0.0.0.0/0</a></div>
            <div>  123  euca-authorize default -P tcp -p 80 -s <a
                moz-do-not-send="true" href="http://0.0.0.0/0">0.0.0.0/0</a></div>
            <div>  124  euca-authorize default -P tcp -p 8080 -s <a
                moz-do-not-send="true" href="http://0.0.0.0/0">0.0.0.0/0</a></div>
            <div>  125  euca-authorize default -P icmp -t -1:-1</div>
            <div>  126
               image="ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz"</div>
            <div>  127  wget <a moz-do-not-send="true"
                href="http://smoser.brickies.net/ubuntu/ttylinux-uec/$image">http://smoser.brickies.net/ubuntu/ttylinux-uec/$image</a></div>
            <div>  128  uec-publish-tarball $image mybucket</div>
            <div>  129  emi="ami-0a892947"; eri="ari-2e76fb01";
              eki="aki-78fdf924";</div>
            <div>  130  euca-run-instances $emi -k openstack -t m1.tiny</div>
            <div>  131  euca-describe-instances </div>
            <div>  132  sudo nova-manage floating create cloud1 <a
                moz-do-not-send="true" href="http://172.241.0.0/25">172.241.0.0/25</a></div>
            <div>  133  euca-allocate-address</div>
            <div>  134  euca-allocate-address</div>
            <div>  136  euca-associate-address -i i-00000001 172.141.0.1</div>
            <div>  140  ssh -i openstack.pem <a moz-do-not-send="true"
                href="mailto:root@10.0.0.3">root@10.0.0.3</a></div>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              <div bgcolor="#ffffff" text="#000000">
                <div>
                  <div class="h5"><br>
                    <br>
                    On 03/08/11 13:33, Aron Matskin wrote: </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div class="h5">
                      <div dir="ltr">Hi all!
                        <div><br>
                        </div>
                        <div>Just joined the mailing list. I'd like to
                          do some development on the project (probably
                          Nova).  Some questions regarding how to start:</div>
                        <div><br>
                        </div>
                        <div>Q1. I'm trying to setup Nova in a virtual
                          environment - <a moz-do-not-send="true"
href="http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/"
                            target="_blank">http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/</a> -

                          on a Windows host. I've successfully started
                          an instance and assigned it a network address:</div>
                        <div><br>
                        </div>
                        <div>
                          <div><font color="#666666">aron@cloud1:~/openstack/cloud/creds$

                              euca-describe-instances</font></div>
                          <div><font color="#666666">RESERVATION<span
                                style="white-space: pre-wrap;"> </span>r-k6e14a5w<span
                                style="white-space: pre-wrap;"> </span>myproject<span
                                style="white-space: pre-wrap;"> </span>default</font></div>
                          <div><font color="#666666">INSTANCE<span
                                style="white-space: pre-wrap;"> </span>i-00000001<span
                                style="white-space: pre-wrap;"> </span>ami-0a892947<span
                                style="white-space: pre-wrap;"> </span>172.241.0.1<span
                                style="white-space: pre-wrap;"> </span>10.0.0.3<span
                                style="white-space: pre-wrap;"> </span>running<span
                                style="white-space: pre-wrap;"> </span>openstack

                              (myproject, cloud1)<span
                                style="white-space: pre-wrap;"> </span>0<span
                                style="white-space: pre-wrap;"> </span>m1.tiny<span
                                style="white-space: pre-wrap;"> </span>2011-08-02T20:28:46Z<span
                                style="white-space: pre-wrap;"> </span>nova</font></div>
                        </div>
                        <div><font color="#666666"><br>
                          </font></div>
                        <div>but I'm unable to connect to the address
                          (neither from the guest nor from the host):</div>
                        <div><br>
                        </div>
                        <div>From the guest:</div>
                        <div> <br>
                        </div>
                        <div>
                          <div><font color="#666666">aron@cloud1:~/openstack/cloud/creds$

                              ping 172.241.0.1</font></div>
                          <div><font color="#666666">PING 172.241.0.1
                              (172.241.0.1) 56(84) bytes of data.</font></div>
                          <div><font color="#666666">From 172.241.0.1
                              icmp_seq=2 Destination Host Unreachable</font></div>
                        </div>
                        <div><font color="#666666"><br>
                          </font></div>
                        <div>
                          <div><font color="#666666">aron@cloud1:~/openstack/cloud/creds$

                              ping 10.0.0.3</font></div>
                          <div><font color="#666666">PING 10.0.0.3
                              (10.0.0.3) 56(84) bytes of data.</font></div>
                          <div><font color="#666666">From 10.0.0.1
                              icmp_seq=1 Destination Host Unreachable</font></div>
                        </div>
                        <div><br>
                        </div>
                        <div>From the host:</div>
                        <div><br>
                        </div>
                        <div>
                          <div><font color="#666666">C:\>ping
                              172.241.0.1</font></div>
                          <div><font color="#666666"><br>
                            </font></div>
                          <div><font color="#666666">Pinging 172.241.0.1
                              with 32 bytes of data:</font></div>
                          <div><font color="#666666">Reply from <a
                                moz-do-not-send="true"
                                href="http://172.241.0.1"
                                target="_blank">172.241.0.1</a>:
                              Destination host unreachable.</font></div>
                        </div>
                        <div><font color="#666666"><br>
                          </font></div>
                        <div>Pinging the guest from the host and vice
                          versa is ok, e.g.:</div>
                        <div><br>
                        </div>
                        <div>
                          <div><font color="#666666">C:\>ping
                              172.241.0.101</font></div>
                          <div><font color="#666666"><br>
                            </font></div>
                          <div><font color="#666666">Pinging
                              172.241.0.101 with 32 bytes of data:</font></div>
                          <div><font color="#666666">Reply from <a
                                moz-do-not-send="true"
                                href="http://172.241.0.101"
                                target="_blank">172.241.0.101</a>:
                              bytes=32 time=1ms TTL=64</font></div>
                        </div>
                        <div><br>
                        </div>
                        <div>What may be wrong?</div>
                        <div><br>
                        </div>
                        <div>Q2. When I do succeed to setup the
                          environment, can anybody to point me to
                          documentation on how to write simple code for
                          OpenStack? Something along the lines of
                          "Hello, world!", but using some features
                          peculiar to cloud applications.</div>
                        <div><br>
                        </div>
                        <div>Q3. I have no technical knowledge about the
                          cloud at all. Can anybody suggest a learning
                          path so that I quickly can gain the basic
                          necessary general and specific knowledge to
                          start coding (i.e. first read the code and
                          know what's flying, then fix some bugs, etc.)?</div>
                        <div><br>
                        </div>
                        <div>Thanks in advance, -Aron</div>
                        <div> </div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div><span style="font-family: sans-serif;
                            font-size: 14px; line-height: 18px;"><br>
                          </span></div>
                      </div>
                    </div>
                  </div>
                  <pre><fieldset></fieldset>
_______________________________________________
Mailing list: <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><div class="im">
Post to     : <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a moz-do-not-send="true" href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</div></pre>
                </blockquote>
                <br>
              </div>
              <br>
              _______________________________________________<br>
              Mailing list: <a moz-do-not-send="true"
                href="https://launchpad.net/%7Eopenstack"
                target="_blank">https://launchpad.net/~openstack</a><br>
              Post to     : <a moz-do-not-send="true"
                href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
              Unsubscribe : <a moz-do-not-send="true"
                href="https://launchpad.net/%7Eopenstack"
                target="_blank">https://launchpad.net/~openstack</a><br>
              More help   : <a moz-do-not-send="true"
                href="https://help.launchpad.net/ListHelp"
                target="_blank">https://help.launchpad.net/ListHelp</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>