Ask Your Question

Sagar Ratnakara Nikam's profile - activity

2017-03-27 12:13:11 -0500 received badge  Great Answer (source)
2017-03-27 12:13:11 -0500 received badge  Guru (source)
2016-10-25 09:13:20 -0500 received badge  Good Answer (source)
2014-09-17 12:42:57 -0500 received badge  Great Answer (source)
2013-12-18 05:38:45 -0500 received badge  Good Answer (source)
2013-12-12 04:41:34 -0500 received badge  Good Answer (source)
2013-12-11 03:46:37 -0500 received badge  Nice Answer (source)
2013-10-25 23:55:40 -0500 received badge  Nice Answer (source)
2013-08-29 02:22:32 -0500 received badge  Nice Answer (source)
2013-08-20 18:33:47 -0500 received badge  Guru (source)
2013-08-20 18:33:47 -0500 received badge  Great Answer (source)
2013-07-16 08:30:11 -0500 received badge  Good Answer (source)
2013-06-22 23:47:23 -0500 commented answer can anybody help me in installing devstack

i have not tried swift with devstack. Not aware of how to set it up.

2013-06-22 23:45:02 -0500 commented question Unable to run Instance, Ends with status Error

Are you using devstack. If yes, then use screens to check the log. goto the nova screen using the following screen -r and then goto the nova screen using CTRL+A followed by the nova screen number

2013-06-14 23:39:33 -0500 answered a question Having centos compute node

nova-compute needs to be installed in CentOS (your compute node)

And there should be a time-sync between controller and compute node. You can do that using ntpdate

If the controller and compute are in time-sync, on starting nova-compute service on compute node, it gets connected to the controller

executing the command nova-manage service list will return a " :) " for the compute node

2013-06-14 23:33:59 -0500 answered a question instance not starting with libvirt-type set to qemu

Check this line in the log

nova.compute.manager [instance: a8acc7f4-e060-48fa-9d83-452c5df0ab69] qemu: at most 2047 MB RAM

I think you are trying to boot an instance with a flavor which has 2GB RAM.

The Ubuntu machine (on which you installed openstack) created on Virtual box might not have 2GB free RAM.

Try with a smaller flavor, ex - tiny flavor, the nova boot should work

2013-06-14 23:28:31 -0500 answered a question Devstack installation error on Ubuntu 64

Set the no_proxy and try to run

run this command on the terminal

export no_proxy="localhost,, IP of your machine"

2013-06-14 08:48:13 -0500 answered a question OpenStack with VMware machines - is it working?

You can use the vSphere to create new VMs and manage them. Existing VM already created using vCenter/ESXi host cannot be managed by Openstack.

Install Openstack Grizzly as it has support for vCenter

Check the below link

2013-06-13 21:54:37 -0500 answered a question Is vSphere 5.1 supported in Folsom?

The vCenter nova driver was implemented in Grizzly. In folsom, a nova driver for ESXi host ONLY was available

2013-06-12 23:25:19 -0500 commented question Unable to run Instance, Ends with status Error

what does nova show <instanceid> return, that will give you some idea on the error. Also check the compute log available at /var/log/nova.

2013-06-12 11:29:02 -0500 received badge  Commentator
2013-06-12 11:29:02 -0500 commented answer can anybody help me in installing devstack

finally run, and openstack will be up once the script completes

2013-06-12 11:27:32 -0500 commented answer can anybody help me in installing devstack

echo ADMIN_PASSWORD=password > localrc echo MYSQL_PASSWORD=password >> localrc echo RABBIT_PASSWORD=password >> localrc echo SERVICE_PASSWORD=password >> localrc echo SERVICE_TOKEN=tokentoken >> localrc. Check this link,

2013-06-12 11:27:19 -0500 commented answer can anybody help me in installing devstack

cd devstack, then add the following to localrc

2013-06-12 11:25:41 -0500 commented answer can anybody help me in installing devstack
2013-06-12 11:24:39 -0500 commented answer can anybody help me in installing devstack

I generally create a new user ex- "sagar" in my case, login to ubuntu using "sagar", then sudo apt-get install git

2013-06-11 08:44:27 -0500 answered a question How to access Devstack keystone service from host machine after installation?

Here are the answers

1) keystone URL is http://DEVSTACK-MACHINE-IP:5000/v2.0/

2) In the localrc, add this entry HOST_IP=IP OF DEVSTACK-MACHINE.

With this change, the rest endpoints will be based on IP instead of localhost

3) You can create a tenant by using horizon UI. Login using the user "admin" and password set by you either in localrc or while running

If you want to create using Keystone CLI, then do the following

cd devstack

source openrc admin admin

keystone tenant-create

To know what are the exact parameters to pass, you can use "help" as mentioned below

sagar@sagar-eclipse:~/devstack$ keystone help tenant-create

usage: keystone tenant-create --name <tenant-name> [--description <tenant-description>] [--enabled <true|false>]

Create new tenant

Optional arguments: --name <tenant-name> New tenant name (must be unique) --description <tenant-description> Description of new tenant (default is none) --enabled <true|false> Initial tenant enabled status (default true)

2013-06-09 23:48:59 -0500 answered a question Where is the scalability and the flexibility in OpenStack ?

You can add more memory or CPU using the resize API and passing a new Flavor which has more CPU or memory

Check this link for more details

2013-06-09 06:17:06 -0500 received badge  Enlightened (source)
2013-06-09 06:17:06 -0500 received badge  Good Answer (source)
2013-06-09 03:07:09 -0500 received badge  Nice Answer (source)
2013-06-08 22:32:10 -0500 received badge  Nice Answer (source)
2013-06-07 11:15:18 -0500 answered a question Where can i find the develper documentation which has the design, class diagrams etc ??

You can use pyreverse to generate class diagram from python source. Since you are using devstack, it installs pyreverse.

I created a class diagram for network tests. Check it here.

Please do the following on devstack machine:

  1. First install dot using the command

    sudo apt-get install graphviz

  2. Now you can start using pyreverse. I generated the above file using the command.

    cd /opt/stack/tempest/tempest pyreverse -o png -p tempest-test-networks /network

Click here for the class diagram of nova baremetal driver. In the similar way, class diagram can be generated for any openstack class.

Hope this helps.

2013-06-07 09:31:04 -0500 answered a question can anybody help me in installing devstack

This looks like a permission problem on You can give the required permission using chmod.

Another option is to create a user and then do git clone of devstack and run does not run in root user. If executed from root user, it creates a new user called stack and proceeds.

In your error, the stack user does not seem to have permission to run

2013-06-07 09:24:19 -0500 answered a question How can I connect to Ubuntu Image using putty?

When you launched the instance, you need to specify the keypair. Use that key to ssh to your instance. Without the key, you will not be able to SSH to the instance.

Also open port 22 in the security group for that VM. Port 22 is required for SSH access

2013-06-06 22:30:06 -0500 answered a question Cannot restart services on Devstack

Devstack does not run services. Its runs as screens. After successfully running, if you want to restart any openstack service, get into screen using screen -r. For restarting nova network, go to nova network screen which is screen 9, using the command CTRL+A followed by 9. Then kill the nova network using CTRL+C and then restart it using "up" arrow and enter.

Note if you reboot your machine running devstack, you need to rerun

2013-06-06 07:23:57 -0500 received badge  Nice Answer (source)
2013-06-05 07:50:49 -0500 commented answer How to create a bootable volume with the Dashboard?

devstack is a dev environment. If your setup is in production, I would suggest please wait till Havana is released. However for your learning/understanding openstack, you can create a single node devstack on a ubuntu VM. Check for more details

2013-06-04 23:17:34 -0500 commented question VMware ESXi hypervisor node showing as Qemu?

Can you post the compute logs. That will have more detail on the compute host being used

2013-06-04 09:02:53 -0500 commented answer How to create a bootable volume with the Dashboard?

what version of openstack are you using. As I mentioned in my answer, I am using devstack TOT(Top of Trunk, Ie. Havana). I have added a image in my answer now. Please check that

2013-06-03 09:09:30 -0500 answered a question How to create a bootable volume with the Dashboard?

When you create a volume from dashboard, you can choose the volume source as image and select a image. This will create a bootable volume. I have devstack TOT and this feature is available. Also for booting from a volume, you need this fix

This is the screen shot where we can create a bootable volume

Check screen shot

2013-06-02 09:24:45 -0500 received badge  Supporter (source)
2013-05-31 08:45:25 -0500 answered a question Hey, how is strustured VM's placement in Openstack ?
2013-05-31 08:32:34 -0500 answered a question Can i scale up/scale down computing resource(i.e. cpu, ram, disk) on running vm instances without shutting it down?

You can use the resize API to add a different flavor to that VM. Check this doc

This is a user initiated action. You cannot set a threshold and resize it automatically on reaching that threshold.

To set threshold and the increase the size of the VM, you can do the following

HealthNMon, a opensource “Cloud Resource Monitor” provides among other features, a feature for fetching CPU utilization of a VM launched in Openstack

You can write a custom script/cron job, which keeps checking the CPU utilization using HealthNMon, and when it reaches the threshold, call the resize API and change the flavor