Re: [Openstack] Install Your Own OpenStack Cloud - Essex Edition

2012-05-16 Thread Eric Dodemont

Georges,

Yes I have two regions: Brussels and Liege.

I have configured both regions in the Horizon configuration file:

root@node1:~# vi /etc/openstack-dashboard/local_settings.py

# For multiple regions uncomment this configuration, and add (endpoint, 
title).

AVAILABLE_REGIONS = [
('http://lc2.louvrex.net:5000/v2.0', 'Brussels'),
('http://lc2-liege.louvrex.net:5000/v2.0', 'Liege'),
]

Horizon (dashboard) is only installed in Brussels (on node1), but Nova, 
Glance, and Keystone are installed in Brussels and in Liege.


Just for information: I just have updated my document to version 1.03 
because the creation of the Keystone DB was missing... (thanks to Martin 
Giraud-Sauveur):


http://tiny.cc/qstxdw
http://dodeeric.wordpress.com

Best regards,

Eric


On 15/05/12 18:10, George Mihaiescu wrote:


Hi Eric,

First of all, thanks for this great documentation.

I was curious how did you get the Region drop-down list to show up 
in Dashboard (page 22)?


Do you need to create multiple regions for this, and if yes, could you 
please elaborate on how you did this?


Thank you,

George



*From:*openstack-bounces+george.mihaiescu=q9@lists.launchpad.net 
[mailto:openstack-bounces+george.mihaiescu=q9@lists.launchpad.net] 
*On Behalf Of *Eric Dodemont

*Sent:* Tuesday, May 08, 2012 3:46 AM
*To:* Emilien Macchi
*Cc:* openstack@lists.launchpad.net
*Subject:* Re: [Openstack] Install Your Own OpenStack Cloud - Essex 
Edition


Emilien,

In a next version, I will include:

- Quantum (I just mention it in this version);
- LXC (experimental);
- a study case;
- instance migration, etc.

Eric

On 07/05/12 14:59, Emilien Macchi wrote:

Nice work Eric,


But you don't speak about Quantum. Is it on schedule ?



Regards


Le lundi 07 mai 2012 à 14:23 +0200, Eric Dodemont a écrit :

I have written a 50 pages document: Install Your Own OpenStack Cloud -
Essex  Edition.
  
The PDF file can be downloaded here:http://tiny.cc/qstxdw
  
In the document, I describe in detail the installation, configuration

and use of my OpenStack cloud. I try to not use scripts to show clearly
all the steps to follow.
  
Installation is made on two physical servers and explanations are given

to add more compute nodes.
  
I added a lot of information, especially about the VLAN networking mode.
  
Software Versions:
  
- Operating System: Linux Ubuntu Server version 12.04 (Precise), 64 bits.

- Cloud Computing: OpenStack version 2012.1 (Essex) including Nova,
Glance, Keystone, and Horizon.
  
Best regards,
  
Eric
  
___

Mailing list:https://launchpad.net/~openstack  
https://launchpad.net/%7Eopenstack
Post to :openstack@lists.launchpad.net  
mailto:openstack@lists.launchpad.net
Unsubscribe :https://launchpad.net/~openstack  
https://launchpad.net/%7Eopenstack
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] [openstack]create network project_id

2012-05-16 Thread Eric Dodemont

William,

See pages 42 to 44: Install Your Own OpenStack Cloud - Essex Edition @ 
http://tiny.cc/qstxdw


root@node1:~# nova-manage network modify --fixed_range 10.0.6.0/24 
--project f6a1 --host node1


Have a look at bug 952176 (Cannot associate a second network/vlan to a 
tenant with nova-manage network modify):

https://bugs.launchpad.net/nova/+bug/952176).

Two solutions: you update the DB manually or you patch /usr/bin/nova-manage.

Best regards,

Eric



On 16/05/12 05:07, heut2008 wrote:

if you are using vlan mode then of cource you can allocate a network
to your project,if you are using flatdhcp mode  then all
project(tenant) share the network you created the instances in the
same broadcast domain.

2012/5/16 William Herrywilliam.herry.ch...@gmail.com:

Hi

how can I create a network for specified project, I use --project_id option
when create network, seems not work,
do i miss something:

any one can help?

thanks


--

===
William Herry

williamherrych...@gmail.com


___
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




___
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] Install Your Own OpenStack Cloud - Essex Edition

2012-05-08 Thread Eric Dodemont

Emilien,

In a next version, I will include:

- Quantum (I just mention it in this version);
- LXC (experimental);
- a study case;
- instance migration, etc.

Eric

On 07/05/12 14:59, Emilien Macchi wrote:

Nice work Eric,


But you don't speak about Quantum. Is it on schedule ?



Regards


Le lundi 07 mai 2012 à 14:23 +0200, Eric Dodemont a écrit :

I have written a 50 pages document: Install Your Own OpenStack Cloud -
Essex Edition.

The PDF file can be downloaded here:http://tiny.cc/qstxdw

In the document, I describe in detail the installation, configuration
and use of my OpenStack cloud. I try to not use scripts to show clearly
all the steps to follow.

Installation is made on two physical servers and explanations are given
to add more compute nodes.

I added a lot of information, especially about the VLAN networking mode.

Software Versions:

- Operating System: Linux Ubuntu Server version 12.04 (Precise), 64 bits.
- Cloud Computing: OpenStack version 2012.1 (Essex) including Nova,
Glance, Keystone, and Horizon.

Best regards,

Eric

___
Mailing list:https://launchpad.net/~openstack  
https://launchpad.net/%7Eopenstack
Post to :openstack@lists.launchpad.net  
mailto:openstack@lists.launchpad.net
Unsubscribe :https://launchpad.net/~openstack  
https://launchpad.net/%7Eopenstack
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] Install Your Own OpenStack Cloud - Essex Edition

2012-05-07 Thread Eric Dodemont
I have written a 50 pages document: Install Your Own OpenStack Cloud - 
Essex Edition.


The PDF file can be downloaded here: http://tiny.cc/qstxdw

In the document, I describe in detail the installation, configuration 
and use of my OpenStack cloud. I try to not use scripts to show clearly 
all the steps to follow.


Installation is made on two physical servers and explanations are given 
to add more compute nodes.


I added a lot of information, especially about the VLAN networking mode.

Software Versions:

- Operating System: Linux Ubuntu Server version 12.04 (Precise), 64 bits.
- Cloud Computing: OpenStack version 2012.1 (Essex) including Nova, 
Glance, Keystone, and Horizon.


Best regards,

Eric

___
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] Can we use Openstack to sell only VPS?

2012-04-09 Thread Eric Dodemont

  
  
Munesh,

OpenStack supports LXC (LinuX Container) through the use of libvirt.
LXC is a virtualization similar to Virtuozzo / OpenVZ
(virtualization of the OS, not of the HW).

Since version 2012.1 (Essex), volume attachment is supported.

Please note that LXC support is still having some problems, like
this (very annoying) one:

nova delete lxc-instance umounts the wrong rootfs 
https://bugs.launchpad.net/nova/+bug/971621

Br,

Eric


On 04/07/2012 03:25 PM, Munesh Singh wrote:

  
  
  
  
  
Dear All,

Can we use Openstack to
sell only VPS?

Like we use for virtuozzo.


Warm Regards

Munesh Jadoun
CEO 
  Founder

-
ZNet
  Technologies Pvt. Ltd.- Web Hosting
Company.
Group Website:
  www.znetcorp.com

  Ventures:
www.znetlive.in
  |
  www.dotpulse.com
  |
  www.iconcube.com
Call:
+91-141-4070666 | India Toll FREE: 1-800-102-9638 (ZNET)
India Address (HO): D-10/52, Opp. Chitrakoot Stadium,
Chitrakoot, Vaishali Nagar, Jaipur-21 (India)
-
This message
is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.
If you have received it in error, please notify the sender
immediately and delete the original. Any other use of the
email by you is prohibited.

  
  
  
  
  ___
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] dashboard in oneric

2012-01-28 Thread Eric Dodemont
I have installed OpenStack Diablo (version 2011.3.1 released January 20, 
2012) on Linux Ubuntu Oneiric (11.10), including a working version of 
the essex-dev dashboard (Horizon).


By installing the development version of the dashboard, you can manage 
almost everything, including:


- In the project panel: instances, volumes, floating IPs, security 
groups, images, and instance snapshots.
- In the admin panel: instances, services, flavors, images, tenants 
(projects), users, and quotas.


In both panels, you also have status and usage information.

Versions and installation methods:

* Version 2011.3.1 (stable/diablo) for:

- Nova (ppa/deb packages)
- Glance (ppa/deb packages)
- Keystone (ppa/deb packages)

* Version 2012.1-dev (dev/essex) for:

- Dashboard (git/source package)

You can find the detailed procedure to install 
Nova/Glance/Keystone/Horizon on Ubuntu Oneiric here:


Install Your Own OpenStack Cloud -- Diablo Version 2011.3.1 with 
Keystone and Horizon

http://dodeeric.wordpress.com/2012/01/24/install-your-own-openstack-cloud-diablo-edition-2011-3-1-with-keystone-and-horizon

Bellow the part concerning the installation of the dashboard:

Install the dashboard:

Get the dashboard source from Github, version essex-2-46-g580ecc2 
(dev/essex):


# cd /usr/local/
# wget 
https://github.com/openstack/horizon/tarball/580ecc20bc04fdb74e1a8416feddcc84de745cd6

# mv 580ecc20bc04fdb74e1a8416feddcc84de745cd6 horizon-e2-46-g580ecc2.tar.gz
# tar -xzvf horizon-e2-46-g580ecc2.tar.gz
# mv openstack-horizon-580ecc2 horizon-e2-46-g580ecc2

Install some required packages:

# aptitude install python-django python-setuptools python-dev

Adapt the configuration file:

# cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/local/
# cp local_settings.py.example local_settings.py
# vi local_settings.py

And adapt two parameters as follow:

OPENSTACK_HOST = node1
QUANTUM_ENABLED = False

Install a Python virtual environment:

# cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/tools/
# easy_install virtualenv

Install the dashboard in the virtual environment (that will take some time):

# python install_venv.py

The install should finish with the following messages (if not, start the 
install again):


Installing horizon module in development mode...
OpenStack Dashboard development environment setup is complete.
To activate the virtualenv for the extent of your current shell session 
you can run:

$ source .dashboard-venv/bin/activate

Activate the virtual environment:

# cd 
/usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/.dashboard-venv/bin/

# source activate

Create the SQLite DB with its tables:

# cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/dashboard/
# ./manage.py syncdb

You will see the following messages:

Creating tables ...
Creating table django_session
Installing custom SQL ...
Installing indexes ...
No fixtures found.

Install Openstackx diablo (extention for nova-api diablo):

# cd /usr/local/
# wget https://github.com/cloudbuilders/openstackx/tarball/rcb_v1.1
# mv rcb_v1.1 openstackx-diablo.tar.gz
# tar -xzvf openstackx-diablo.tar.gz
# mv cloudbuilders-openstackx-53fd616 openstackx-diablo

Adapt the nova.conf file as follow:

# vi /etc/nova/nova.conf

And add the following parameter:

--osapi_extensions_path=/usr/local/openstackx-diablo/extensions

Launch the Dashboard on port tcp/8000:

# cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/dashboard/
# ./manage.py runserver 0.0.0.0:8000

You will see the following messages:

Django version 1.3.1, using settings 'dashboard.settings'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
You can now access the Dashboard with a web browser at the address: 
http://localhost:8000 or http://node1:8000 or http://192.168.1.201:8000


To be able to connect on the console of the instances via VNC, you need 
to install the nova-vncproxy package and the noVNC software (it is a 
slightly modified version of noVNC which can work with the nova-vnc-proxy).


Install nova-vncproxy:

# aptitude install nova-vncproxy

nova-vncproxy will not start automatically: it gives the following error:
INFO nova.wsgi [-] Starting TCP server /usr/bin/nova-vncproxy on 0.0.0.0:843
CRITICAL nova [-] [Errno 13] Permission denied
Start it manually in a screen with root:

# nova-vncproxy

Install noVNC:

# cd /var/lib/nova/
# git clone https://github.com/openstack/noVNC.git

Adapt the nova.conf file as follow:

# vi /etc/nova/nova.conf

And add this parameter:

--vncproxy_url=http://node1:6080


On 24/01/2012 00:17, Debo Dutta (dedutta) wrote:


FWIW I ran the old devstack and it worked (with horizon). Out of the 
box except for some UI issues (horizon!) and with quantum


debo

*From:*openstack-bounces+dedutta=cisco@lists.launchpad.net 
[mailto:openstack-bounces+dedutta=cisco@lists.launchpad.net] *On 
Behalf Of *Denmat

*Sent:* Monday, January 23, 2012 2:25 PM
*Cc:* openstack
*Subject:* Re: [Openstack] dashboard 

[Openstack] PPA to install OpenStack 2011.3 (Diablo)

2011-10-07 Thread Eric Dodemont
I would like to install OpenStack 2011.3 (Diablo) in Ubuntu 11.04 
(Natty) via packages.


The PPA to use is:

 ppa:openstack-release/2011.3 -- OpenStack 2011.3 (Diablo)

When I look at the packages available in that PPA, I can find for Nova:

 nova - 2011.3-0ubuntu2~ppa1~natty1 -- Published on 2011-09-22

That is the package created the day of the release. What about new 
versions of the package with bug fixes?


In Ubuntu 11.10 (Oneiric), the package is already 2011.3-0ubuntu6 with 
different bug fixes included.


Little summary of the PPAs/repositories:

   Diablo (release)Essex 
(development)

==
Ubuntu 11.04 (Natty):  ppa:openstack-release/2011.3
ppa:nova-core/trunk
Ubuntu 11.10 (Oneiric):Ubuntu repository   
ppa:nova-core/trunk


Is this correct?

Best regards,

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