Amitabh Sinha's profile - activity

2020-02-07 09:55:12 -0500 received badge  Nice Answer (source)
2019-01-16 08:08:16 -0500 received badge  Famous Question (source)
2018-11-09 12:23:46 -0500 received badge  Notable Question (source)
2018-02-28 22:54:17 -0500 received badge  Popular Question (source)
2018-02-28 22:54:17 -0500 received badge  Famous Question (source)
2018-02-28 22:54:17 -0500 received badge  Notable Question (source)
2018-02-28 17:04:15 -0500 received badge  Famous Question (source)
2018-02-28 17:04:15 -0500 received badge  Popular Question (source)
2018-02-28 17:04:15 -0500 received badge  Notable Question (source)
2018-02-06 09:34:08 -0500 received badge  Popular Question (source)
2018-02-06 08:04:10 -0500 received badge  Popular Question (source)
2018-02-06 08:04:10 -0500 received badge  Notable Question (source)
2017-11-24 16:12:14 -0500 received badge  Popular Question (source)
2017-11-21 10:48:49 -0500 asked a question openstack network agent list empty output

I have deployed newton release in allinone mode. When executing openstack network agent list I am blank list.

checked logs DHCP logs image description

2017-11-21 00:49:46 -0500 asked a question not getting openstack dashboard

I have deployed allinone openstack (newton). Not able to get openstack dashboard , getting 500 internal server error.

2017-10-17 23:10:24 -0500 asked a question How to add magum service to existing devstack

I want to understand add magnum service to existing devstack and deploy web application on the container on the top of Devstack . Guys , if anyone who is familiar with or having nice links. Kindly share

2017-06-02 03:23:25 -0500 marked best answer how we install heat on havana running on ubuntu 12.04

how we install heat on havana running on ubuntu 12.04. please give the brief explanantion about installation of heat.

2017-06-02 03:23:12 -0500 received badge  Famous Question (source)
2017-05-23 03:21:53 -0500 asked a question VM went to error state after soft reboot

My CI server (openstack vm) was in running state since 4 weeks and suddenly it's not responding when I rebooted it went to error state with error message no space left on the device.

Can we retrieve the data from that VM? if Yes Please share how we can do it.

Thanks in advance

2017-05-08 00:16:24 -0500 asked a question VM's becomes unreachable after 4-5 hrs repeatedly.

I have kilo multi node setup with three compute nodes, VM's which are getting spawned on compute1 is all fine , but VM's which are getting spawned on compute2 and compute3 needs to soft rebooted as VM after 4-5 hours repeatedly not reachable.

2017-04-27 01:26:05 -0500 answered a question Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

You can solve the above problem by creating a simple script with all the parameters which is required to authenticate you.

Here is the script content vi admin_creds

Paste the following: export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=admin_pass export OS_AUTH_URL=http://controller:35357/v2.0

edit it according to your environment save and quite .. just source it and run the command whatever you want to run.

2017-04-27 01:24:33 -0500 answered a question instance only show the IP on dashboard but not inside the VM

@MuhammadAwais when you create Vm in admin network or external network in that that case you will be able to see the ip on dashboard but you will not be able to see the ip inside the vm...When you create the Vm in tenant_network then only you will be in a position to get IP inside the IP.

2017-04-27 01:13:26 -0500 asked a question heat stack-list ERROR: Authentication required

I have installed heat on three node kilo openstack setup. I am able to see heat-api-cfn , heat-engine and heat-api status as running. When I ran heat stack-list I am getting ERROR: Authentication required.

I have checked error logs tail -f /var/log/heat/heat-api.log

2017-04-27 19:31:29.680 26239 WARNING keystonemiddleware.auth_token [-] Authorization failed for token 2017-04-27 19:31:29.681 26239 INFO eventlet.wsgi.server [-] 10.0.0.11 - - [27/Apr/2017 19:31:29] "GET /v1/cc2ea5257ef042308016f0587d5ed360/stacks HTTP/1.1" 401 288 0.070510 2017-04-27 19:31:29.787 26239 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}

Kindly fing the keystone configuration for heat section below vi /etc/heat/heat.conf keystone_authtoken

auth_uri = http://controller1:5000/v2.0 identity_uri = http://controller1:35357 admin_tenant_name = service admin_user = heat admin_password = root123 auth_version = v2.0 insecure=true

2017-04-26 05:00:06 -0500 received badge  Famous Question (source)
2017-03-24 02:42:32 -0500 marked best answer unable ping google from instance

I have allinone juno setup. I am able to do ssh into instance but when I am trying to reach google it is showing unknown host.

2017-03-07 23:36:40 -0500 commented question Error: Unable to retrieve the flavors. (IE only)

It may beacuse under which tenant you are trying to launch an instance may not have permisson to access flavor.

2017-03-07 23:31:19 -0500 answered a question Ubuntu Password Reset

If you want to reset the ubuntu password while launching an ubuntu instance you can provide direct script under post creation creation and launched your ubuntu VM. direct input

cloud-config

password: root123 chpasswd: { expire: False } ssh_pwauth: True

2017-03-07 23:23:23 -0500 answered a question Unable to ssh with key pair - Ubuntu (permission denied)

I have encountered the same issue earlier. Its because of MTU szie, kindly change the instance mtu to 1400. sudo ip link set eth0 mtu 1400

Refer the below question for more details

https://ask.openstack.org/en/question...

2017-03-06 12:44:35 -0500 answered a question Unable to access console in OpenStack Newton

If you are not able to access console then the problem is with novncproxy.

Kindly check the log for the same and paste the log here!

2017-03-06 12:40:02 -0500 answered a question ERROR (CommandError): You must provide a username or user ID via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]

You can solve the above problem by creating a simple script with all the parameters which is required to authenticate you.

Here is the script content vi admin_creds

Paste the following:

export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=admin_pass export OS_AUTH_URL=http://controller:35357/v2.0

edit it according to your environment save and quite .. just source it and run the command whatever you want to run.

2017-03-06 12:29:08 -0500 answered a question Can't able to ping any IP of Openstack setup, not even Router IP

@Mohan lets tear it down one by one. 1. login into launched instance via console and check whether you are able to find any IP attached to eth0. 2. If yes then try to ping vms of same tenant.See whether in same subnet you are able to communicate or not 3. Then check from router whether you are able to ping the vms or not.

sudo ip netns list to see the qrouter details.

Hope It will help you to good extent. Do let me know whether your problem is solved or not.

2017-03-01 07:54:40 -0500 answered a question where to get correct image of ubutnu16.04 image for openstack
  1. You can download the Ubuntu 16.04 images from the below link
    http://cloud-images.ubuntu.com/xenial...

  2. And for logging into the Ubuntu newly created VM you need to pass script source which will set the password.

like below:-

password: root123

chpasswd: { expire: False }

ssh_pwauth: True

2017-02-28 05:32:17 -0500 commented answer can't ssh to instance

Login into instance and run ifconfig command from terminal.

2017-02-28 05:26:11 -0500 answered a question Unable to establish connection to keystone

@Nitin as you mentioned your DHCP IP had changed to 10.1.2.35. But thing is that your keystone endpoints is still registered with old IP address 10.1.2.16 because of that you are getting Unable to establish connection to keystone endpoint. suggestions:- Change the keystone endpoint with the latest IP

2017-02-28 04:55:08 -0500 answered a question can't ssh to instance

@harshal 1. Can you please check the mtu size of the launched vm. 2. Trying do ssh with verbise mode enabled ssh -vvv username@ipaddress kindly paste the log here .

2017-01-24 14:31:37 -0500 received badge  Popular Question (source)
2017-01-15 05:57:25 -0500 asked a question Not able to do ssh into vm after some time

I am having multi node kill setup (1. Controller 2. Network 3. Compute1 4. Compute2 5. Compute3 ). I am able to ping and ssh to vm after creating but after 3-4 hours I am not able to do ping and ssh to vm.

But when I reboot it I am able to do ssh and ping.

Thanks Amitabh

2016-12-15 22:43:09 -0500 received badge  Famous Question (source)
2016-11-15 00:32:09 -0500 received badge  Famous Question (source)
2016-11-13 18:50:20 -0500 marked best answer devstack stack.sh failed Unable to find pip

I am installing Devstack stable ice-house on ubuntu 14.04 LTS.

DOING GIT CLONE 1. git clone https://github.com/openstack-dev/devs... -b stable/icehouse

2.Created Devstack directory
cd devstack

3.downloading localrc file using below link wget -O localrc http://goo.gl/OeOGqL

4.After that running stack.sh file. ./stack.sh

image description

2016-10-14 06:30:09 -0500 received badge  Famous Question (source)
2016-09-29 10:48:33 -0500 received badge  Notable Question (source)
2016-09-29 04:22:17 -0500 received badge  Popular Question (source)
2016-09-23 05:21:31 -0500 received badge  Notable Question (source)
2016-09-23 01:55:50 -0500 received badge  Popular Question (source)
2016-07-01 03:47:56 -0500 asked a question unable to spawn instance

nova-compute log 2016-07-01 22:09:58.898 38423 ERROR nova.compute.manager [req-395372d2-79bc-4a47-a397-af2893ddf97f af163bdb1e1c4191a33b109ef65033f2 cc2ea5257ef042308016f0587d5ed360 - - -] [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] Instance failed to spawn 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] Traceback (most recent call last): 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2473, in _build_resources 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] yield resources 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2345, in _build_and_run_instance 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] block_device_info=block_device_info) 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2407, in spawn 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] block_device_info=block_device_info) 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4415, in _create_domain_and_network 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] self.plug_vifs(instance, network_info) 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 604, in plug_vifs 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] self.vif_driver.plug(instance, vif) 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 609, in plug 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] func(instance, vif) 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 447, in plug_ovs 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] self.plug_ovs_hybrid(instance, vif) 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 443, in plug_ovs_hybrid 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] self._plug_bridge_with_port(instance, vif, port='ovs') 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 414, in _plug_bridge_with_port 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] utils.execute('brctl', 'setfd', br_name, 0, run_as_root=True) 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 207, in execute 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] return processutils.execute(cmd, *kwargs) 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager [instance: a05bd980-28e9-41c7-a52d-8f90a2739fa9] File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 266, in execute 2016-07-01 22:09:58.898 38423 TRACE nova.compute.manager ... (more)

2016-06-16 19:20:26 -0500 received badge  Notable Question (source)
2016-06-05 23:21:04 -0500 received badge  Popular Question (source)
2016-06-03 01:38:05 -0500 commented answer how to add multiple compute node ?

please elaborate ... you are saying I just need to install nova-compute on the fresh node which i need to add it as compute is it?