Ask Your Question

Saba's profile - activity

2015-03-06 19:26:14 -0500 received badge  Famous Question (source)
2015-01-23 07:09:14 -0500 received badge  Famous Question (source)
2014-11-25 15:31:43 -0500 received badge  Taxonomist
2014-09-07 02:43:44 -0500 received badge  Famous Question (source)
2014-06-16 01:39:20 -0500 received badge  Famous Question (source)
2014-05-12 02:16:24 -0500 received badge  Notable Question (source)
2014-04-16 23:48:31 -0500 received badge  Famous Question (source)
2014-04-04 04:16:32 -0500 received badge  Teacher (source)
2014-04-03 19:56:22 -0500 answered a question Is It possible to access your vms in your openstack enviroment through a browser??

OpenStack has a web-based dashboard (Horizon) in which you can access your instances through the web-browser.

image description

2014-04-03 19:54:18 -0500 answered a question Where can I download the sourcecode?

Well the source code for all the projects of OpenStack are available on github: https://github.com/openstack

2014-04-03 19:52:33 -0500 received badge  Popular Question (source)
2014-04-03 19:52:33 -0500 received badge  Notable Question (source)
2014-03-31 00:50:58 -0500 received badge  Famous Question (source)
2014-03-07 07:31:04 -0500 received badge  Notable Question (source)
2014-03-07 00:09:49 -0500 received badge  Popular Question (source)
2014-03-06 10:19:47 -0500 asked a question Packstack or Devstack?

I'm trying to install openstack on a pirvate cluster. I have found two options available for a quick and easy installation without going through the details of installing each service one by one.

One option is to use Redhat RDO: http://openstack.redhat.com/Quickstart The other one is to use the famous Devstack: http://devstack.org/

In first view, it seems that both of them are actually doing the same thing. I am wondering about the differences between them and which one of them do you suggest to install for a first-time user who plans to do some tests on different services of Openstack?

2014-03-05 16:41:04 -0500 asked a question How can I connect my private Openstack to a public cloud such as Amazon?

I have a private openstack installed on my cluster working just fine. I am wondering to connect this private cloud to a public cloud such as Amazon, Azure or Rackspace to make it a hybrid cloud. My purpose is to provide elasticity for my resources so that if I am running out of resources in my cluster, new requests for launching VMs would be automatically forwarded to a public cloud and this process remains transparent for the user.

Is it currently possible? Is there any middle-ware that can handle this stuff?

I was wondering that since Rackspace is also using Openstack, it might be easier for my private cloud to connect. Is this true? or technically my hybrid cloud can be connected to any type of cloud infrastructure?

I'm using Havana on CentOS.

2014-03-05 16:33:50 -0500 received badge  Popular Question (source)
2014-02-23 20:21:33 -0500 asked a question system logs out during the installation of devstack

I'm trying to install devstack on a bare machine using the default configuration file and following the instruction here: http://devstack.org/guides/single-mac...

When I run the shell script file, everything seems to work fine until the middle of the installation when suddenly system logs out and everything restarts! I tried it a lot on two different machines and even on a virtual machine but everytime I run it, my operating system logs out in the middle of the installation.

I'm using CentOS 6.5 x86-64.

2014-02-19 13:54:22 -0500 received badge  Famous Question (source)
2014-02-19 13:51:01 -0500 received badge  Notable Question (source)
2014-02-15 02:39:42 -0500 received badge  Notable Question (source)
2014-02-14 03:52:39 -0500 received badge  Popular Question (source)
2014-02-14 00:00:39 -0500 commented answer Why do we need two network interfaces for openstack nodes?

I am now wondering if I can define a virtual NIC (using IP aliasing) on my compute node to make it work.

2014-02-14 00:00:10 -0500 commented answer Why do we need two network interfaces for openstack nodes?

I tried making it work using one NIC but got stuck in enabling the networking. I have described my problem with that here: https://ask.openstack.org/en/question/11725/how-to-enable-networking-when-both-compute-and-controller-have-only-one-network-interface-which-is-public/

2014-02-13 23:16:21 -0500 asked a question Why do we need two network interfaces for openstack nodes?

The official online guide of openstack forces us to have two network interfaces on all the compute nodes; one to connect to the public network and another for the private network. This is the defined architecture: image description

Why is it so? Why can't we connect all the compute nodes and the controller through one public switch?

2014-02-12 23:06:06 -0500 commented answer How to Enable Networking when both compute and controller have only one network interface which is public.

Thanks a lot. Yeap, this is exactly what I was looking for. I hope I can make it ;)

2014-02-12 05:13:08 -0500 received badge  Popular Question (source)
2014-02-12 03:27:00 -0500 received badge  Famous Question (source)
2014-02-11 21:22:55 -0500 asked a question How to configure networking when Controller and Compute are connected together through one public interface

Here is my networking architecture:

image description

I have only one network interface on each of my compute and controller nodes both directly connected to the public network in a same subnet.

I have installed glance on the controller and stored an image on it successfully. I also have installed nova on the compute node in order to make it possible for it to launch virtual machines. However, I'm stuck in the networking part. What configurations should I follow to enable networking for the compute nodes?

The official online guide assumes that each computer has two network interfaces (one for public access and another for connecting them together in a private network).

2014-02-11 17:25:28 -0500 commented answer How to Enable Networking when both compute and controller have only one network interface which is public.

Yes, you are right. I could do almost anything I would like in the virtual box. However, I am now trying to install it on two bare server machines. Unfortunately, my compute node only has one network interface card. I believe openstack must be flexible enough to handle this configuration as well.

2014-02-11 17:22:31 -0500 commented answer What causes http 500 error when creating a network?

I guess you had to restart openstack-nova-metadate-api service as well in order to make the changes in the configuration have effect. That's perhaps why you had to reboot the compute node.

2014-02-11 17:08:06 -0500 received badge  Notable Question (source)
2014-02-11 06:01:23 -0500 received badge  Popular Question (source)
2014-02-11 04:35:33 -0500 received badge  Enthusiast
2014-02-10 19:06:20 -0500 asked a question How to Enable Networking when both compute and controller have only one network interface which is public.

I am following the openstack official installation guide online. In this guide, it is assumed that we have a controller machine and one compute machine both of which has two network interfaces. One of the network interfaces is used for public networking and another is for connecting the two together in a private network of range 10.0.0.0/24.

However, in my environment where I am trying to install openstack, the controller and the compute nodes have both only one network interface which has a public access. Both of them can see each other through these interfaces.

After installing Nova, the guide tells me to enable networking for it by following these commands:

# openstack-config --set /etc/nova/nova.conf DEFAULT network_manager nova.network.manager.FlatDHCPManager
# openstack-config --set /etc/nova/nova.conf DEFAULT firewall_driver nova.virt.libvirt.firewall.IptablesFirewallDriver
# openstack-config --set /etc/nova/nova.conf DEFAULT network_size 254
# openstack-config --set /etc/nova/nova.conf DEFAULT allow_same_net_traffic False
# openstack-config --set /etc/nova/nova.conf DEFAULT multi_host True
# openstack-config --set /etc/nova/nova.conf DEFAULT send_arp_for_ha True
# openstack-config --set /etc/nova/nova.conf DEFAULT share_dhcp_address True
# openstack-config --set /etc/nova/nova.conf DEFAULT force_dhcp_release True
# openstack-config --set /etc/nova/nova.conf DEFAULT flat_interface eth1
# openstack-config --set /etc/nova/nova.conf DEFAULT flat_network_bridge br100
# openstack-config --set /etc/nova/nova.conf DEFAULT public_interface eth1

Then I installed and started the openstack-nova-api service on the compute node and tried to run the nova network-create command on the controller. However, I faced the HTTP 500 Error.

# nova network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge-interface=br100 --multi-host=T

Now I have two questions; 1. What exactly am I doing by setting this parameter in the configuration file of nova? What are these networking configuration used for? 2. How should I change the configuration for my networking environment in which I have only one network interface for each of my nodes?

My operating systems are CentOS and I am trying to install Havana.

2014-02-10 17:49:50 -0500 received badge  Notable Question (source)
2014-02-10 17:49:50 -0500 received badge  Popular Question (source)
2014-02-10 17:49:44 -0500 answered a question User Glance doesn't exist while setting up glance mysql db

Well, I tried dropping the database and all its traces everywhere (keystone and mysql) but still faced the same problem. Then I installed openstack again from the scratch and never had the problem again.

During my first installation I had some problems in installing keystone but got them solved anyway. I think a bad configuration or some errors in my keystone installation could be the reason behind my problem with installing glance.

This might not be a good answer to my problem yet I am putting this to close the topic.

2014-02-10 17:46:17 -0500 commented question User Glance doesn't exist while setting up glance mysql db

I did so but nothing changed. Then I start installing the system from the scratch again and this time it worked. In my first installation I had some problems in installing keystone but got it installed finally, I think that caused some problems for glance also.

2014-02-07 11:58:35 -0500 received badge  Notable Question (source)
2014-02-06 17:03:42 -0500 received badge  Student (source)
2014-02-06 12:50:59 -0500 received badge  Organizer (source)
2014-02-05 19:25:57 -0500 received badge  Editor (source)
2014-02-05 19:25:57 -0500 edited question User Glance doesn't exist while setting up glance mysql db

Hello Everyone,

I am trying to install Glance Image Service on my CentOS machine. following the openstack official guide online, I have installed and configured my Identity Service (Keystone) as well as mySql database.

In installing glance, I first configured the location of the database for both the api and registry by the following commands:

# openstack-config --set /etc/glance/glance-api.conf \ DEFAULT sql_connection  mysql://glance:GLANCE_DBPASS@127.0.0.1/glance
# openstack-config --set /etc/glance/glance-registry.conf \ DEFAULT sql_connection mysql://glance:GLANCE_DBPASS@127.0.0.1/glance

I also checked the configuration files and they were updated.

Then I trued creating the database and its tables with the following command:

# openstack-db --init --service glance --password GLANCE_DBPASS

But I am faced with the following error:

Verified Connectivity to MySql.
Creating 'glance' Database.
Initializing the glance database, please wait...
runuser: user glance does not exist
ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' does not exist
Final sanity check failed.

I checked the mySql database and the user 'glance' was already created. It was also created in the Keystone user lists.