Virtual Switch UI Showing removed Machines

QNAP NAS solution for server virtualization and clustering/HA/FT
User avatar
razormoon
Easy as a breeze
Posts: 458
Joined: Fri Feb 13, 2015 5:05 am
Model: TVS-x71/x71U
Location: Denver, CO

Re: Virtual Switch UI Showing removed Machines

Postby razormoon » Fri Feb 10, 2017 3:18 am

xavierh wrote:Reinstalled latest version of Virtualizaiton staiton for QTS 4.2.3

Created temporary vms with similar names as the ones showing as ghosts in the network configuration: TURNKEY_OBSERVIUM & Ubuntu_16.04

Deleted the VMs after they were created and they disappeared

Removed virtualization station from the NAS. The virtual switch created by Virtualization station disappeared

Reinstalled QTS 4.2.3 20170121 and rebooted the NAS

still the ghost entries appear


Two things to consider in my above scenario (and I apologize as I forgot to mention them!) was:
    Container Station must be uninstalled as well. It kept the VS switches from truly updating on the Network & Virtual Switch
    Directories must be manually removed after uninstalling VS

I kept getting the "exclamation" icons, disappearing VMs on overview screen when VM runs and oddly enough vswitch.conf would edit itself if any VM was running. (I don't get it!!)
vswitch.conf looked fine if nothing was running and as soon as I started any VM, vswitch.conf settings would be blank. Turn VM off and vswitch.conf was fine again. Uninstalling Container Station fixed this.

I used WinSCP to visually inspect the NAS directories. After uninstalling, I searched (and deleted) anything QKVM. You'll need to find these yourself as I can't remember from the top of my head where they were.
:!: TVS-871-i7-16G 4.3.3.0136 Build 20170228, KODI, WSE 2012 r2, pfSense
:?: 1 x KINGSTON SNV325S2 as 2mb block cache, WDC WD40EFRX as RAID5, 1 x WDC WD40EFRX as iSCSI
:arrow: pfSense 2.3.3 (PPPoE), snort, pfBlockerNG, PIA OpenVPN client and server
:idea: CyberPower 1500VA
:-0 WIKI SUPPORT

"Nothing is impossible. Only expensive, illegal or both."

xavierh
Been there, done that
Posts: 923
Joined: Wed Jan 30, 2008 6:15 am
Model: TS-253A/453A/653A/853A
Location: Denton, Texas

Re: Virtual Switch UI Showing removed Machines

Postby xavierh » Fri Feb 10, 2017 4:05 am

razormoon wrote:
xavierh wrote:Reinstalled latest version of Virtualizaiton staiton for QTS 4.2.3

Created temporary vms with similar names as the ones showing as ghosts in the network configuration: TURNKEY_OBSERVIUM & Ubuntu_16.04

Deleted the VMs after they were created and they disappeared

Removed virtualization station from the NAS. The virtual switch created by Virtualization station disappeared

Reinstalled QTS 4.2.3 20170121 and rebooted the NAS

still the ghost entries appear


Two things to consider in my above scenario (and I apologize as I forgot to mention them!) was:
    Container Station must be uninstalled as well. It kept the VS switches from truly updating on the Network & Virtual Switch
    Directories must be manually removed after uninstalling VS

I kept getting the "exclamation" icons, disappearing VMs on overview screen when VM runs and oddly enough vswitch.conf would edit itself if any VM was running. (I don't get it!!)
vswitch.conf looked fine if nothing was running and as soon as I started any VM, vswitch.conf settings would be blank. Turn VM off and vswitch.conf was fine again. Uninstalling Container Station fixed this.

I used WinSCP to visually inspect the NAS directories. After uninstalling, I searched (and deleted) anything QKVM. You'll need to find these yourself as I can't remember from the top of my head where they were.



I have seen the same behavior and yes i agree that something is left behind. at this point i am moving all the apps that i have installed as PKGs into containers before i blow up this ** and start for scratch. i will continue to check this until the time to do the "operation"

QNAP TS-453A Firmware QTS 4.3.3.0154 build 20170413 WD WD30EFRX (Red) 3TB x 4 (RAID 5) Services: SMB, Appletalk, QPKG: Container Station,QTransmission, Plex, Hybrid Backup Sync
QNAP TS-219P II Firmware QTS 4.3.3.0154 build 20170413 Services: SMB, Appletalk, QPKG: Surveillance Station

Apple IMAC 10.9 GHz Intel Core I3, 8GB 1333 MHz DDR3
Apple IPAD LTE 64GB
Apple iPhone 6 Plus
Apple TV 4th Gen
Apple TV 3rd Gen
Roku Premiere+
Unifi Gateway & Access Point
PS4

xavierh
Been there, done that
Posts: 923
Joined: Wed Jan 30, 2008 6:15 am
Model: TS-253A/453A/653A/853A
Location: Denton, Texas

Re: Virtual Switch UI Showing removed Machines

Postby xavierh » Fri Feb 10, 2017 4:36 am

razormoon wrote:
xavierh wrote:Reinstalled latest version of Virtualizaiton staiton for QTS 4.2.3

Created temporary vms with similar names as the ones showing as ghosts in the network configuration: TURNKEY_OBSERVIUM & Ubuntu_16.04

Deleted the VMs after they were created and they disappeared

Removed virtualization station from the NAS. The virtual switch created by Virtualization station disappeared

Reinstalled QTS 4.2.3 20170121 and rebooted the NAS

still the ghost entries appear


Two things to consider in my above scenario (and I apologize as I forgot to mention them!) was:
    Container Station must be uninstalled as well. It kept the VS switches from truly updating on the Network & Virtual Switch
    Directories must be manually removed after uninstalling VS

I kept getting the "exclamation" icons, disappearing VMs on overview screen when VM runs and oddly enough vswitch.conf would edit itself if any VM was running. (I don't get it!!)
vswitch.conf looked fine if nothing was running and as soon as I started any VM, vswitch.conf settings would be blank. Turn VM off and vswitch.conf was fine again. Uninstalling Container Station fixed this.

I used WinSCP to visually inspect the NAS directories. After uninstalling, I searched (and deleted) anything QKVM. You'll need to find these yourself as I can't remember from the top of my head where they were.



these are the only 2 directories

/share/CACHEDEV2_DATA/.QKVM
/share/CACHEDEV2_DATA/.qpkg/.QKVM

that i have found on my system

QNAP TS-453A Firmware QTS 4.3.3.0154 build 20170413 WD WD30EFRX (Red) 3TB x 4 (RAID 5) Services: SMB, Appletalk, QPKG: Container Station,QTransmission, Plex, Hybrid Backup Sync
QNAP TS-219P II Firmware QTS 4.3.3.0154 build 20170413 Services: SMB, Appletalk, QPKG: Surveillance Station

Apple IMAC 10.9 GHz Intel Core I3, 8GB 1333 MHz DDR3
Apple IPAD LTE 64GB
Apple iPhone 6 Plus
Apple TV 4th Gen
Apple TV 3rd Gen
Roku Premiere+
Unifi Gateway & Access Point
PS4

User avatar
razormoon
Easy as a breeze
Posts: 458
Joined: Fri Feb 13, 2015 5:05 am
Model: TVS-x71/x71U
Location: Denver, CO

Re: Virtual Switch UI Showing removed Machines

Postby razormoon » Sun Feb 12, 2017 8:14 am

Did you try? Did it work?
:!: TVS-871-i7-16G 4.3.3.0136 Build 20170228, KODI, WSE 2012 r2, pfSense
:?: 1 x KINGSTON SNV325S2 as 2mb block cache, WDC WD40EFRX as RAID5, 1 x WDC WD40EFRX as iSCSI
:arrow: pfSense 2.3.3 (PPPoE), snort, pfBlockerNG, PIA OpenVPN client and server
:idea: CyberPower 1500VA
:-0 WIKI SUPPORT

"Nothing is impossible. Only expensive, illegal or both."

xavierh
Been there, done that
Posts: 923
Joined: Wed Jan 30, 2008 6:15 am
Model: TS-253A/453A/653A/853A
Location: Denton, Texas

Re: Virtual Switch UI Showing removed Machines

Postby xavierh » Sun Feb 12, 2017 10:09 pm

razormoon wrote:Did you try? Did it work?


Nope, delete them rebooted and still they appear. I did open a call with support and they asked me if i had a backup of my system. At this point, that's the road I will take:

Backup the while system, blow up the nas and reconfigure it

QNAP TS-453A Firmware QTS 4.3.3.0154 build 20170413 WD WD30EFRX (Red) 3TB x 4 (RAID 5) Services: SMB, Appletalk, QPKG: Container Station,QTransmission, Plex, Hybrid Backup Sync
QNAP TS-219P II Firmware QTS 4.3.3.0154 build 20170413 Services: SMB, Appletalk, QPKG: Surveillance Station

Apple IMAC 10.9 GHz Intel Core I3, 8GB 1333 MHz DDR3
Apple IPAD LTE 64GB
Apple iPhone 6 Plus
Apple TV 4th Gen
Apple TV 3rd Gen
Roku Premiere+
Unifi Gateway & Access Point
PS4

xavierh
Been there, done that
Posts: 923
Joined: Wed Jan 30, 2008 6:15 am
Model: TS-253A/453A/653A/853A
Location: Denton, Texas

Re: Virtual Switch UI Showing removed Machines

Postby xavierh » Fri Feb 17, 2017 2:50 am

At the end, I reformat de nas installed 4.3.2 beta firmware and was done with the whole thing (no more ghost entries


Sent from my iPhone using Tapatalk Pro

QNAP TS-453A Firmware QTS 4.3.3.0154 build 20170413 WD WD30EFRX (Red) 3TB x 4 (RAID 5) Services: SMB, Appletalk, QPKG: Container Station,QTransmission, Plex, Hybrid Backup Sync
QNAP TS-219P II Firmware QTS 4.3.3.0154 build 20170413 Services: SMB, Appletalk, QPKG: Surveillance Station

Apple IMAC 10.9 GHz Intel Core I3, 8GB 1333 MHz DDR3
Apple IPAD LTE 64GB
Apple iPhone 6 Plus
Apple TV 4th Gen
Apple TV 3rd Gen
Roku Premiere+
Unifi Gateway & Access Point
PS4

User avatar
ratgurrl
Starting out
Posts: 29
Joined: Wed Jul 29, 2015 2:29 am
Model: TS-x53/x53S/453mini
Location: Chicago

Re: Virtual Switch UI Showing removed Machines

Postby ratgurrl » Fri Mar 03, 2017 11:44 am

razormoon wrote:
I replaced netmgr with QKVM (Disabled) while no VMs were running then simply restarted the NAS.



This method worked for me, as well. I had a couple mystery Virtual Switches that were assigned to Container Station which I was not able to remove. I stopped Virtualization Station, and Container Station, then modified the /mnt/HDA_ROOT/.config/vswitch.conf file, rebooted the NAS, and all is better in the world.

Thanks @razormoon
TS-453 Pro + 16GB RAM + 4 x 4TB Seagate NAS HDD (Raid 1+0)
Firmware Version: 4.3.3 Build: 20170216
Apps: Web Server (PHP, MariaDB) | Plex | QKVM | CrashPlan | COPS | Container Station (ddclient, Crashplan)
Network: Arris SB6141 => WatchGuard T10 => Netgear GS108 => Netgear R6250 (bridged)

enclaved
First post
Posts: 1
Joined: Wed Dec 17, 2014 2:08 pm
Model: TS-x51/x51+/451S

Re: Virtual Switch UI Showing removed Machines

Postby enclaved » Mon Apr 17, 2017 8:38 pm

I was able to get rid of the ghost vm adapters by recreating the vms with the same name, suspending and resuming them. Deleting the network card out of the hardware section and then removing the VMs. After rebooting the phantom entries did not come back.

makar1
First post
Posts: 1
Joined: Sat May 21, 2016 12:21 am
Model: TS-x51/x51+/451S

Re: Virtual Switch UI Showing removed Machines

Postby makar1 » Fri Apr 21, 2017 2:40 am

Hi guys
for me helped little command that reset nas network settings:

Code: Select all

sudo /etc/init.d/netmgr.sh reset_all_settings_to_default

this removed all ghost adapters too
before I reset network settings, I uninstalled VS


Return to “Server Virtualization & Clustering”

Who is online

Users browsing this forum: No registered users and 2 guests