Ask Your Question

pl_rock's profile - activity

2017-02-10 00:05:01 -0500 answered a question For every OpenStack command I type on the CLI where can I locate or find the corresponding code for that particular command that I typed?

Openstack have many modules like nova, glance, cinder etc. every module have server api and client to interact with server api.

Here is the list of clients in which all command defined that you are looking for.

Here is the github link for all openstack modules:

There is a common client module that also support most of openstack client command. :

2015-12-26 06:33:17 -0500 answered a question problem with openstack installation "echo "stack ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers"

open using command :

sudo visudo

then add line


save that file and exit.

2015-12-16 10:13:58 -0500 answered a question What is the exact different between Swift & Cinder ?

Swift (Object Storage) :- In simple language it is simple storage like google drive , SkyDrive etc.

It stores and retrieves arbitrary unstructured data objects via a RESTful, HTTP based API. It is highly fault tolerant with its data replication and scale-out architecture. Its implementation is not like a file server with mountable directories. In this case, it writes objects and files to multiple drives, ensuring the data is replicated across a server cluster.

Cinder(Block Storage) :- In simple language it is simple plug-in play raw disk like pendrive or external hard disk.

It provides persistent block storage to running instances. Its pluggable driver architecture facilitates the creation and management of block storage devices.

2015-12-15 08:33:53 -0500 answered a question There is something way for install "Kilo" easier?

If you want basic overview of Openstack than you can configure Openstack using Packstack or Devstack. it will be very easy to setup.

see my answer that explained here :

2015-12-07 09:56:43 -0500 received badge  Self-Learner (source)
2015-12-07 09:53:26 -0500 received badge  Nice Answer (source)
2015-12-07 09:36:11 -0500 answered a question how to create local repository for openstack packages

Server side configuration :

there is many method to create local repository . here i am using apache2.

sudo apt-get install apache2
sudo apt-get install apt-mirror

create any directory

sudo mkdir /repo

Now, open the file /etc/apt/mirror.list file using command

sudo vi /etc/apt/mirror.list


set base_path /repo


 deb trusty-updates/kilo main

remove other repository . final /etc/apt/mirror.list will look like:

    ############# config ##################
    # set base_path    /var/spool/apt-mirror
     set base_path /repo
    # set mirror_path  $base_path/mirror
    # set skel_path    $base_path/skel
    # set var_path     $base_path/var
    # set cleanscript $var_path/
    # set defaultarch  <running host architecture>
    # set postmirror_script $var_path/
    # set run_postmirror 0
    set nthreads     20
    set _tilde 0
    ############# end config ##############
 deb trusty-updates/kilo main

then run command:

sudo apt-mirror

it will download all packages to /repo directory. after download completion go to /var/www/html/ and create symbolic link here :

sudo ln -s /repo/mirror/  ubuntu

client side configuration :

open /etc/apt/sources.list

sudo vi /etc/apt/sources.list

add line

deb http://yoursystemIP/ubuntu trusty-updates/kilo main

save it and update

sudo apt-get update

now enjoy local repository

sudo apt-get install PackageName

Note: check your symbolic link is correct.

2015-12-05 03:03:50 -0500 answered a question Does Fuel 7.0 support Openstack Kilo?

yes , it support openstack kilo version. see

2015-12-05 00:09:02 -0500 answered a question Which security group instance attached to

To see security groups : Open openstack dashboard --> click on top-down menu of compute ---> Instances --> select and open instance ---> Overview ---> see Security Groups section

yes, you can change it after launching instance . Security groups are sets of IP filter rules that are applied to an instance's networking. you can edit security groups by clicking on Edit Security Groups

image description

2015-12-04 11:57:19 -0500 received badge  Scholar (source)
2015-12-04 11:56:13 -0500 answered a question How to use vagrant with openstack ?

I got solution of vagrant with openstack.

install openstack provider plugin

vagrant plugin install vagrant-openstack-provider

Create Vagrantfile with content

require 'vagrant-openstack-provider'

Vagrant.configure('2') do |config|       = 'openstack'
  config.ssh.username = 'stack'

  config.vm.provider :openstack do |os|
    os.openstack_auth_url = 'http://keystoneserver/v2.0/tokens'
    os.username           = 'openstackuser'
    os.password           = 'openstackpassword'
    os.tenant_name        = 'tenantname'
    os.flavor             = 'm1.small'
    os.image              = 'image name'
    os.floating_ip_pool   = 'publicNetwork'

and run command :

vagrant up --provider=openstack
2015-12-04 11:45:41 -0500 received badge  Famous Question (source)
2015-12-04 05:02:37 -0500 received badge  Notable Question (source)
2015-12-02 21:25:41 -0500 commented answer ceilometer meter list:The service catalog is empty

this is not able to authenticate you check all parameter you set correctly . also try OS_AUTH_URL=http://controller_url:35357 .

2015-12-02 21:03:02 -0500 answered a question ceilometer meter list:The service catalog is empty

run commands

export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=Your Admin Tenant Password
export OS_AUTH_URL=http://controller_url:35357/v2.0
2015-12-02 20:22:05 -0500 received badge  Nice Answer (source)
2015-12-02 20:19:39 -0500 received badge  Nice Answer (source)
2015-12-02 20:04:50 -0500 answered a question PDF file -- installation guide

Openstack Liberty Release:

This version was launched very recently in October 2015. Still this version documentation modification going on and some distribution documentation is incomplete . once it finished , i hope pdf option will be available. i will recommend you to visit HTML documentation and keep updated with documentation.

openstack KILO Release :

Openstack JUNO Release :

2015-12-02 08:34:10 -0500 received badge  Popular Question (source)
2015-12-01 20:22:09 -0500 commented answer nova image-list error

add this to your question . don't post as a answer .

2015-12-01 20:20:05 -0500 received badge  Citizen Patrol (source)
2015-12-01 08:58:49 -0500 edited question packstack installation error


During installation of kilo version openstack with packstack, installation fails. This worked fine before and now i see following error:

# packstack --allinone

Adding Nagios server manifest entries                [ DONE ]
Adding Nagios host manifest entries                  [ DONE ]
Adding post install manifest entries                 [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
**                        [ ERROR ]          
Applying Puppet manifests                         [ ERROR ]
ERROR : Error appeared during Puppet run:
Error: Could not find data item CONFIG_USE_SUBNETS in any Hiera data file and no default supplied at /var/tmp/packstack/411b335d189547d0a93244a99360bbce/manifests/ on node controller2**
You will find full trace in log /var/tmp/packstack/20151128-174957-PuR2aZ/manifests/
Please check log file /var/tmp/packstack/20151128-174957-PuR2aZ/openstack-setup.log for more information
Additional information:
 * A new answerfile was created in: /root/packstack-answers-20151128-174958.txt
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * File /root/keystonerc_admin has been created on OpenStack client host To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to username: nagiosadmin, password: 9ee1442847c049fb

log file shows:

log file /var/tmp/packstack/20151128-175216-RbPIAg/openstack-setup.log for more information
Could not find data item CONFIG_USE_SUBNETS in any Hiera data file and no default supplied at /var/tmp/packstack/5ce0d19d6f20484f84503ef0f8509d25/manifests/ on node localhost
2015-12-01 08:51:28 -0500 received badge  Nice Answer (source)
2015-12-01 08:51:18 -0500 received badge  Good Answer (source)
2015-12-01 08:49:31 -0500 received badge  Good Question (source)
2015-12-01 06:56:23 -0500 received badge  Enthusiast
2015-11-30 20:37:04 -0500 answered a question How to create a project by Horizon in devstack

Find project option in top-down menu of Identity in left side panel

click on + Create Project and fill details then click on Create Project.

see below snapshot image description

2015-11-30 20:24:43 -0500 received badge  Nice Answer (source)
2015-11-30 20:23:59 -0500 received badge  Nice Question (source)
2015-11-30 20:13:17 -0500 received badge  Autobiographer
2015-11-30 19:53:32 -0500 answered a question How can we deploy a software on Openstack? (e.g. java)

Openstack is a virtualized environment that provide virtual machine(VM) in which you can configure your software, server , development environment etc. if your software can run in local virtual environment like in kvm , virtualbox ,vmvare then it will run on openstack also. But , i can't say all software will work on openstack because there is some software that only work with physical environment or made for physical hardware. So, its Dependant on requirement.

packages like JAVA, tomcat, scala, hadoop etc. will work fine on openstack.

2015-11-30 12:12:39 -0500 received badge  Teacher (source)
2015-11-30 12:10:17 -0500 edited answer OpenStack distribution for newbie to start with

If you want basic overview of Openstack than you can configure Openstack using Packstack or Devstack. it will be very easy to setup.

It is sure , it will configure your setup fast and easily. But i will Recommend you for good learning you have to follow complete documentation and install manually that will more helpful to understand complete architecture .

2015-11-30 12:10:17 -0500 received badge  Editor (source)
2015-11-30 12:06:54 -0500 received badge  Student (source)
2015-11-30 12:02:58 -0500 edited question How to use vagrant with openstack ?

I have used vagrant provisioning with Libvirt and Virtualbox. I am comfortable with Vagrantfile but now i want to use vagrant with openstack . what parameter should i include in section

config.vm.provider :openstacktest do |vm| 

Also suggest any other changes or steps for successful provisioning.