This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set autoindent shiftwidth=4 expandtab tabstop=4 | |
| execute pathogen#infect() | |
| syntax on | |
| filetype plugin indent on | |
| nmap :nerdtt :NERDTreeToggle<CR> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Use folowing steps to repackage dep package: | |
| 1: Extract deb package | |
| # dpkg-deb -x <package.deb> <dir> | |
| 2: Extract control-information from a package | |
| # dpkg-deb -e <package.deb> <dir/DEBIAN> | |
| 3. After completed to make changes to the package, repack the deb | |
| # dpkg-deb -b <dir> <new-package.deb> |
The following works with Neutron VLAN provider networks, and requires configuration on the physical switches. Multicast works on br-int because the ML2 OVS driver/agent uses OVS in standalone mode (no external controller). The packets on br-int hit the NORMAL flow action, and so get treated by the ovs-vswitchd code that does IGMP snooping (when enabled). All IGMP packets are sent to the slow path (userspace ovs-vswitchd).
The following will not work on Neutron tunnel backed networks (VxLAN, GRE), as the neutron-openvswitch-agent hardcodes flows on br-tun that treats multicast the same as broadcasts and the NORMAL action is not used.
+----------------------------+ +----------------------------+
| +----+ +----+ | | +----+ +----+ |
| | VM | | VM | | | | VM | | VM | |
| +-+--+ +--+-+ | | +-+--+ +--+-+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ISO_FILE ?= ubuntu.iso | |
| VM_NAME ?= vm06 | |
| PATH_TO_HDD ?= $(PWD)/$(VM_NAME).qcow2 | |
| .PHONY: mkiso | |
| run: $(VM_NAME).qcow2 | |
| /usr/bin/qemu-system-x86_64 \ | |
| -m 1024 \ | |
| -vnc 0.0.0.0:41 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| iflist.c : retrieve network interface information thru netlink sockets | |
| (c) Jean Lorchat @ Internet Initiative Japan - Innovation Institute | |
| v1.0 : initial version - Feb 19th 2010 | |
| This file was obtained at the following address : | |
| http://www.iijlab.net/~jean/iflist.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| iflist.c : retrieve network interface information thru netlink sockets | |
| (c) Jean Lorchat @ Internet Initiative Japan - Innovation Institute | |
| v1.0 : initial version - Feb 19th 2010 | |
| This file was obtained at the following address : | |
| http://www.iijlab.net/~jean/iflist.c |
6ee73781-6d8c-40f7-b953-ecf30f4a3309] Failed to build and run instance: libvirt.libvirtError: internal error: Process exited prior to exec: libvirt: error : Unable to move /dev/termination-log mount to /run/libvirt/qemu/631-instance-0000c3a2.termination-log: Permission denied
2021-03-17 04:19:59.124 1255432 ERROR nova.compute.manager [instance: 6ee73781-6d8c-40f7-b953-ecf30f4a3309] Traceback (most recent call last):
2021-03-17 04:19:59.124 1255432 ERROR nova.compute.manager [instance: 6ee73781-6d8c-40f7-b953-ecf30f4a3309] File "/var/lib/openstack/lib/python3.8/site-packages/nova/compute/manager.py", line 2394, in _build_and_run_instance
2021-03-17 04:19:59.124 1255432 ERROR nova.compute.manager [instance: 6ee73781-6d8c-40f7-b953-ecf30f4a3309] self.driver.spawn(context, instance, image_meta,
2021-03-17 04:19:59.124 1255432 ERROR nova.compute.manager [instance: 6ee73781-6d8c-40f7-b953-ecf30f4a3309] File "/var/lib/openstack/lib/python3.8/site-packages/nova/virt/libvirt/driver.py", line 3753, in s