Ask Your Question

vishwanathj's profile - activity

2017-10-27 02:10:40 -0500 received badge  Good Answer (source)
2016-03-09 22:35:59 -0500 received badge  Nice Answer (source)
2016-03-01 10:57:17 -0500 received badge  Famous Question (source)
2016-02-29 15:05:51 -0500 received badge  Nice Answer (source)
2016-02-25 00:59:14 -0500 received badge  Self-Learner (source)
2016-02-25 00:00:56 -0500 received badge  Organizer (source)
2016-02-24 23:20:58 -0500 answered a question Unable to create a VM with SR-IOV port

I finally found the issue. Step 13 was missing the issue highlighted in bold below, since Intel NICS dont support sriov agent, the agent_required = False was required to be specified explicitly in ml2_conf_sriov.ini file.

Configuration changes to ml2_conf_sriov.ini

[ml2_sriov]

supported_pci_vendor_devs = 8086:10ed

agent_required = False

[sriov_nic]

physical_device_mappings = sriovnet:p1p1
2016-02-24 23:18:34 -0500 commented question Unable to create a VM with SR-IOV port

sgordon, I had shared the dropbox link to the nova-compute log on IRC - https://www.dropbox.com/s/a0omwr1d4gb... However, the good news is I think I found the issue 30 minutes bac, was missing a configuration entry in ml2_conf_sriov.ini file. I will post the answer

2016-02-24 23:12:15 -0500 received badge  Notable Question (source)
2016-02-23 12:06:11 -0500 commented question Unable to create a VM with SR-IOV port

sgordon, appreciate your suggestion, I have now captured the logs and is at link http://paste.openstack.org/show/487923/ (log from another host setup for CPU Pinning as well )

Below is the log from the host for which I had provided the setup instuctions http://paste.openstack.org/show/487929/

2016-02-23 10:40:34 -0500 received badge  Popular Question (source)
2016-02-23 00:29:09 -0500 asked a question Unable to create a VM with SR-IOV port

Setup details

I have a Single Controller + Compute node (Dell Power Edge 630) with Ubuntu 14.04.4 LTS Server 64-bit and OpenStack Liberty installed.

The single controller + compute node has a Intel Corporation Ethernet 10G 2P X520 Adapter , 2 processors with 10 cores each.

From the Server BIOS, I have NUMA Topology enabled (2 NUMA nodes), HyperThreading enabled (Ubuntu sees 40 logical processors) and Virtualization Mode set to SR-IOV.

I followed the below steps

  1. Edit /etc/default/grub with below values

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=8-39 default_hugepagesz=1G hugepagesz=1G hugepages=8 hugepagesz=2048kB hugepages=4096"

    GRUB_CMDLINE_LINUX="intel_iommu=on”

  2. “sudo update-grub” && sudo reboot

  3. Created /etc/modprobe.d/ixgbe.conf with below contents

    options ixgbe max_vfs=7

  4. “sudo update-initramfs –k all –t –u” && sudo reboot

  5. “sudo modinfo ixgbe | less” to get below driver version

    filename: /lib/modules/3.13.0-77-generic/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko

    version: 3.15.1-k

  6. “sudo modinfo ixgbevf | less"

    filename: /lib/modules/3.13.0-77-generic/kernel/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko

    version: 2.11.3-k

  7. Executed “sudo lspci –vvv | grep –i ethernet” to ensure Virtual Functions were showing up as below

    82:00.0 Ethernet controller: Intel Corporation Ethernet 10G 2P X520 Adapter (rev 01)

    82:00.1 Ethernet controller: Intel Corporation Ethernet 10G 2P X520 Adapter (rev 01)

    82:10.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:10.1 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:10.2 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:10.3 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:10.4 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:10.5 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:10.6 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:10.7 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:11.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:11.1 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:11.2 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:11.3 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:11.4 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

    82:11.5 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01)

  8. Executed “lspci –nn | grep –i Virtual” to capture PCI Vendor ID (vendor_id:product_id format). The value of interest below is 8086:10ed

    82:10.0 Ethernet controller [0200]: Intel Corporation 82599 Ethernet Controller Virtual Function [8086:10ed] (rev 01)

  9. Obtain the SR-IOV device name; the “ip a | less” command indicated that my SR-IOV device name was

    p1p1

  10. Verify that there are VFs assigned to the device by executing command

    “sudo ls -l /sys/class/net/p1p1/device/virtfn*"

  11. Configuration changes to nova.conf (both controller and ...

(more)
2015-05-15 00:01:18 -0500 received badge  Scholar (source)
2015-05-14 16:03:18 -0500 received badge  Famous Question (source)
2015-05-14 16:02:43 -0500 commented answer Horizon File upload fails

lhcheng, Thanks for your response, your suggestion did help fix the issue I was seeing.

2015-05-13 17:47:18 -0500 received badge  Notable Question (source)
2015-05-13 14:34:47 -0500 received badge  Popular Question (source)
2015-05-13 00:24:17 -0500 asked a question Horizon File upload fails

I have been trying to create a dialog to upload a file leveraging the code in the CreateNamespaceForm() class at https://github.com/openstack/horizon/.... However, I noticed via PyCharm debugger that the code does not seem to remember the file that I selected.

2015-01-23 14:25:59 -0500 answered a question HypervisorUnavailable: Connection to the hypervisor is broken on host: compute01

I ran into similar issue and in my case the user (stack) was not added to the libvirtd group. I executed the command "sudo gpasswd -a stack libvirtd" to add the user 'stack' to libvirtd group. I logged out and logged in for the changes to take effect, restarted screen and the issue was resolved. Execute the 'id <user>' command to confirm if the user has been added to libvirtd group.

stack@vish-ubuntu:~$ id stack uid=1001(stack) gid=1001(stack) groups=1001(stack),27(sudo),122(libvirtd)

2014-11-19 16:29:29 -0500 commented answer fwaas create/delete both in pending status

I had a similar issue when installing a vendor firewall plugin. The /var/log/neutron/l3-agent.log usually provides more information on what could have gone wrong.

2014-11-18 05:53:00 -0500 received badge  Famous Question (source)
2014-10-28 16:06:53 -0500 answered a question VirtualInterfaceCreateException: Virtual Interface creation failed

I ran into the same issue on a 3 node (controller, network, compute) icehouse install on physical servers. In my case, the neturon error logs displayed "ERROR neutron.notifiers.nova Failed to notify nova on events: ['status':'completed', 'name':''network-vif-unplugged', 'server_uuid':'u'f4a..']" The above was due to a configuration error in the neutron.conf file in my controller node. My entry for the field "nova_url" was "http://10.0.0.35:8774/v2/v2" instead of "http://10.0.0.35:8774/v2". Took me a couple of days over the weekend to figure this out.

2014-09-29 13:56:28 -0500 received badge  Self-Learner (source)
2014-09-29 13:56:28 -0500 received badge  Teacher (source)
2014-09-26 10:21:40 -0500 commented question Devstack installation fails with error Requirement.parse('six<1.4.0'))

I am having a similar error "Requirements.parse(oslo.utils>=0.3.0)". Were you able to get past your error and how did you resolve it?

2014-09-15 14:45:25 -0500 commented answer Is there any command to check the health of openstack setup and the status of its services?

I have a single node devstack setup and I login into Horizon and navigate to the "Admin->System Panel -> System Info" to look up the status of the different components and their services

2014-09-15 00:37:51 -0500 answered a question Is there any command to check the health of openstack setup and the status of its services?

"keystone service-list" lists all services in service catalog

"nova service-list" displays a list of all running services related to nova component and their status and state.

check out the link http://docs.openstack.org/user-guide/... for other component commands

2014-08-24 21:43:15 -0500 received badge  Notable Question (source)
2014-08-19 17:26:38 -0500 received badge  Popular Question (source)
2014-08-19 06:14:09 -0500 received badge  Famous Question (source)
2014-08-18 20:08:38 -0500 answered a question Seeing error message "Unable to create the network. No tenant is available for allocation" when deploying devstack from icehouse/stable

I was able to finally figure out what I was missing and was able to get a successful run of stack.sh.

Below two entries were missing from my initial local.conf file

TENANT_VLAN_RANGE=901:950

OVS_PHYSICAL_BRIDGE=br-eth1

Find below the contents of the local.conf file that finally worked for me

[[local|localrc]]

ADMIN_PASSWORD=devstack

HOST_IP=10.18.160.76

MYSQL_PASSWORD=${ADMIN_PASSWORD}

RABBIT_PASSWORD=${ADMIN_PASSWORD}

SERVICE_PASSWORD=${ADMIN_PASSWORD}

SERVICE_TOKEN=${ADMIN_PASSWORD}

##Nova

disable_service n-net

##Neutron ML2 with OpenVSwitch enable_service neutron

enable_service q-agt

enable_service q-dhcp

enable_service q-fwaas

enable_service q-l3

enable_service q-lbaas

enable_service q-meta

enable_service q-svc

##Tenant Network

ENABLE_TENANT_VLANS="True"

PHYSICAL_NETWORK="phys1"

TENANT_VLAN_RANGE=901:950

OVS_PHYSICAL_BRIDGE=br-eth1

##Enable logging

LOGDAYS=2

LOGFILE=$DEST/logs/stack.sh.log

VERBOSE=True

LOG_COLOR=True

SCREEN_LOGDIR=$DEST/logs

Disable Cinder

disable_service c-vol

disable_service c-api

disable_service c-sch

disable_service c-bak

2014-08-17 22:35:36 -0500 asked a question What is the ROOTSLEEP configuration parameter in local.conf when installing devstack

I am trying to get an explanation for the different configuration parameters that can be used as part of local.conf when deploying devstack. Could not come across a link that has all the different configuration parameters that can be used in local.conf file. Was curious as to what the ROOTSLEEP configuration parameter is all about.

2014-08-11 12:41:12 -0500 received badge  Student (source)
2014-08-08 12:45:12 -0500 received badge  Notable Question (source)
2014-08-08 09:57:29 -0500 received badge  Notable Question (source)
2014-08-08 00:49:13 -0500 received badge  Popular Question (source)
2014-08-07 15:47:35 -0500 received badge  Editor (source)
2014-08-07 15:46:36 -0500 asked a question Router interface of type "external gateway" displays status as "DOWN"

I followed the instructions (chapter 2 to chapter 7) at http://docs.openstack.org/icehouse/install-guide/install/apt/content/ (http://docs.openstack.org/icehouse/in...) to setup openstack on a single VM. I observed that one of the interfaces on the router shows its status as DOWN. Is this an issue and how do I go about resolving this? NOTE: I am unable to attach a screenshot as I do not have more than 10 karma points yet to upload an image

2014-08-04 22:39:33 -0500 received badge  Popular Question (source)
2014-08-04 11:30:23 -0500 received badge  Enthusiast
2014-08-01 12:35:50 -0500 received badge  Supporter (source)