Comments (11)
Detected I/O inside the event loop is not related, thats just connectivity check inside config flow.
You are getting a crash during physical disk detection. Can you debug it?
from homeassistant-openmediavault.
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.178.71 query response: {'response': [{'devicename': 'mmcblk0', 'canonicaldevicefile': '/dev/mmcblk0', 'devicefile': '/dev/disk/by-id/mmc-SD32G_0x88a0e8a5', 'devicelinks': ['/dev/disk/by-id/mmc-SD32G_0x88a0e8a5', '/dev/disk/by-path/platform-fe340000.emmc2'], 'model': '', 'size': '31104958464', 'description': 'n/a [/dev/mmcblk0, 28.96 GiB]', 'vendor': '', 'serialnumber': '', 'israid': False, 'isroot': False}, {'devicename': 'sda', 'canonicaldevicefile': '/dev/sda', 'devicefile': '/dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N6TEKSHU', 'devicelinks': ['/dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N6TEKSHU', '/dev/disk/by-id/wwn-0x50014ee2b6c6ebef', '/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0'], 'model': 'EFRX-68EUZN0', 'size': '3000592982016', 'description': 'EFRX-68EUZN0 [/dev/sda, 2.72 TiB]', 'vendor': 'WDC WD30', 'serialnumber': 'WD-WCC4N6TEKSHU', 'israid': False, 'isroot': False}, {'devicename': 'sdb', 'canonicaldevicefile': '/dev/sdb', 'devicefile': '/dev/disk/by-id/usb-KingDian_S400_120GB_000000123AE3-0:0', 'devicelinks': ['/dev/disk/by-id/usb-KingDian_S400_120GB_000000123AE3-0:0', '/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2:1.0-scsi-0:0:0:0'], 'model': 'S400 120GB', 'size': '120034123776', 'description': 'S400 120GB [/dev/sdb, 111.79 GiB]', 'vendor': 'KingDian', 'serialnumber': '000000123AE3', 'israid': False, 'isroot': True}], 'error': None}
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.helper] Processing source [{'devicename': 'mmcblk0', 'canonicaldevicefile': '/dev/mmcblk0', 'devicefile': '/dev/disk/by-id/mmc-SD32G_0x88a0e8a5', 'devicelinks': ['/dev/disk/by-id/mmc-SD32G_0x88a0e8a5', '/dev/disk/by-path/platform-fe340000.emmc2'], 'model': '', 'size': '31104958464', 'description': 'n/a [/dev/mmcblk0, 28.96 GiB]', 'vendor': '', 'serialnumber': '', 'israid': False, 'isroot': False}, {'devicename': 'sda', 'canonicaldevicefile': '/dev/sda', 'devicefile': '/dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N6TEKSHU', 'devicelinks': ['/dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N6TEKSHU', '/dev/disk/by-id/wwn-0x50014ee2b6c6ebef', '/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0'], 'model': 'EFRX-68EUZN0', 'size': '3000592982016', 'description': 'EFRX-68EUZN0 [/dev/sda, 2.72 TiB]', 'vendor': 'WDC WD30', 'serialnumber': 'WD-WCC4N6TEKSHU', 'israid': False, 'isroot': False}, {'devicename': 'sdb', 'canonicaldevicefile': '/dev/sdb', 'devicefile': '/dev/disk/by-id/usb-KingDian_S400_120GB_000000123AE3-0:0', 'devicelinks': ['/dev/disk/by-id/usb-KingDian_S400_120GB_000000123AE3-0:0', '/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2:1.0-scsi-0:0:0:0'], 'model': 'S400 120GB', 'size': '120034123776', 'description': 'S400 120GB [/dev/sdb, 111.79 GiB]', 'vendor': 'KingDian', 'serialnumber': '000000123AE3', 'israid': False, 'isroot': True}]
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.helper] Processing entry {'devicename': 'mmcblk0', 'canonicaldevicefile': '/dev/mmcblk0', 'devicefile': '/dev/disk/by-id/mmc-SD32G_0x88a0e8a5', 'devicelinks': ['/dev/disk/by-id/mmc-SD32G_0x88a0e8a5', '/dev/disk/by-path/platform-fe340000.emmc2'], 'model': '', 'size': '31104958464', 'description': 'n/a [/dev/mmcblk0, 28.96 GiB]', 'vendor': '', 'serialnumber': '', 'israid': False, 'isroot': False}
2020-05-11 14:53:02 INFO (SyncWorker_0) [homeassistant.loader] Loaded climate from homeassistant.components.climate
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.helper] Processing entry {'devicename': 'sda', 'canonicaldevicefile': '/dev/sda', 'devicefile': '/dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N6TEKSHU', 'devicelinks': ['/dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N6TEKSHU', '/dev/disk/by-id/wwn-0x50014ee2b6c6ebef', '/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0-scsi-0:0:0:0'], 'model': 'EFRX-68EUZN0', 'size': '3000592982016', 'description': 'EFRX-68EUZN0 [/dev/sda, 2.72 TiB]', 'vendor': 'WDC WD30', 'serialnumber': 'WD-WCC4N6TEKSHU', 'israid': False, 'isroot': False}
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.helper] Processing entry {'devicename': 'sdb', 'canonicaldevicefile': '/dev/sdb', 'devicefile': '/dev/disk/by-id/usb-KingDian_S400_120GB_000000123AE3-0:0', 'devicelinks': ['/dev/disk/by-id/usb-KingDian_S400_120GB_000000123AE3-0:0', '/dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:2:1.0-scsi-0:0:0:0'], 'model': 'S400 120GB', 'size': '120034123776', 'description': 'S400 120GB [/dev/sdb, 111.79 GiB]', 'vendor': 'KingDian', 'serialnumber': '000000123AE3', 'israid': False, 'isroot': True}
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.178.71 query: Smart, getInformation, {'devicefile': '/dev/mmcblk0'}, {'updatelastaccess': False}
2020-05-11 14:53:02 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.omv_api] OpenMediaVault 192.168.178.71 query response: {'response': None, 'error': {'code': 0, 'message': "Device '/dev/mmcblk0' does not support S.M.A.R.T.", 'trace': "OMV\AssertException: Device '/dev/mmcblk0' does not support S.M.A.R.T. in /usr/share/php/openmediavault/system/storage/storagedevice.inc:214\nStack trace:\n#0 /usr/share/openmediavault/engined/rpc/smart.inc(423): OMV\System\Storage\StorageDevice->assertHasSmartSupport()\n#1 [internal function]: Engined\Rpc\Smart->getInformation(Array, Array)\n#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)\n#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getInformation', Array, Array)\n#4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Smart', 'getInformation', Array, Array, 1)\n#5 {main}"}}
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.helper] Processing source [None]
2020-05-11 14:53:02 DEBUG (SyncWorker_13) [custom_components.openmediavault.helper] Processing entry None
from homeassistant-openmediavault.
I see, there is an MMC card which is causing issues. I should have a reader and a card somewhere, so it should not be a problem to fix.
from homeassistant-openmediavault.
So, I was not able to able to reproduce on my server by connecting a card reader with a card.
I managed to get old pi2, so I should be able to replicate the issue now and solve it soon.
from homeassistant-openmediavault.
So, I was not able to able to reproduce on my server by connecting a card reader with a card.
I managed to get old pi2, so I should be able to replicate the issue now and solve it soon.
Cool let me know if you need any other info! :)
from homeassistant-openmediavault.
Installation took 2 hours on poor pi2, but I finally got this error reproduced. So all good.
from homeassistant-openmediavault.
That was a simple fix once I got it reproduced.
Fix released in v1.1.1
from homeassistant-openmediavault.
Looks like the last update fixed it:
Nice work!
from homeassistant-openmediavault.
perfect.
are those internal 1 and internal 2 correct names?
from homeassistant-openmediavault.
perfect.
are those internal 1 and internal 2 correct names?
Correct. Although I use a slightly more readable display name for the HA gauge card, here's the Labels list from OMV directly:
from homeassistant-openmediavault.
Thats perfectly fine then, I just wanted to make sure :)
from homeassistant-openmediavault.
Related Issues (20)
- [Bug] OMV 6.7 has modified the cpu load, which cannot be displayed now HOT 8
- After upgrade of Home Assistant Core to latest version integration stopped working HOT 15
- CPU stuck at 0% on 1.4.2 update version HOT 1
- [Bug] All multiple OMV instances share the Services device, giving errors HOT 1
- [Bug] Entity names are generic, do not match device overview page. HOT 4
- [Bug] OMV Integration gives "Unknown error occurred" when trying to add the integration after instalation. HA 23.11 + OMV6 HOT 3
- [Bug] Error 500 on SMART attributes HOT 16
- [Feature] Enable configuration of port of the webgui HOT 3
- [Bug] - CPU load and System wlanRX and TX doesn't have data HOT 8
- Change the way the Disk sensors are created in HA [Feature] HOT 6
- Sensors not working with SMART enabled [Bug] HOT 15
- [Bug] Cannot add OMV integration. Error! HOT 5
- [Lokalise] Add new translations language HOT 2
- [Bug]Doesn't work with OMV in NanoPC T6 (FriendlyElec) HOT 11
- [Bug] Entities unavailable HOT 10
- [Bug] HA integration is not working with OMV 7 HOT 14
- Prevents disk spindown on Raspberry Pi 4.
- Prevents disk spindown on Raspberyy Pi 4 HOT 8
- [Bug] Integration fails with error "OpenMediaVault <my_omv_ip> unable to fetch data (500)"; my OMV compose is installed and functional but not in use HOT 7
- New version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-openmediavault.