Ask Your Question

Mohit's profile - activity

2019-09-19 02:47:32 -0500 answered a question WARNING KVM acceleration not available, using 'qemu' ERROR

Check if the cpu virtualization support is enabled on BIOS.

You can also check if the cpu supports the virtualization linux command - egrep -c '(vmx|svm)' /proc/cpuinfo

If the output is 0 , that means the virtualization is not supported , 1 or greater than 1 means its good to go.

2019-09-19 02:40:49 -0500 answered a question Persistent volume in TOSCA Template

Hi Nehal,

You can use a cinder volume attached to the vnf vm and preserve the cinder volume on termination of vnf (Ensure the r/w activity carried by vnf to cinder is stopped before termination to ensure no cinder volume corruption ), As per the tacker project this is already a blueprint/spec for this as well, you can check it - https://specs.openstack.org/openstack...

2019-05-21 10:06:17 -0500 answered a question Heat Template to create Multiple VM on different compute node

You can use affinity/anti-affinity rules to achieve this, Refer the guide for using them via Heat -

https://docs.openstack.org/heat/lates...

2019-05-20 05:43:56 -0500 answered a question python-keystoneclient API: set user password expiration

Can you Try by updating the time formating toYYYY-MM-DDTHH:mm:ssZ So it can be 2020-01-01T15:09:45Z

2019-05-20 05:32:10 -0500 answered a question Virtualbox on OpenStack Image

Vritualization is not enabled on the instance spawned up on openstack. you can check it via command

cat /proc/cpuinfo | grep vmx

You need to enable nested virtualization. Linux KVM supports nesting on recent virtualization-enabled processors. On compute node set

echo "options kvm-intel nested=y" >> /etc/modprobe.d/dist.conf

Update nova.conf with -:

virt_type=kvm
cpu_mode=host-passthrough

This is valid only for kvm hypervisor.

Reboot your compute node and Validate that nested virtualization is enabled

cat /sys/module/kvm_intel/parameters/nested
2019-04-10 10:23:18 -0500 answered a question can not get the list of servers using nova.serveres.list()

You can refer to the official guide https://docs.openstack.org/python-nov...

2019-04-10 10:12:22 -0500 answered a question nova interface-attach fails for one instance, works for another

On checking logs i do see that you are using OVS (OpenVSwitch) plugin , Have you assigned floating ip to the instances which are failing to delete.

for getting more clues , just check for the logs with string tapd3726aad-1c which is actually vif_name

2019-04-10 09:40:19 -0500 answered a question cloud-init[952]: 2019-04-10 07:46:00,156 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id

Can you check if all neutron agents are working file, command - neutron agent-list and lookup for metadata agent on it

2019-03-24 23:58:11 -0500 answered a question Does openStack have any DLP solution?

You can try openstack project karbor

2019-03-23 10:12:27 -0500 commented answer error: "could not add network device eno2 to ofproto (Device or resource busy)"

from error , it appears that there is some other resource using up eno2 , can you try to use any other ethernet interface apart from eno2 .... on juju config param ext-port

2019-03-19 09:16:37 -0500 answered a question Floating IP parameter not visible in Horizon

It is under Access & Security > Allocate IP To Project ....

2019-03-18 09:34:40 -0500 commented question error: "could not add network device eno2 to ofproto (Device or resource busy)"

Is there any interface already attached to eno2 ?

2019-03-15 05:39:33 -0500 answered a question Can anyone please help me how to install openstack queens in ubuntu 16.04?

You can also try official repo https://github.com/openstack/openstack-ansible to install openstack via ansible playbooks as well.

2019-03-15 05:36:46 -0500 commented answer ImportError: cannot import name decorate

Not sure about your installation process , just check if you missed any requirements.txt to be done via pip.

This will ensure you get the correct version of decorate package.

2019-03-14 00:40:19 -0500 commented question VNC console in dashboard failed to connect to server (code: 1006)

Instead of controller use the actual ip address in the configuration files, unsure about internal dns lookups on your setup

2019-03-14 00:36:05 -0500 answered a question How to invoke Inovke python program from Mistral workflow.

You can use std.ssh module to do remote ssh onto the vm and use cmd to call the python program.

ssh_to_machine_minion{{ num }}:
  action: std.ssh
  retry:
    delay: 5
    count: 15
  input:
     cmd: "cd /home/stack  && python test_script.py"
     host: <% $.ip_interface_list_minion{{num}} %>
     username:  <% $.username %>
     password: <% $.password %>
2019-02-04 22:24:05 -0500 commented question how to debug keystone performance?

Ensure keystone is configured to store its tokens in memcache instead of storing it in db.

2018-12-11 04:40:00 -0500 commented question Docker with openstack

You can also explore openstack project - Magnum and Kuryr

2018-12-09 22:55:24 -0500 commented question How to get region name in custom heat resource?

You can try keystoneclient.v3.regions.RegionManager.list or keystoneclient.v3.regions.RegionManager.get

2018-11-19 01:49:38 -0500 commented question error: unable to retrieve usage information

Have you configured ceilometer on your setup.

2018-10-27 11:12:51 -0500 commented question Error in ssh?

If you are able to access the vm console ( default via nova vnc ) , check if ssh services are running on the virtual machine locally , you can issue the command ssh localhost or telnet localhost 22 , if this is good then you need to perform network troubleshoot.

2018-09-18 08:16:45 -0500 answered a question Can you have more than one network with the same ip?

Yes it is possible , also check the configuration key allow_overlapping_ips in neutron.conf file

2018-09-18 08:14:19 -0500 commented question Keep getting "The service catalog is empty."

Can you share the doc link which you are following up to install openstack and on which command it is failing.

2018-09-18 08:12:23 -0500 answered a question How to create an instance with a specific ip?

You can create a port with specific ip address on neutron , using command neutron port-create --fixed-ip and boot the vm specifying port-id= so that the instance is binded to the neutron port

2018-07-07 08:56:45 -0500 commented question how to import xen vm to openstack kvm

Any luck if you have anything on instance console log..

2017-11-14 05:48:07 -0500 answered a question Failed to create resource provider record in placement API for UUID 45d80a41-13ca-425b-84a2-60eaf454119f. Got 503:

Try : su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova

2017-11-08 02:27:41 -0500 commented answer VNF deployment (with 12 vms) is failing with 64 GB ram flavor but passes with 48GB ram.
2017-11-07 02:42:18 -0500 answered a question VNF deployment (with 12 vms) is failing with 64 GB ram flavor but passes with 48GB ram.

Try the same with 60 GB ram instead of 64 GB, This may work.

2017-09-06 03:16:14 -0500 answered a question Is RYU still supported in OpenStack?

Looking onto the codebase , ryu is still used on neutron project.

https://github.com/openstack/neutron/... Its also on requirements.txt ryu>=4.14 # Apache-2.0

2017-08-09 07:53:03 -0500 commented question Stack update failed if personality is removed

Hi, Just confirming if the Flavor Largeflavor exists on your openstack Flavors , Would check this further.

2017-08-09 07:38:51 -0500 answered a question Problem using python-novaclient

According to the error code - (HTTP 404) it looks like the destination ip address is not reachable from your machine , on your python code , try to print d['auth_url'] and attempt it to ping from the same machine where you are running your python code. Example - if AUTH_URL = 'http://192.168.10.11:5000/v3', try to ping 192.168.10.11 from command line,

2017-08-04 07:02:40 -0500 answered a question Cannot delete instances using "nova delete <instance id>"

Appears that it is attempting to catch neutron a the loopback ip address 127.0.0.1 but you have mentioned that there is

One controller, one compute and one network node.

Unable to establish connection to http://127.0.0.1:9696/v2.0/ports.json?device_id=0dadc0d0-cf5e-492f-8896-deb907d80075

2017-08-04 06:54:07 -0500 answered a question Newton release docs
2017-08-04 06:51:31 -0500 answered a question How to debug the router's interface ? all the interfaces status are down.

You can use linux namespace ping as well

ip netns list

identify router id and identify the interface - sudo ip netns exec qrouter-**************** ifconfig Use the ping utility to ping from router - sudo ip netns exec qrouter-**************** ping a.b.c.b

2017-04-21 04:49:24 -0500 received badge  Necromancer (source)
2017-04-13 09:23:08 -0500 answered a question How to increase user data limit beyond 64k?

Bottleneck appears to be database - https://bugs.launchpad.net/nova/+bug/...

2017-04-13 01:30:15 -0500 answered a question Hypervisor Information?

You can check /etc/nova/nova.conf file for section

compute_driver = libvirt.LibvirtDriver
[libvirt]
virt_type =
2017-04-03 02:25:32 -0500 answered a question OpenStack Newton: 503 Service Unavailable

Have you checked out the discussion thread - https://ask.openstack.org/en/question...

2017-03-31 22:28:55 -0500 commented question nova list hang

Can you provide the openstack enviroment variables /adminrc or the details of export OS_AUTH_URL. Also try to telnet 10.10.0.2 on port 5000 Also keystone endpoint-list |grep 5000 or openstack endpoint list | grep 5000

2017-03-22 03:10:52 -0500 answered a question Ceilometer Meters Missing

You can search on exsisting threads for same issue, I had the same issue and was fixed out on thread discussion - https://ask.openstack.org/en/question...

2017-03-22 03:05:58 -0500 answered a question change ip address in entire cloud

For some of the tasks you can use Mistral project (able to clone an instance running on a certain range of IP prefixes, into another range of IP-prefixes)

For database details you can use Ansible and can trigger mistral workflows dynamically using Jinja templates.

2017-03-22 03:01:50 -0500 answered a question liberty installation failed

Try:

pip install --upgrade pip

pip install --upgrade setuptools
2017-03-01 04:48:48 -0500 answered a question Tacker working with Mitaka

Set service_plugins = tacker.vm.plugin.VNFMPlugin in tacker.conf ,recreate the database and do /usr/local/bin/tacker-db-manage --config-file /usr/local/etc/tacker/tacker.conf upgrade head

2017-01-30 01:09:50 -0500 answered a question How to detect keystone version

To find keystone version You can curl http://your-address:5000 . This is out of python scope.

2016-10-17 05:49:09 -0500 received badge  Supporter (source)