Re: [Openstack] some newbie questions

2011-08-05 Thread Aron Matskin
Thanks to all, who replied - I managed to start an instance and to ssh to
it. Installing 64bit Linux on guest did the trick (I also think hardware
virtualization had to be enabled). Next step is to install euca2ools for
Windows and to be able to control Nova from Windows.

-Aron
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] some newbie questions

2011-08-05 Thread Soren Hansen
2011/8/4 Ewan Mellor :
>> You don't *need* to run 64-bit Linux on the host, but if you're
>> running a 32-bit Linux kernel on the host, you'll be limited to 32-bit
>> guests as well (at least with KVM (for now), not sure about the
>> others).
> A similar thing is true of Xen too -- a 32-bit hypervisor limits you to 
> 32-bit guests.  XenServer runs a 64-bit hypervisor and a 32-bit domain 0.

FWIW, VMWare actually manages to do this (at a slight performance
penalty). The CPU of course must be 64-bit capable, but the host
kernel can be 32 bit.

-- 
Soren Hansen        | http://linux2go.dk/
Ubuntu Developer    | http://www.ubuntu.com/
OpenStack Developer | http://www.openstack.org/

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] some newbie questions

2011-08-04 Thread Ewan Mellor
> -Original Message-
> From: openstack-bounces+ewan.mellor=citrix@lists.launchpad.net
> [mailto:openstack-bounces+ewan.mellor=citrix@lists.launchpad.net]
> On Behalf Of Soren Hansen
> Sent: 04 August 2011 03:45
> To: Aron Matskin
> Cc: Mark Gius; openstack@lists.launchpad.net
> Subject: Re: [Openstack] some newbie questions
> 
> 2011/8/4 Aron Matskin :
> > It seems to me that it refers to my Ubuntu installation on the guest,
> I've
> > used ubuntu-10.10-desktop-i386.iso , I probably should have
> > used ubuntu-10.10-desktop-amd64.iso . Can anybody confirm this before
> I
> > spend half a day on re-installation?
> 
> You don't *need* to run 64-bit Linux on the host, but if you're
> running a 32-bit Linux kernel on the host, you'll be limited to 32-bit
> guests as well (at least with KVM (for now), not sure about the
> others).

A similar thing is true of Xen too -- a 32-bit hypervisor limits you to 32-bit 
guests.  XenServer runs a 64-bit hypervisor and a 32-bit domain 0.

Ewan.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] some newbie questions

2011-08-04 Thread Soren Hansen
2011/8/4 Aron Matskin :
> It seems to me that it refers to my Ubuntu installation on the guest, I've
> used ubuntu-10.10-desktop-i386.iso , I probably should have
> used ubuntu-10.10-desktop-amd64.iso . Can anybody confirm this before I
> spend half a day on re-installation?

You don't *need* to run 64-bit Linux on the host, but if you're
running a 32-bit Linux kernel on the host, you'll be limited to 32-bit
guests as well (at least with KVM (for now), not sure about the
others).

-- 
Soren Hansen        | http://linux2go.dk/
Ubuntu Developer    | http://www.ubuntu.com/
OpenStack Developer | http://www.openstack.org/

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] some newbie questions

2011-08-04 Thread Aron Matskin
Ok, it worked:

[QEMU (instance-0001)]

Starting SeaBIOS...

This kernel requires an x86-64 CPU,  but only detected an i686 CPU.
Unable to boot - please use a kernel appropriate to your CPU.

---

It seems to me that it refers to my Ubuntu installation on the guest, I've
used ubuntu-10.10-desktop-i386.iso , I probably should have
used ubuntu-10.10-desktop-amd64.iso . Can anybody confirm this before I
spend half a day on re-installation?

Will be much obliged, -Aron

On Thu, Aug 4, 2011 at 2:11 AM, Nathanael Burton <
nathanael.i.bur...@gmail.com> wrote:

> Actually the VNC display number varies based on how many instances may be
> running on the node. Login to the box and run "virsh list" to list the
> instances and get the domain id of the one in question. Then run "virsh
> vncdisplay " and it will output the VNC display number.  :0 means 5900,
> :1 means 5901, etc...
>
> /nate
> On Aug 3, 2011 7:07 PM, "Mark Gius"  wrote:
> > Ugh this was a few months ago and I haven't done much with nova recently.
> > IIRC, all you have to do is connect to the :1 vnc on the nova host. So if
> > you have VNC and a GUI on your nova host, you can do that from the host
> with
> > your favorite vncviewer (ubuntu comes with remote desktop viewer) and
> > connect to :1. So the string you would type into the remote desktop
> viewer
> > program would be
> >
> > localhost:1
> >
> > You can do this through ssh port forwarding as well.
> >
> > Hopefully the above is sensical.
> >
> > Mark
> >
> > On Wed, Aug 3, 2011 at 3:32 PM, Aron Matskin 
> wrote:
> >
> >> Mark,
> >>
> >> Thanks for the advice - I'll take a look at it tomorrow. Just to save me
> >> some time: where is the log or/and how do I display it?
> >>
> >> -AM
> >>
> >>
> >> On Thu, Aug 4, 2011 at 1:24 AM, Mark Gius  wrote:
> >>
> >>> A1: When I had the symptoms you are describing it was because the
> instance
> >>> never managed to boot from the image, and was just spinning cpu cycles
> >>> displaying a "could not boot disk" type message. I figured that out by
> >>> connecting to the VNC console of the instance. IIRC, you can look
> through
> >>> the nova logs to figure out what VNC address to hit for the instance.
> >>>
> >>> Mark
> >>>
> >>> On Wed, Aug 3, 2011 at 4:33 AM, Aron Matskin  >wrote:
> >>>
>  Hi all!
> 
>  Just joined the mailing list. I'd like to do some development on the
>  project (probably Nova). Some questions regarding how to start:
> 
>  Q1. I'm trying to setup Nova in a virtual environment -
> 
> http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/-
>  on a Windows host. I've successfully started an instance and assigned
> it a
>  network address:
> 
>  aron@cloud1:~/openstack/cloud/creds$ euca-describe-instances
>  RESERVATION r-k6e14a5w myproject default
>  INSTANCE i-0001 ami-0a892947 172.241.0.1 10.0.0.3 running
> openstack
>  (myproject, cloud1) 0 m1.tiny 2011-08-02T20:28:46Z nova
> 
>  but I'm unable to connect to the address (neither from the guest nor
> from
>  the host):
> 
>  From the guest:
> 
>  aron@cloud1:~/openstack/cloud/creds$ ping 172.241.0.1
>  PING 172.241.0.1 (172.241.0.1) 56(84) bytes of data.
>  From 172.241.0.1 icmp_seq=2 Destination Host Unreachable
> 
>  aron@cloud1:~/openstack/cloud/creds$ ping 10.0.0.3
>  PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
>  From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
> 
>  From the host:
> 
>  C:\>ping 172.241.0.1
> 
>  Pinging 172.241.0.1 with 32 bytes of data:
>  Reply from 172.241.0.1: Destination host unreachable.
> 
>  Pinging the guest from the host and vice versa is ok, e.g.:
> 
>  C:\>ping 172.241.0.101
> 
>  Pinging 172.241.0.101 with 32 bytes of data:
>  Reply from 172.241.0.101: bytes=32 time=1ms TTL=64
> 
>  What may be wrong?
> 
>  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.
> 
>  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.)?
> 
>  Thanks in advance, -Aron
> 
> 
> 
> 
> 
> 
>  ___
>  Mailing list: https://launchpad.net/~openstack
>  Post to : openstack@lists.launchpad.net
>  Unsubscribe : https://launchpad.net/~openstack
>  More help : https://help.launchpad.net/ListHelp
> 
> 
> >>>
> >>
>
___
Mailing list: https://launchpad

Re: [Openstack] some newbie questions

2011-08-03 Thread Rafael Durán Castañeda
Sending back to Openstack list since other people might help you better 
than me, anyway:


Can you post result from:

$ virsh net-dumpxml default

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.

Andi and Rafael,

Thanks a lot for your replies!

Here is my /etc/network/interfaces :

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
  address 172.241.0.101
  network 172.241.0.0
  netmask 255.255.255.128

Here are all the relevant commands from `history`:

   14  sudo apt-get -y install openssh-server
   15  cd /etc/network/
   18  sudo apt-get install emacs
   21  sudo cp interfaces interfaces.bak
   22  sudo emacs interfaces
   23  sudo apt-get update
   24  sudo apt-get upgrade
   31  sudo init 0
   72  wget --no-check-certificate 
https://github.com/uksysadmin/OpenStackInstaller/raw/master/OSinstall.sh

   74  cd ..
   76  mkdir openstack
   77  mv shared/OSinstall.sh openstack/
   78  cd openstack/
   81  sudo bash ./OSinstall.sh -A $(whoami)
   85  sudo nova-manage user admin aron
   88  sudo nova-manage project create myproject aron
   90  sudo nova-manage project zipfile myproject aron
   91  mkdir -p cloud/creds
   93  cd ..
   95  cd ..
   98  cd cloud/
  100  cd creds
  102  unzip /home/aron/openstack/nova.zip
  107  . novarc
  110  cd
  111  cd openstack/
  113  euca-add-keypair openstack > ~/cloud/creds/openstack.pem
  114  euca-add-keypair openstack > cloud/creds/openstack.pem
  115  chmod 0600 cloud/creds/*
  117  cd cloud/
  119  cd creds/
  122  euca-authorize default -P tcp -p 22 -s 0.0.0.0/0 
  123  euca-authorize default -P tcp -p 80 -s 0.0.0.0/0 
  124  euca-authorize default -P tcp -p 8080 -s 0.0.0.0/0 


  125  euca-authorize default -P icmp -t -1:-1
  126  image="ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz"
  127  wget http://smoser.brickies.net/ubuntu/ttylinux-uec/$image
  128  uec-publish-tarball $image mybucket
  129  emi="ami-0a892947"; eri="ari-2e76fb01"; eki="aki-78fdf924";
  130  euca-run-instances $emi -k openstack -t m1.tiny
  131  euca-describe-instances
  132  sudo nova-manage floating create cloud1 172.241.0.0/25 


  133  euca-allocate-address
  134  euca-allocate-address
  136  euca-associate-address -i i-0001 172.141.0.1
  140  ssh -i openstack.pem root@10.0.0.3 





On 03/08/11 13:33, Aron Matskin wrote:

Hi all!

Just joined the mailing list. I'd like to do some development on
the project (probably Nova).  Some questions regarding how to start:

Q1. I'm trying to setup Nova in a virtual environment -

http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/
 -
on a Windows host. I've successfully started an instance and
assigned it a network address:

aron@cloud1:~/openstack/cloud/creds$ euca-describe-instances
RESERVATIONr-k6e14a5wmyprojectdefault
INSTANCEi-0001ami-0a892947172.241.0.110.0.0.3runningopenstack
(myproject, cloud1)0m1.tiny2011-08-02T20:28:46Znova

but I'm unable to connect to the address (neither from the guest
nor from the host):

From the guest:

aron@cloud1:~/openstack/cloud/creds$ ping 172.241.0.1
PING 172.241.0.1 (172.241.0.1) 56(84) bytes of data.
From 172.241.0.1 icmp_seq=2 Destination Host Unreachable

aron@cloud1:~/openstack/cloud/creds$ ping 10.0.0.3
PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable

From the host:

C:\>ping 172.241.0.1

Pinging 172.241.0.1 with 32 bytes of data:
Reply from 172.241.0.1 : Destination host
unreachable.

Pinging the guest from the host and vice versa is ok, e.g.:

C:\>ping 172.241.0.101

Pinging 172.241.0.101 with 32 bytes of data:
Reply from 172.241.0.101 : bytes=32
time=1ms TTL=64

What may be wrong?

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.

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.)?

Thanks in advance, -Aron





___
Mailing list:https://launchpad.net/~openstack  

Post to : openstack@lists.launchpad.net
 Unsubscribe :
https://launchpad.n

Re: [Openstack] some newbie questions

2011-08-03 Thread Nathanael Burton
Actually the VNC display number varies based on how many instances may be
running on the node. Login to the box and run "virsh list" to list the
instances and get the domain id of the one in question. Then run "virsh
vncdisplay " and it will output the VNC display number.  :0 means 5900,
:1 means 5901, etc...

/nate
On Aug 3, 2011 7:07 PM, "Mark Gius"  wrote:
> Ugh this was a few months ago and I haven't done much with nova recently.
> IIRC, all you have to do is connect to the :1 vnc on the nova host. So if
> you have VNC and a GUI on your nova host, you can do that from the host
with
> your favorite vncviewer (ubuntu comes with remote desktop viewer) and
> connect to :1. So the string you would type into the remote desktop viewer
> program would be
>
> localhost:1
>
> You can do this through ssh port forwarding as well.
>
> Hopefully the above is sensical.
>
> Mark
>
> On Wed, Aug 3, 2011 at 3:32 PM, Aron Matskin 
wrote:
>
>> Mark,
>>
>> Thanks for the advice - I'll take a look at it tomorrow. Just to save me
>> some time: where is the log or/and how do I display it?
>>
>> -AM
>>
>>
>> On Thu, Aug 4, 2011 at 1:24 AM, Mark Gius  wrote:
>>
>>> A1: When I had the symptoms you are describing it was because the
instance
>>> never managed to boot from the image, and was just spinning cpu cycles
>>> displaying a "could not boot disk" type message. I figured that out by
>>> connecting to the VNC console of the instance. IIRC, you can look
through
>>> the nova logs to figure out what VNC address to hit for the instance.
>>>
>>> Mark
>>>
>>> On Wed, Aug 3, 2011 at 4:33 AM, Aron Matskin wrote:
>>>
 Hi all!

 Just joined the mailing list. I'd like to do some development on the
 project (probably Nova). Some questions regarding how to start:

 Q1. I'm trying to setup Nova in a virtual environment -

http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/-
 on a Windows host. I've successfully started an instance and assigned
it a
 network address:

 aron@cloud1:~/openstack/cloud/creds$ euca-describe-instances
 RESERVATION r-k6e14a5w myproject default
 INSTANCE i-0001 ami-0a892947 172.241.0.1 10.0.0.3 running openstack
 (myproject, cloud1) 0 m1.tiny 2011-08-02T20:28:46Z nova

 but I'm unable to connect to the address (neither from the guest nor
from
 the host):

 From the guest:

 aron@cloud1:~/openstack/cloud/creds$ ping 172.241.0.1
 PING 172.241.0.1 (172.241.0.1) 56(84) bytes of data.
 From 172.241.0.1 icmp_seq=2 Destination Host Unreachable

 aron@cloud1:~/openstack/cloud/creds$ ping 10.0.0.3
 PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
 From 10.0.0.1 icmp_seq=1 Destination Host Unreachable

 From the host:

 C:\>ping 172.241.0.1

 Pinging 172.241.0.1 with 32 bytes of data:
 Reply from 172.241.0.1: Destination host unreachable.

 Pinging the guest from the host and vice versa is ok, e.g.:

 C:\>ping 172.241.0.101

 Pinging 172.241.0.101 with 32 bytes of data:
 Reply from 172.241.0.101: bytes=32 time=1ms TTL=64

 What may be wrong?

 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.

 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.)?

 Thanks in advance, -Aron






 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help : https://help.launchpad.net/ListHelp


>>>
>>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] some newbie questions

2011-08-03 Thread Mark Gius
Ugh this was a few months ago and I haven't done much with nova recently.
 IIRC, all you have to do is connect to the :1 vnc on the nova host.  So if
you have VNC and a GUI on your nova host, you can do that from the host with
your favorite vncviewer (ubuntu comes with remote desktop viewer) and
connect to :1.   So the string you would type into the remote desktop viewer
program would be

localhost:1

You can do this through ssh port forwarding as well.

Hopefully the above is sensical.

Mark

On Wed, Aug 3, 2011 at 3:32 PM, Aron Matskin  wrote:

> Mark,
>
> Thanks for the advice - I'll take a look at it tomorrow. Just to save me
> some time: where is the log or/and how do I display it?
>
> -AM
>
>
> On Thu, Aug 4, 2011 at 1:24 AM, Mark Gius  wrote:
>
>> A1: When I had the symptoms you are describing it was because the instance
>> never managed to boot from the image, and was just spinning cpu cycles
>> displaying a "could not boot disk" type message.  I figured that out by
>> connecting to the VNC console of the instance.  IIRC, you can look through
>> the nova logs to figure out what VNC address to hit for the instance.
>>
>> Mark
>>
>> On Wed, Aug 3, 2011 at 4:33 AM, Aron Matskin wrote:
>>
>>> Hi all!
>>>
>>> Just joined the mailing list. I'd like to do some development on the
>>> project (probably Nova).  Some questions regarding how to start:
>>>
>>> Q1. I'm trying to setup Nova in a virtual environment -
>>> http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/
>>>  -
>>> on a Windows host. I've successfully started an instance and assigned it a
>>> network address:
>>>
>>> aron@cloud1:~/openstack/cloud/creds$ euca-describe-instances
>>> RESERVATION r-k6e14a5w myproject default
>>> INSTANCE i-0001 ami-0a892947 172.241.0.1 10.0.0.3 running openstack
>>> (myproject, cloud1) 0 m1.tiny 2011-08-02T20:28:46Z nova
>>>
>>> but I'm unable to connect to the address (neither from the guest nor from
>>> the host):
>>>
>>> From the guest:
>>>
>>> aron@cloud1:~/openstack/cloud/creds$ ping 172.241.0.1
>>> PING 172.241.0.1 (172.241.0.1) 56(84) bytes of data.
>>> From 172.241.0.1 icmp_seq=2 Destination Host Unreachable
>>>
>>> aron@cloud1:~/openstack/cloud/creds$ ping 10.0.0.3
>>> PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
>>> From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
>>>
>>> From the host:
>>>
>>> C:\>ping 172.241.0.1
>>>
>>> Pinging 172.241.0.1 with 32 bytes of data:
>>> Reply from 172.241.0.1: Destination host unreachable.
>>>
>>> Pinging the guest from the host and vice versa is ok, e.g.:
>>>
>>> C:\>ping 172.241.0.101
>>>
>>> Pinging 172.241.0.101 with 32 bytes of data:
>>> Reply from 172.241.0.101: bytes=32 time=1ms TTL=64
>>>
>>> What may be wrong?
>>>
>>> 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.
>>>
>>> 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.)?
>>>
>>> Thanks in advance, -Aron
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] some newbie questions

2011-08-03 Thread Mark Gius
A1: When I had the symptoms you are describing it was because the instance
never managed to boot from the image, and was just spinning cpu cycles
displaying a "could not boot disk" type message.  I figured that out by
connecting to the VNC console of the instance.  IIRC, you can look through
the nova logs to figure out what VNC address to hit for the instance.

Apologies to aron, who will see this twice.

Mark

On Wed, Aug 3, 2011 at 4:33 AM, Aron Matskin  wrote:

> Hi all!
>
> Just joined the mailing list. I'd like to do some development on the
> project (probably Nova).  Some questions regarding how to start:
>
> Q1. I'm trying to setup Nova in a virtual environment -
> http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/
>  -
> on a Windows host. I've successfully started an instance and assigned it a
> network address:
>
> aron@cloud1:~/openstack/cloud/creds$ euca-describe-instances
> RESERVATION r-k6e14a5w myproject default
> INSTANCE i-0001 ami-0a892947 172.241.0.1 10.0.0.3 running openstack
> (myproject, cloud1) 0 m1.tiny 2011-08-02T20:28:46Z nova
>
> but I'm unable to connect to the address (neither from the guest nor from
> the host):
>
> From the guest:
>
> aron@cloud1:~/openstack/cloud/creds$ ping 172.241.0.1
> PING 172.241.0.1 (172.241.0.1) 56(84) bytes of data.
> From 172.241.0.1 icmp_seq=2 Destination Host Unreachable
>
> aron@cloud1:~/openstack/cloud/creds$ ping 10.0.0.3
> PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
> From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
>
> From the host:
>
> C:\>ping 172.241.0.1
>
> Pinging 172.241.0.1 with 32 bytes of data:
> Reply from 172.241.0.1: Destination host unreachable.
>
> Pinging the guest from the host and vice versa is ok, e.g.:
>
> C:\>ping 172.241.0.101
>
> Pinging 172.241.0.101 with 32 bytes of data:
> Reply from 172.241.0.101: bytes=32 time=1ms TTL=64
>
> What may be wrong?
>
> 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.
>
> 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.)?
>
> Thanks in advance, -Aron
>
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] some newbie questions

2011-08-03 Thread Rafael Durán Castañeda

I'm not an Openstack expert, but this might help you:

A1. What's your network config? Whitout any useful information it's very 
difficult helping you. It would be useful both ifconfig and nova-manage 
network output, virsh output would help too.


A2. You can start looking at http://wiki.openstack.org/HowToContribute

A3. Same as before

On 03/08/11 13:33, Aron Matskin wrote:

Hi all!

Just joined the mailing list. I'd like to do some development on the 
project (probably Nova).  Some questions regarding how to start:


Q1. I'm trying to setup Nova in a virtual environment - 
http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/ - 
on a Windows host. I've successfully started an instance and assigned 
it a network address:


aron@cloud1:~/openstack/cloud/creds$ euca-describe-instances
RESERVATIONr-k6e14a5wmyprojectdefault
INSTANCEi-0001ami-0a892947172.241.0.110.0.0.3runningopenstack 
(myproject, cloud1)0m1.tiny2011-08-02T20:28:46Znova


but I'm unable to connect to the address (neither from the guest nor 
from the host):


From the guest:

aron@cloud1:~/openstack/cloud/creds$ ping 172.241.0.1
PING 172.241.0.1 (172.241.0.1) 56(84) bytes of data.
From 172.241.0.1 icmp_seq=2 Destination Host Unreachable

aron@cloud1:~/openstack/cloud/creds$ ping 10.0.0.3
PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable

From the host:

C:\>ping 172.241.0.1

Pinging 172.241.0.1 with 32 bytes of data:
Reply from 172.241.0.1 : Destination host unreachable.

Pinging the guest from the host and vice versa is ok, e.g.:

C:\>ping 172.241.0.101

Pinging 172.241.0.101 with 32 bytes of data:
Reply from 172.241.0.101 : bytes=32 time=1ms TTL=64

What may be wrong?

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.


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.)?


Thanks in advance, -Aron





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] some newbie questions

2011-08-03 Thread Aron Matskin
Hi all!

Just joined the mailing list. I'd like to do some development on the project
(probably Nova).  Some questions regarding how to start:

Q1. I'm trying to setup Nova in a virtual environment -
http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/
-
on a Windows host. I've successfully started an instance and assigned it a
network address:

aron@cloud1:~/openstack/cloud/creds$ euca-describe-instances
RESERVATION r-k6e14a5w myproject default
INSTANCE i-0001 ami-0a892947 172.241.0.1 10.0.0.3 running openstack
(myproject, cloud1) 0 m1.tiny 2011-08-02T20:28:46Z nova

but I'm unable to connect to the address (neither from the guest nor from
the host):

>From the guest:

aron@cloud1:~/openstack/cloud/creds$ ping 172.241.0.1
PING 172.241.0.1 (172.241.0.1) 56(84) bytes of data.
>From 172.241.0.1 icmp_seq=2 Destination Host Unreachable

aron@cloud1:~/openstack/cloud/creds$ ping 10.0.0.3
PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
>From 10.0.0.1 icmp_seq=1 Destination Host Unreachable

>From the host:

C:\>ping 172.241.0.1

Pinging 172.241.0.1 with 32 bytes of data:
Reply from 172.241.0.1: Destination host unreachable.

Pinging the guest from the host and vice versa is ok, e.g.:

C:\>ping 172.241.0.101

Pinging 172.241.0.101 with 32 bytes of data:
Reply from 172.241.0.101: bytes=32 time=1ms TTL=64

What may be wrong?

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.

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.)?

Thanks in advance, -Aron
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp