Ask Your Question

Bharath's profile - activity

2017-03-28 10:02:47 -0500 received badge  Notable Question (source)
2017-03-28 10:02:47 -0500 received badge  Famous Question (source)
2017-01-11 15:55:38 -0500 received badge  Famous Question (source)
2016-06-03 02:56:07 -0500 received badge  Popular Question (source)
2016-04-22 14:22:41 -0500 received badge  Notable Question (source)
2016-01-07 00:12:49 -0500 commented answer Expecting to find username or userId in passwordCredentials...

can you try to boot with --debug option and paste the output which might give some clues?

2016-01-06 16:34:16 -0500 received badge  Teacher (source)
2016-01-06 03:52:09 -0500 received badge  Notable Question (source)
2016-01-06 03:52:09 -0500 received badge  Famous Question (source)
2016-01-06 03:45:08 -0500 commented answer cinder volume quotas broken for RDO install in centOs?

cinder-api must be failed to start for a reason that could be observed from cinder-api.log. Please try to find ERROR in the log which could give possible reasons for failure.

2016-01-06 03:41:22 -0500 commented question cinder volume quotas broken for RDO install in centOs?

Even this could be of help.

2016-01-06 03:40:15 -0500 commented question cinder volume quotas broken for RDO install in centOs?

cinder-api service must be down for some reason. Check cinder-api.log for possible reasons. Reasons could be similar to case here

2016-01-06 03:27:28 -0500 received badge  Commentator
2016-01-06 03:27:28 -0500 commented answer C-api failed to start in devstack

if you are able to get output for cinder list, it means cinder-api has already started and it is working, strange to see error as shown above. Are all other cinder processes running or any of them failed to start with an error?

2016-01-06 03:13:46 -0500 commented answer cinder volume quotas broken for RDO install in centOs?

can you run any nova/cinder command using "--debug" and paste the output?

2016-01-06 02:52:45 -0500 answered a question C-api failed to start in devstack

Can you provide more details. Are you able to ssh to that ip and is port 8776 open and not being used by any other process. Can you manually do a curl request with debug enabled and see the response so that we will get to know the exact reason for failure.

2016-01-06 00:56:02 -0500 answered a question ERROR: openstackclient.shell Exception raised: (pbr 0.11.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pbr>=1.6')

Hi,

For Manila to be successfully installed it is required for several other python packages to be in place prior.

https://github.com/openstack/manila/b... - suggests that pbr version installed on system should be >=1.6. I could see from the logs that version of pbr on your system is 0.11.0. (Confirm that using "pip list | grep pbr)

If there is a version mismatch follow the below steps:

pip uninstall pbr

pip install pbr==1.6.1

Check the version again using pip list and continue with manila installation.

2016-01-06 00:48:00 -0500 answered a question Expecting to find username or userId in passwordCredentials...

Please check your nova.conf and glance.conf for [keystone_authtoken] section and check if everything is fine over there. Ideal parameters would be as follows:

[keystone_authtoken]
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = nova
admin_password = XXXXXXXXXXXX

If there are any other parameters apart from them, see if the values against them are valid. Change the configuration files and see if that resolves your issue.

2016-01-06 00:28:12 -0500 answered a question cinder volume quotas broken for RDO install in centOs?

If you are trying to perform openstack operations through CLI did you source the openrc file which contains the auth_url and the credentials required to authenticate against keystone? If you don't have those environment variables set you will get this issue. Try souring an openrc file in the below format.

Create and source the OpenStack RC file

Alternatively, you can create the PROJECT-openrc.sh file from scratch, if for some reason you cannot download the file from the dashboard.

In a text editor, create a file named PROJECT-openrc.sh file and add the following authentication information:

export OS_USERNAME=username
export OS_PASSWORD=password
export OS_TENANT_NAME=projectName
export OS_AUTH_URL=https://identityHost:portNumber/v2.0
# The following lines can be omitted
export OS_TENANT_ID=tenantIDString
export OS_REGION_NAME=regionName
export OS_CACERT=/path/to/cacertFile

On any shell from which you want to run OpenStack commands, source the PROJECT-openrc.sh file for the respective project. In this example, you source the admin-openrc.sh file for the admin project:

$ source admin-openrc.sh

For more details, see http://docs.openstack.org/cli-referen...

2015-11-07 22:11:21 -0500 received badge  Popular Question (source)
2015-11-05 01:06:42 -0500 asked a question rally tenants & users

I am trying to completely understand the difference between below rally input files.

{
  "kw": {
    "runner": {
      "rps": 50,
      "type": "rps",
      "times": 50
    },
    "args": {
      "size": 2
    },
    "name": "CinderVolumes.create_volume",
    "context": {
      "users": {
        "project_domain": "default",
        "users_per_tenant": 5,
        "tenants": 5,
        "resource_management_workers": 10,
        "user_domain": "default"
      }
    }
}

Second Input:

{
  "kw": {
    "runner": {
      "rps": 50,
      "type": "rps",
      "times": 50
    },
    "args": {
      "size": 2
    },
    "name": "CinderVolumes.create_volume",
    "context": {
      "users": {
        "project_domain": "default",
        "users_per_tenant": 5,
        "tenants": 1,
        "resource_management_workers": 10,
        "user_domain": "default"
      }
    }
  },

I wanted to create 50 cinder volumes with rps 50.

When I use one tenant with 5 users - 50 volumes will be created from 5 users in that tenant.

When I use 5 tenants with 5 users each - 50 volumes will be created across 5 tenants from 25 users.

Is my understanding correct or in case of 5 tenants and 5 users - 50 volumes will be created for each tenant from 5 users in it?

Also I understand that resource_management_workers parameter defines concurrent threads use for serving users context, correct me if I am wrong.

Please throw some light on this.

Thank you.

2015-11-04 13:55:55 -0500 received badge  Famous Question (source)
2015-11-04 13:55:55 -0500 received badge  Notable Question (source)
2015-10-09 04:41:58 -0500 asked a question maximum number of parallel API requests each openstack service can handle?

Is there any specific limit on how many API requests can be handled in parallel by an Openstack service? I am using Juno Deployment.

I tried to do stress testing on Cinder and Nova. I could see that beyond 60(approx) requests the system becomes unstable.

There is no API rate limit set/enabled. I just want to know the maximum requests that can be handled in parallel and are there any ways to improve that. If there are please let me know how.

Thanks

2015-09-29 17:03:00 -0500 received badge  Popular Question (source)
2015-09-14 04:08:12 -0500 asked a question nova volume-attach with device option not honoring given device name

I am trying to attach a cinder volume to a VM using device option as shown below.

nova volume-attach vm-id device-name

Eg: nova volume-attach vm-id /dev/vdd

Currently there is no device named /dev/vdc listed in VM. But I want the volume to be attached as device name vdd which falls out of alphabetical order.

volume-attach command shows me that the volume is mounted as vdd, but when I do lsblk after logging in to VM and check the device name it is listed as vdc.

nova volume-attach <vm-id> <vol-id> /dev/vdd 10
+----------+--------------------------------------+
| Property | Value                                |
+----------+--------------------------------------+
| device   |  /dev/vdd                          |

lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sr0     11:0    1  410K  0 rom
vda    253:0    0   10G  0 disk
└─vda1 253:1    0   10G  0 part /
vdb    253:16   0   20G  0 disk /mnt
vdc    253:32   0   10G  0 disk

It is following the alphabetical order and as devices /dev/vda and /dev/vdb are present, /dev/vdc is being created in VM.

If this is the case what is the use of <device> option in nova volume-attach command? Is this a bug in nova or expected behavior, please throw some light on this.

Thank you.

2015-07-14 16:38:24 -0500 received badge  Notable Question (source)
2015-07-14 16:38:24 -0500 received badge  Famous Question (source)
2015-07-14 16:38:24 -0500 received badge  Popular Question (source)
2015-07-09 10:02:44 -0500 received badge  Famous Question (source)
2015-07-09 10:02:44 -0500 received badge  Notable Question (source)
2015-07-06 08:19:43 -0500 received badge  Popular Question (source)
2015-07-06 08:19:43 -0500 received badge  Famous Question (source)
2015-07-06 08:19:43 -0500 received badge  Notable Question (source)
2015-04-19 07:02:33 -0500 received badge  Famous Question (source)
2015-04-16 04:50:56 -0500 received badge  Notable Question (source)
2015-04-16 01:59:46 -0500 received badge  Popular Question (source)
2015-04-16 00:19:43 -0500 commented question migrate or replicate keystone data to a new openstack environment

Any suggestions or help?

2015-04-15 01:42:23 -0500 asked a question migrate or replicate keystone data to a new openstack environment

I am trying to find ways of replicating an openstack cloud environment to a target environment in case of disaster recovery. To achieve that in bits and pieces I started with keystone service. I wanted to know the following things.

  1. Is it appropriate to back up and restore keystone information related to users, tenants and other stuff and restore them in the new openstack environment. If not what would be the alternatives?

  2. In case if its is appropriate, is there a way to back up the keystone data and restore it on the new environment?

  3. Is " keystone-manage saml_idp_metadata " helpful in any way for replication?

Please help in knowing any alternative ways if there are any.

Thank you.

2015-03-26 05:13:18 -0500 received badge  Famous Question (source)
2015-03-16 02:48:01 -0500 marked best answer Perform openstack operations in murano application

I am trying to write a murano application which needs to execute some openstack commands before it launches virtual machines and install applications on to that. From existing YAML examples I could see that what ever scripts that are written to perform installation of required applications are being executed on the VM being created by murano.

I wanted to know if there is a way where we can execute openstack commands using murano some how on the host machine.

Also is it possible for murano to interact with other services apart from HEAT?

Please help on clearing these concerns.

Thank you.

2015-03-16 02:47:14 -0500 received badge  Famous Question (source)
2015-02-13 00:18:59 -0500 asked a question how to create VNF like vRouter on openstack

I have been hearing NFV and how it provisions Network functions in cloud environment.

As a new-bee, I want to understand some basic questions.

Is it possible to create a virtual router with out actually having a router in place using Openstack?

If so, what needs to be done in high level perspective for a simple use case such as "Providing a virtual router functionality on Openstack installed basic environment say on a laptop."

All the info that I have read till now on NFV is purely theoretical and I could not see any demonstrations of simple use cases.

Request you to please throw some light on the queries provide pointers for further study on how to achieve NFV.

Thank you

2015-01-27 23:51:48 -0500 received badge  Popular Question (source)
2015-01-26 11:54:32 -0500 asked a question murano engine stops at execution of io.murano.system.Agent.call

I am trying to launch a simple exisitng murano application written by mirantis, say telnet application.

All goes well until stack is launched and VM gets created, but the deployment hangs in there for ever when ever it is supposed to execute

$.instance.agent.call($template, $resources)

When I check the logs, I could see engine log as shown below:

{"packages": [{"class_definitions": ["io.murano.apps.linux.Telnet"], "description": "Telnet is the traditional protocol for making remote console connections over TCP.\n", "tags": ["Linux", "connection"], "updated": "2015-01-23T12:38:25", "is_public": true, "categories": [], "name": "Telnet", "author": "Mirantis, Inc", "created": "2015-01-23T12:38:25", "enabled": true, "id": "136ba118cb9c4c959c1272de1619cf88", "supplier": {}, "fully_qualified_name": "io.murano.apps.linux.Telnet", "type": "Application", "owner_id": ""}]}
 log_http_response /opt/stack/python-muranoclient/muranoclient/common/http.py:124
2015-01-23 19:44:56.682 32107 DEBUG murano.dsl.executor [-] 3cff2baec5c442db872045e4a02c64cb: Begin execution: io.murano.system.Resources.yaml (3870724619994419412) called from File "/tmp/murano-packages-cache/d996b0d8-c790-4279-8828-f82b8875b5e6/io.murano/Classes/Environment.yaml", line 68:13 in method deploy of class io.murano.Environment
    $.applications.pselect($.deploy()) _invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:142
2015-01-23 19:44:56.718 32107 DEBUG murano.dsl.executor [-] 3cff2baec5c442db872045e4a02c64cb: End execution: io.murano.system.Resources.yaml (3870724619994419412) _invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:160
2015-01-23 19:44:56.719 32107 DEBUG murano.dsl.executor [-] 3cff2baec5c442db872045e4a02c64cb: Begin execution: io.murano.system.Agent.call (-6909955412123599548) called from File "/tmp/murano-packages-cache/d996b0d8-c790-4279-8828-f82b8875b5e6/io.murano/Classes/Environment.yaml", line 68:13 in method deploy of class io.murano.Environment
    $.applications.pselect($.deploy()) _invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:142

It is evident that murano system resources.yaml execution completes successfully, but io.murano.system.Agent.call begins execution and hangs there.

No other errors could be seen. Please help on whats going wrong.

Thank you.

2015-01-22 06:10:52 -0500 asked a question cloud-init failed on sles

I am trying to pass user-data to SLES VM using hot template. cloud-init is installed in the SLES but execution of scripts passed to user-data is not being done during boot up. When I manually tried to start cloud-init in /etc/init.d/, it starts but end up with an error as shown below:

2015-01-22 12:07:34,586 - util.py[DEBUG]: Cloud-init v. 0.7.5 running 'init' at Thu, 22 Jan 2015 12:07:34 +0000. Up 652.52 seconds.
2015-01-22 12:07:34,587 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2015-01-22 12:07:34,588 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 0:0
2015-01-22 12:07:34,588 - util.py[DEBUG]: Running command ['ifconfig', '-a'] with allowed return codes [0] (shell=False, capture=True)
2015-01-22 12:07:34,594 - util.py[DEBUG]: Running command ['netstat', '-rn'] with allowed return codes [0] (shell=False, capture=True)
2015-01-22 12:07:34,615 - cloud-init[DEBUG]: Checking to see if files that we need already exist from a previous run that would allow us to stop early.
2015-01-22 12:07:34,615 - util.py[DEBUG]: Reading from /var/lib/cloud/data/no-net (quiet=False)
2015-01-22 12:07:34,615 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2015-01-22 12:07:34,615 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2015-01-22 12:07:34,617 - importer.py[DEBUG]: Looking for modules ['sles', 'cloudinit.distros.sles'] that have attributes ['Distro']
2015-01-22 12:07:34,618 - importer.py[DEBUG]: Failed at attempted import of 'sles' due to: No module named sles
2015-01-22 12:07:34,649 - importer.py[DEBUG]: Failed at attempted import of 'cloudinit.distros.sles' due to: No module named configobj
2015-01-22 12:07:34,649 - importer.py[DEBUG]: Found sles with attributes ['Distro'] in []
2015-01-22 12:07:34,650 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2015-01-22 12:07:34,650 - util.py[DEBUG]: Read 15 bytes from /proc/uptime
2015-01-22 12:07:34,650 - util.py[DEBUG]: cloud-init mode 'init' took 0.161 seconds (0.17)

I am also wondering if any configuration is needed for the cloud-init to execute scripts during boot up time.

Request you all to please help on resolving this.

Thank You.

2015-01-16 01:15:51 -0500 commented answer Heat error on Juno "Template version was not provided"

I am facing same issue, can you please clearly explain what you have done to get rid of this issue. I am sorry I could not understand the steps you have done to get it working. Thank you in advance.

2015-01-15 20:37:29 -0500 received badge  Popular Question (source)
2015-01-14 10:22:34 -0500 received badge  Notable Question (source)