Ask Your Question

ubchaudhry's profile - activity

2019-05-03 05:27:55 -0600 received badge  Teacher (source)
2019-05-03 05:27:55 -0600 received badge  Necromancer (source)
2016-05-21 07:14:34 -0600 received badge  Famous Question (source)
2016-05-21 07:14:34 -0600 received badge  Notable Question (source)
2016-05-21 07:14:34 -0600 received badge  Popular Question (source)
2016-05-21 07:13:54 -0600 received badge  Popular Question (source)
2016-05-21 07:13:54 -0600 received badge  Notable Question (source)
2015-11-06 05:49:35 -0600 received badge  Famous Question (source)
2015-10-22 16:14:18 -0600 asked a question Why do all Instances in the openstack dashboard get launched on a single machine?

I have setup a MAAS environment with 7 total nodes among which 1 is running the MAAS and remaining 6 are available.the first machine is with 1 nic and 1 disc =, all other machines with 2 discs and only the 3rd and 6th machine with two nics.

When I try to launch multiple instaces (instance count) on openstack dashboard, all appear to be launched on a single machine. why isnt all that being distributed across the 6 machines I have? the 5th and 6th machine were not even deployed during the installation of openstack? Is there a way that I can add them to my cloud and when I launch instances they get spread over multiple machines?

Also, the maximum number of instances(instance count) that dashboard allows me are 8 (small flavor). How can I launch 'say 50 instance counts' ?

2015-10-22 16:05:43 -0600 asked a question Why openstack multi-install is choosing only 4 nodes from a MAAS cluster of 6 nodes

I have setup a MAAS environment with 7 total nodes among which 1 is running the MAAS and remaining 6 are available. when I choose multi-install option of openstack, it chooses the first 4 nodes and starts deploying services on it but the remaining 2 nodes do not turn on nor are being used. Even in MAAS they are in ready state. the first machine is with 1 nic and 1 disc =, all other machines with 2 discs and only the 3rd and 6th machine with two nics.

Once multi-install deploys all services by default, can I somehow add the remaing two machines to the cloud? How would that be done?

2015-10-21 17:06:03 -0600 answered a question juju bootstrap failed

Edit the file here:

sudo nano /etc/sysctl.conf

Un-comment this line:

net.ipv4.ip_forward=1

Now reboot MAAS and try the install again.

If that doesn't work try updating IPtables on MAAS with something like this:

sudo iptables -A FORWARD -o eth0 -i eth1 -s 10.1.1.0/24 -m conntrack --ctstate NEW -j ACCEPT sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT sudo iptables -t nat -F POSTROUTING sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

sudo iptables-save | sudo tee /etc/iptables.sav

Edit /etc/rc.local and add the following lines before the "exit 0" line:

iptables-restore < /etc/iptables.sav

2015-10-21 17:02:24 -0600 commented question openstack landscape stuck on checklist

Same question brother. Landscape has become pain now. Before, it used to require that at least 3 machines with 2 discs among which 1 should be connected to the public internet, when I arranged all that hardware, it requires an additional element High available box which never turns on

2015-10-15 12:40:42 -0600 received badge  Notable Question (source)
2015-09-14 14:52:00 -0600 received badge  Famous Question (source)
2015-09-14 14:52:00 -0600 received badge  Notable Question (source)
2015-08-27 14:57:52 -0600 received badge  Taxonomist
2015-08-18 09:07:25 -0600 received badge  Notable Question (source)
2015-08-18 09:07:25 -0600 received badge  Famous Question (source)
2015-08-18 09:06:25 -0600 received badge  Popular Question (source)
2015-08-05 08:48:55 -0600 received badge  Popular Question (source)
2015-08-04 20:05:09 -0600 asked a question MAAS Requirements

Installing Ubuntu OpenStack requires at least seven machines with two disks, two of which have two network interfaces (NICs). Install Ubuntu Server on one of the machines with two interfaces.

Why do I need two disks? What if I have 7 machines with 2TB capacity each but on a single disk? Would this setup not work i:e http://www.ubuntu.com/download/cloud/install-ubuntu-openstack? Why do we need 2 interfaces on two machines? I understand for one machine, one interface connects to the internet and the second to the local network. But why do we need 2 interfaces for the second machine?

2015-08-04 19:55:48 -0600 answered a question openstack single node single nic

Installing Ubuntu OpenStack requires at least seven machines with two disks, two of which have two network interfaces (NICs). Install Ubuntu Server on one of the machines with two interfaces.

Why do I need two disks? What if I have 7 machines with 2TB capacity each but on a single disk? Would this setup not work i:e http://www.ubuntu.com/download/cloud/install-ubuntu-openstack (http://www.ubuntu.com/download/cloud/...) Why do we need 2 interfaces on two machines? I understand for one machine, one interface connects to the internet and the second to the local network. But why do we need 2 interfaces for the second machine?

2015-08-04 12:41:11 -0600 received badge  Popular Question (source)
2015-08-03 12:34:23 -0600 received badge  Notable Question (source)
2015-08-03 12:34:23 -0600 received badge  Famous Question (source)
2015-08-03 12:34:23 -0600 received badge  Popular Question (source)
2015-07-30 21:21:17 -0600 asked a question Understanding what a MAAS environment can do.

I have a cluster of 8 machines. One of the machine has 2 NICs with one connecting to the internet and the other connecting to a switch. The remaining 7 machines all have only 1 NIC each connected to the same switch. My questions are as follow:

1) If I install MAAS on the machine with 2 NICs, would it help me making the remaining 7 as a part of MAAS cluster? If yes, please advise how I should setup the IP addresses and all.

2) If by using the above method, I make all nodes a part of the same cluster, how would I be able to deploy an openstack cloud on the whole cluster? My minimum requirement is setting up an openstack cloud that allows the creation of any type of instance and uses all 8 nodes.

3) If the above 2 points are possible, how would I be able to define a particular node to be controller,compute,network,object storage, block storage node. I mean, once all nodes are a part if the same cluster, would I have to maually define a node to be any of the node mentioned above or will MAAS do this automatically?

4) Last, do I have to setup MAAS from the starting setup (similar to installing UBUNTU SERVER), or is it possible if I already have UBUNTU SERVER installed on a machine and I can install MAAS on it making it the controller node of the cluster.

I hope I am giving an idea about what I would like to do.

2015-07-30 12:42:20 -0600 asked a question Request for help with keystone identity service

I used the help of openstack installation guide (JUNO)(http://docs.openstack.org/juno/install-guide/install/apt/content/) released on May 10,2015. I followed each and every step as was stated in the tutorial. However, I still came across a few problems on which I have been stuck for quite some time now. I was hoping if someone could spare me a few minutes out and point me towards the right direction. I’ll explain my issues now:

After completing the initial steps, I started off as below:

# apt-get install mariadb-server python-mysqldb
# nano /etc/mysql/my.cnf
 [mysqld]
 ...
 bind-address = 10.10.10.10
 [mysqld]
 ...
 default-storage-engine = innodb
 innodb_file_per_table
 collation-server = utf8_general_ci
 init-connect = 'SET NAMES utf8'
 character-set-server = utf8
 # service mysql restart
 # mysql_secure_installation
 # apt-get install rabbitmq-server
 # rabbitmqctl change_password guest openstack  exit
 # mysql -u root -p
 > CREATE DATABASE keystone;
 > GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'openstack';
 > GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'openstack';
 > exit
 # apt-get install keystone python-keystoneclient
 # nano /etc/keystone/keystone.conf
 [DEFAULT]
 ...
 admin_token = openstack
 [database]
 ...
 connection = mysql://keystone:openstack@controller/keystone
 [token]
 ...
 provider = keystone.token.providers.uuid.Provider
 driver = keystone.token.persistence.backends.sql.Token
 [revoke]
 ...
 driver = keystone.contrib.revoke.backends.sql.Revoke
 [DEFAULT]
 ...
 verbose = True
 # keystone-manage db_sync
 # service keystone restart
 # rm -f /var/lib/keystone/keystone.db
 # export OS_SERVICE_TOKEN=openstack
 # export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0
 # keystone tenant-create --name admin --description "Admin Tenant"

When I tried to create the Admin Tenant, it kept saying “Unable to establish connection to http://controller:35357/v2.0/tenants%E2%80%9D (http://controller:35357/v2.0/tenants”). I went back to the keystone.conf file and commented the following lines:

 provider = keystone.token.providers.uuid.Provider
 driver = keystone.token.persistence.backends.sql.Token
 driver = keystone.contrib.revoke.backends.sql.Revoke

It allowed me to create the tenants and move forward. Everything appeared to be popping up the way it is in the tutoria. However, when I ran the following command:

# keystone --os-tenant-name admin --os-username admin --os-password openstack --os-auth-url http://controller:35357/v2.0 token-get

The result was a continuous string of dotted/hyphen line. I tried ignoring that and the next few verification commands showed the expected output until I tried switching from the Admin tenant to demo tenant using the following command:

# keystone --os-tenant-name demo --os-username demo --os-password openstack --os-auth-url http://controller:35357/v2.0 token-get

The result is "The request you made requires authentication. HTTP(401)".

I have tried everything but I cant figure out what is wrong. It would be greatly appreciated if someone can spare me a few minutes and help me out.Hoping for an early response.

Results of the following commands are shown below. I thought it might help:

#ps -fe | grep keystone

keystone    5075    1    0    time    ?    /usr/bin/python    /usr/bin/keystone-all

root    5080    2467    0    time    tty    grep    --color=auto keystone

#ss -tlnp | grep 35357

Listen    0      128     *:35357      *:*      users:(("keystone-all" ,5075,3))

Kindly get back to me at your earliest. It would be greatly appreciated.

2015-07-13 10:04:19 -0600 asked a question Keystone Identity service: Unable to establish connection

Can someone please help. I've been stuck on this for quite some time now and its frustrating me alot. I cant move forward. keystone tenant-create --name admin --description "Admin Tenant"

Unable to establish connection to http://controller:35357/v2.0/tenants

Any advice? Every thing else uptill here is exacty as it has been described in the OFFICIAL UBUNTU NEUTRON MANUAL.

Something that might help:

ps -fe | grep keystone

keystone 5075 1 0 time ? /usr/bin/python /usr/bin/keystone-all

root 5080 2467 0 time tty grep --color=auto keystone

ss -tlnp | grep 35357

shows nothing

logging is not active so i cant share the log file

The install guide that I have followed is

http://docs.openstack.org/juno/install-guide/install/apt/content/ (http://docs.openstack.org/juno/instal...)

I have followed it exactly on virual box. Everything untill this command was running perfect. I am following the neutron architecture mentioned in the guide.

Any/All help will be deepy appreciated.

In case the only solution turns out to be reinstalling keystone, please advise how should I roll back the already installed settings. Thank you.

2015-07-13 10:04:19 -0600 asked a question Keystone Identity service: Unable to establish connection

Can someone please help. I've been stuck on this for quite some time now and its frustrating me alot. I cant move forward. keystone tenant-create --name admin --description "Admin Tenant"

Unable to establish connection to http://controller:35357/v2.0/tenants

Any advice? Every thing else uptill here is exacty as it has been described in the OFFICIAL UBUNTU NEUTRON MANUAL.

Something that might help:

ps -fe | grep keystone

keystone 5075 1 0 time ? /usr/bin/python /usr/bin/keystone-all

root 5080 2467 0 time tty grep --color=auto keystone

ss -tlnp | grep 35357

shows nothing

logging is not active so i cant share the log file

The install guide that I have followed is

http://docs.openstack.org/juno/install-guide/install/apt/content/ (http://docs.openstack.org/juno/instal...)

I have followed it exactly on virual box. Everything untill this command was running perfect. I am following the neutron architecture mentioned in the guide.

Any/All help will be deepy appreciated.

In case the only solution turns out to be reinstalling keystone, please advise how should I roll back the already installed settings. Thank you.

2015-07-10 17:16:32 -0600 received badge  Organizer (source)