Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !!!!!!!!!!!!controller node
- [root@oslesctr005 ~]# nova list --host osleskvm010.os.subgroup.mycompany.net --all-tenants
- +----+------+-----------+--------+------------+-------------+----------+
- | ID | Name | Tenant ID | Status | Task State | Power State | Networks |
- +----+------+-----------+--------+------------+-------------+----------+
- +----+------+-----------+--------+------------+-------------+----------+
- [root@oslesctr005 ~]# nova list --host osleskvm080.os.subgroup.mycompany.net --all-tenants
- +--------------------------------------+-------------------+----------------------------------+--------+------------+-------------+----------------------------------------------------+
- | ID | Name | Tenant ID | Status | Task State | Power State | Networks |
- +--------------------------------------+-------------------+----------------------------------+--------+------------+-------------+----------------------------------------------------+
- | a499bcf9-48aa-4f63-be8e-7af927fd8e23 | Test server | 0265d4e22ee242d3b9356fc99833511c | ACTIVE | - | Running | internal-test-net-01=192.168.0.104 |
- | e0fc56e7-84fd-4f82-9c39-9cf3a3fdab4d | centos7-4Ral | 0265d4e22ee242d3b9356fc99833511c | ACTIVE | - | Running | internal-test-net-01=192.168.0.105, 212.128.217.15 |
- | 626f0a19-a62d-4520-beb2-cffb7465d955 | test_instance_080 | 0265d4e22ee242d3b9356fc99833511c | ACTIVE | - | Running | internal-test-net-01=192.168.0.103, 212.128.217.13 |
- +--------------------------------------+-------------------+----------------------------------+--------+------------+-------------+----------------------------------------------------+
- [root@oslesctr005 ~]# nova live-migration --block-migrate 626f0a19-a62d-4520-beb2-cffb7465d955 osleskvm010.os.subgroup.mycompany.net
- [root@oslesctr005 ~]#
- !!!!!!!!!!!!kvm node with running instances
- [root@osleskvm080 ~]# rpm -qa |grep qemu
- qemu-img-1.5.3-105.el7.x86_64
- qemu-kvm-common-1.5.3-105.el7.x86_64
- qemu-kvm-1.5.3-105.el7.x86_64
- libvirt-daemon-driver-qemu-1.2.17-13.el7.x86_64
- ipxe-roms-qemu-20130517-7.gitc4bce43.el7.noarch
- qemu-kvm-tools-1.5.3-105.el7.x86_64
- [root@osleskvm080 ~]# rpm -qa |grep libvi
- libvirt-client-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-interface-1.2.17-13.el7.x86_64
- libvirt-1.2.17-13.el7.x86_64
- libvirt-daemon-config-nwfilter-1.2.17-13.el7.x86_64
- libvirt-daemon-config-network-1.2.17-13.el7.x86_64
- libvirt-daemon-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-secret-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-network-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-storage-1.2.17-13.el7.x86_64
- libvirt-python-1.2.17-2.el7.x86_64
- libvirt-daemon-driver-nodedev-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-qemu-1.2.17-13.el7.x86_64
- libvirt-daemon-kvm-1.2.17-13.el7.x86_64
- libvirt-glib-0.1.9-1.el7.x86_64
- libvirt-daemon-driver-lxc-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-nwfilter-1.2.17-13.el7.x86_64
- [root@osleskvm080 ~]#
- [root@osleskvm080 ~]# netstat -putanv |grep LISTEN
- tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 5927/qemu-kvm
- tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 19447/qemu-kvm
- tcp 0 0 0.0.0.0:5902 0.0.0.0:* LISTEN 9281/qemu-kvm
- tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 2076/dnsmasq
- tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 8908/sshd
- tcp 0 0 192.168.112.92:16509 0.0.0.0:* LISTEN 11667/libvirtd
- tcp6 0 0 :::22 :::* LISTEN 8908/sshd
- [root@osleskvm080 ~]#
- [root@osleskvm080 ~]# cat /etc/sysconfig/libvirtd |grep -vE "^#|^$"
- LIBVIRTD_ARGS="--listen"
- [root@osleskvm080 ~]#
- [root@osleskvm080 ~]# cat /etc/libvirt/libvirtd.conf |grep -vE "^#|^$"
- listen_tls = 0
- listen_tcp = 1
- tcp_port = "16509"
- listen_addr = "192.168.112.92"
- auth_tcp = "none"
- [root@osleskvm080 ~]#
- ###############log when trying to migrate
- 2016-03-07 12:59:39.491 16281 ERROR nova.virt.libvirt.driver [req-a451084f-b02a-4bb4-97c3-e40302b0c1fc d816dec9b7f146778df6536ab7c710c7 1bf2367e235342a585e012b6220cb92d - - -] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] Migration operation has aborted
- 2016-03-07 12:59:39.623 16281 ERROR nova.virt.libvirt.driver [req-a451084f-b02a-4bb4-97c3-e40302b0c1fc d816dec9b7f146778df6536ab7c710c7 1bf2367e235342a585e012b6220cb92d - - -] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] Live Migration failure: internal error: unable to execute QEMU command 'migrate': this feature or command is not currently supported
- 2016-03-07 12:59:43.120 16281 INFO nova.compute.resource_tracker [req-b67b98d5-b503-45f0-9ef3-bcb1c06bddd5 - - - - -] Auditing locally available compute resources for node osleskvm080.os.subgroup.mycompany.net
- 2016-03-07 12:59:43.843 16281 INFO nova.compute.resource_tracker [req-b67b98d5-b503-45f0-9ef3-bcb1c06bddd5 - - - - -] Total usable vcpus: 16, total allocated vcpus: 3
- 2016-03-07 12:59:43.843 16281 INFO nova.compute.resource_tracker [req-b67b98d5-b503-45f0-9ef3-bcb1c06bddd5 - - - - -] Final resource view: name=osleskvm080.os.subgroup.mycompany.net phys_ram=31984MB used_ram=3584MB phys_disk=9GB used_disk=22GB total_vcpus=16 used_vcpus=3 pci_stats=<nova.pci.stats.PciDeviceStats object at 0x4400ed0>
- 2016-03-07 12:59:43.874 16281 INFO nova.scheduler.client.report [req-b67b98d5-b503-45f0-9ef3-bcb1c06bddd5 - - - - -] Compute_service record updated for ('osleskvm080.os.subgroup.mycompany.net', 'osleskvm080.os.subgroup.mycompany.net')
- 2016-03-07 12:59:43.874 16281 INFO nova.compute.resource_tracker [req-b67b98d5-b503-45f0-9ef3-bcb1c06bddd5 - - - - -] Compute_service record updated for osleskvm080.os.subgroup.mycompany.net:osleskvm080.os.subgroup.mycompany.net
- !!!!!!!!!!!!kvm node where I send the instance
- [root@osleskvm010 ~]# rpm -qa |grep qemu
- qemu-img-1.5.3-105.el7.x86_64
- qemu-kvm-common-1.5.3-105.el7.x86_64
- qemu-kvm-1.5.3-105.el7.x86_64
- libvirt-daemon-driver-qemu-1.2.17-13.el7.x86_64
- ipxe-roms-qemu-20130517-7.gitc4bce43.el7.noarch
- qemu-kvm-tools-1.5.3-105.el7.x86_64
- ^[[A[root@osleskvm010 ~]# rpm -qa |grep libvir
- libvirt-client-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-interface-1.2.17-13.el7.x86_64
- libvirt-1.2.17-13.el7.x86_64
- libvirt-daemon-config-nwfilter-1.2.17-13.el7.x86_64
- libvirt-daemon-config-network-1.2.17-13.el7.x86_64
- libvirt-daemon-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-secret-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-network-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-storage-1.2.17-13.el7.x86_64
- libvirt-python-1.2.17-2.el7.x86_64
- libvirt-daemon-driver-nodedev-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-qemu-1.2.17-13.el7.x86_64
- libvirt-daemon-kvm-1.2.17-13.el7.x86_64
- libvirt-glib-0.1.9-1.el7.x86_64
- libvirt-daemon-driver-lxc-1.2.17-13.el7.x86_64
- libvirt-daemon-driver-nwfilter-1.2.17-13.el7.x86_64
- [root@osleskvm010 ~]#
- [root@osleskvm010 ~]# netstat -putanv |grep LISTEN
- tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 2056/dnsmasq
- tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3870/sshd
- tcp 0 0 192.168.112.22:16509 0.0.0.0:* LISTEN 6592/libvirtd
- tcp6 0 0 :::22 :::* LISTEN 3870/sshd
- [root@osleskvm010 ~]#
- [root@osleskvm010 ~]# cat /etc/sysconfig/libvirtd |grep -vE "^#|^$"
- LIBVIRTD_ARGS="--listen"
- [root@osleskvm010 ~]# cat /etc/libvirt/libvirtd.conf |grep -vE "^#|^$"
- listen_tls = 0
- listen_tcp = 1
- tcp_port = "16509"
- listen_addr = "192.168.112.22"
- auth_tcp = "none"
- [root@osleskvm010 ~]#
- ###############log when trying to migrate
- 2016-03-07 12:59:33.185 27578 INFO nova.virt.libvirt.driver [req-a451084f-b02a-4bb4-97c3-e40302b0c1fc d816dec9b7f146778df6536ab7c710c7 1bf2367e235342a585e012b6220cb92d - - -] Instance launched has CPU info: {"vendor": "Intel", "model": "SandyBridge", "arch": "x86_64", "features": ["pge", "avx", "clflush", "sep", "syscall", "vme", "dtes64", "msr", "xsave", "vmx", "xtpr", "cmov", "ssse3", "est", "pat", "monitor", "smx", "pbe", "lm", "tsc", "nx", "fxsr", "tm", "sse4.1", "pae", "sse4.2", "pclmuldq", "acpi", "tsc-deadline", "mmx", "osxsave", "cx8", "mce", "de", "tm2", "ht", "dca", "lahf_lm", "pdcm", "mca", "pdpe1gb", "apic", "sse", "pse", "ds", "invtsc", "pni", "rdtscp", "aes", "sse2", "ss", "ds_cpl", "pcid", "fpu", "cx16", "pse36", "mtrr", "popcnt", "x2apic"], "topology": {"cores": 8, "threads": 1, "sockets": 1}}
- 2016-03-07 12:59:39.396 27578 INFO nova.compute.manager [req-7ed6c475-cf48-47cc-b5d3-d102329434b2 - - - - -] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] VM Started (Lifecycle Event)
- 2016-03-07 12:59:39.541 27578 INFO nova.compute.manager [req-7ed6c475-cf48-47cc-b5d3-d102329434b2 - - - - -] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] During the sync_power process the instance has moved from host osleskvm080.os.subgroup.mycompany.net to host osleskvm010.os.subgroup.mycompany.net
- 2016-03-07 12:59:39.865 27578 INFO nova.virt.libvirt.driver [-] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] During wait destroy, instance disappeared.
- 2016-03-07 12:59:40.492 27578 INFO nova.virt.libvirt.driver [req-a451084f-b02a-4bb4-97c3-e40302b0c1fc d816dec9b7f146778df6536ab7c710c7 1bf2367e235342a585e012b6220cb92d - - -] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] Deleting instance files /var/lib/nova/instances/626f0a19-a62d-4520-beb2-cffb7465d955_del
- 2016-03-07 12:59:40.494 27578 INFO nova.virt.libvirt.driver [req-a451084f-b02a-4bb4-97c3-e40302b0c1fc d816dec9b7f146778df6536ab7c710c7 1bf2367e235342a585e012b6220cb92d - - -] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] Deletion of /var/lib/nova/instances/626f0a19-a62d-4520-beb2-cffb7465d955_del complete
- 2016-03-07 12:59:54.617 27578 INFO nova.compute.manager [-] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] VM Stopped (Lifecycle Event)
- 2016-03-07 12:59:54.755 27578 INFO nova.compute.manager [req-ce1e3e71-b1e0-4773-9a91-13582dc1f888 - - - - -] [instance: 626f0a19-a62d-4520-beb2-cffb7465d955] During the sync_power process the instance has moved from host osleskvm080.os.subgroup.mycompany.net to host osleskvm010.os.subgroup.mycompany.net
- 2016-03-07 13:00:12.783 27578 INFO nova.compute.resource_tracker [req-8f3c2aa2-a5b6-44c3-a447-d48cd56adca2 - - - - -] Auditing locally available compute resources for node osleskvm010.os.subgroup.mycompany.net
- 2016-03-07 13:00:13.116 27578 INFO nova.compute.resource_tracker [req-8f3c2aa2-a5b6-44c3-a447-d48cd56adca2 - - - - -] Total usable vcpus: 16, total allocated vcpus: 0
- 2016-03-07 13:00:13.116 27578 INFO nova.compute.resource_tracker [req-8f3c2aa2-a5b6-44c3-a447-d48cd56adca2 - - - - -] Final resource view: name=osleskvm010.os.subgroup.mycompany.net phys_ram=31984MB used_ram=512MB phys_disk=9GB used_disk=0GB total_vcpus=16 used_vcpus=0 pci_stats=<nova.pci.stats.PciDeviceStats object at 0x4a093d0>
- 2016-03-07 13:00:13.150 27578 INFO nova.scheduler.client.report [req-8f3c2aa2-a5b6-44c3-a447-d48cd56adca2 - - - - -] Compute_service record updated for ('osleskvm010.os.subgroup.mycompany.net', 'osleskvm010.os.subgroup.mycompany.net')
- 2016-03-07 13:00:13.151 27578 INFO nova.compute.resource_tracker [req-8f3c2aa2-a5b6-44c3-a447-d48cd56adca2 - - - - -] Compute_service record updated for osleskvm010.os.subgroup.mycompany.net:osleskvm010.os.subgroup.mycompany.net
- 2016-03-07 13:00:16.845 27578 INFO nova.compute.manager [req-8f3c2aa2-a5b6-44c3-a447-d48cd56adca2 - - - - -] Running instance usage audit for host osleskvm010.os.subgroup.mycompany.net from 2016-03-07 12:00:00 to 2016-03-07 13:00:00. 0 instances.
- !!!!!ssh rsa auth in both directions
- [root@osleskvm080 ~]# ssh osleskvm010.os.subgroup.mycompany.net
- This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.
- Last failed login: Mon Mar 7 12:20:49 WET 2016 from osleskvm080.os.subgroup.mycompany.net on ssh:notty
- There were 3 failed login attempts since the last successful login.
- Last login: Mon Mar 7 12:00:44 2016
- [root@osleskvm010 ~]# ssh osleskvm080.os.subgroup.mycompany.net
- This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.
- Last login: Mon Mar 7 12:36:48 2016 from osleskvm010.os.subgroup.mycompany.net
- [root@osleskvm080 ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement