Trove instance create fail when filesystem is xfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trove Integration |
New
|
Undecided
|
Unassigned |
Bug Description
log:
2023-07-18 07:36:51.961 1046 CRITICAL root [-] Unhandled error: oslo_concurrenc
Command: sudo xfs_admin -l /dev/vdb
Exit code: 1
Stdout: ''
Stderr: 'xfs_admin: /dev/vdb is not a valid XFS filesystem (unexpected SB magic number 0x00000000)\nUse -F to force a read attempt.\n'
2023-07-18 07:36:51.961 1046 ERROR root Traceback (most recent call last):
2023-07-18 07:36:51.961 1046 ERROR root File "/usr/local/
2023-07-18 07:36:51.961 1046 ERROR root sys.exit(main())
2023-07-18 07:36:51.961 1046 ERROR root File "/opt/guest-
2023-07-18 07:36:51.961 1046 ERROR root device.format()
2023-07-18 07:36:51.961 1046 ERROR root File "/opt/guest-
2023-07-18 07:36:51.961 1046 ERROR root self._check_
2023-07-18 07:36:51.961 1046 ERROR root File "/opt/guest-
2023-07-18 07:36:51.961 1046 ERROR root self.volume_
2023-07-18 07:36:51.961 1046 ERROR root File "/opt/guest-
2023-07-18 07:36:51.961 1046 ERROR root stdout, stderr = utils.execute(
2023-07-18 07:36:51.961 1046 ERROR root File "/opt/guest-
2023-07-18 07:36:51.961 1046 ERROR root raise ProcessExecutio
2023-07-18 07:36:51.961 1046 ERROR root oslo_concurrenc
2023-07-18 07:36:51.961 1046 ERROR root Command: sudo xfs_admin -l /dev/vdb
2023-07-18 07:36:51.961 1046 ERROR root Exit code: 1
2023-07-18 07:36:51.961 1046 ERROR root Stdout: ''
2023-07-18 07:36:51.961 1046 ERROR root Stderr: 'xfs_admin: /dev/vdb is not a valid XFS filesystem (unexpected SB magic number 0x00000000)\nUse -F to force a read attempt.\n'
2023-07-18 07:36:51.961 1046 ERROR root
2023-07-18 07:37:01.192 1067 INFO trove.cmd.guest [-] Creating user and group for database service
2023-07-18 07:37:01.197 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:01.568 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:01.573 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:01.577 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:01.927 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:01.949 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:01.967 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:02.097 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:02.102 1067 INFO trove.cmd.guest [-] Preparing the storage for /dev/vdb, mount path /var/lib/mysql
2023-07-18 07:37:02.105 1067 DEBUG trove.guestagen
2023-07-18 07:37:02.108 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:02.392 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:02.397 1067 DEBUG trove.guestagen
2023-07-18 07:37:02.400 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:02.747 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:02.752 1067 DEBUG oslo_concurrenc
2023-07-18 07:37:02.755 1067 CRITICAL root [-] Unhandled error: oslo_concurrenc
Command: sudo xfs_admin -l /dev/vdb
Exit code: 1
Stdout: ''
Stderr: 'xfs_admin: /dev/vdb is not a valid XFS filesystem (unexpected SB magic number 0x00000000)\nUse -F to force a read attempt.\n'
2023-07-18 07:37:02.755 1067 ERROR root Traceback (most recent call last):
2023-07-18 07:37:02.755 1067 ERROR root File "/usr/local/
2023-07-18 07:37:02.755 1067 ERROR root sys.exit(main())
2023-07-18 07:37:02.755 1067 ERROR root File "/opt/guest-
2023-07-18 07:37:02.755 1067 ERROR root device.format()
2023-07-18 07:37:02.755 1067 ERROR root File "/opt/guest-
2023-07-18 07:37:02.755 1067 ERROR root self._check_
2023-07-18 07:37:02.755 1067 ERROR root File "/opt/guest-
2023-07-18 07:37:02.755 1067 ERROR root self.volume_
2023-07-18 07:37:02.755 1067 ERROR root File "/opt/guest-
2023-07-18 07:37:02.755 1067 ERROR root stdout, stderr = utils.execute(
2023-07-18 07:37:02.755 1067 ERROR root File "/opt/guest-
2023-07-18 07:37:02.755 1067 ERROR root raise ProcessExecutio
2023-07-18 07:37:02.755 1067 ERROR root oslo_concurrenc
2023-07-18 07:37:02.755 1067 ERROR root Command: sudo xfs_admin -l /dev/vdb
2023-07-18 07:37:02.755 1067 ERROR root Exit code: 1
2023-07-18 07:37:02.755 1067 ERROR root Stdout: ''
2023-07-18 07:37:02.755 1067 ERROR root Stderr: 'xfs_admin: /dev/vdb is not a valid XFS filesystem (unexpected SB magic number 0x00000000)\nUse -F to force a read attempt.\n'
2023-07-18 07:37:02.755 1067 ERROR root
2023-07-18 07:37:12.848 1089 INFO trove.cmd.guest [-] Creating user and group for database service
2023-07-18 07:37:12.854 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.176 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.182 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.186 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.508 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.512 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.519 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.652 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.656 1089 INFO trove.cmd.guest [-] Preparing the storage for /dev/vdb, mount path /var/lib/mysql
2023-07-18 07:37:13.659 1089 DEBUG trove.guestagen
2023-07-18 07:37:13.662 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.972 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:13.977 1089 DEBUG trove.guestagen
2023-07-18 07:37:13.980 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:14.341 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:14.345 1089 DEBUG oslo_concurrenc
2023-07-18 07:37:14.348 1089 CRITICAL root [-] Unhandled error: oslo_concurrenc
Command: sudo xfs_admin -l /dev/vdb
Exit code: 1
Stdout: ''
Stderr: 'xfs_admin: /dev/vdb is not a valid XFS filesystem (unexpected SB magic number 0x00000000)\nUse -F to force a read attempt.\n'
2023-07-18 07:37:14.348 1089 ERROR root Traceback (most recent call last):
2023-07-18 07:37:14.348 1089 ERROR root File "/usr/local/
2023-07-18 07:37:14.348 1089 ERROR root sys.exit(main())
2023-07-18 07:37:14.348 1089 ERROR root File "/opt/guest-
2023-07-18 07:37:14.348 1089 ERROR root device.format()
2023-07-18 07:37:14.348 1089 ERROR root File "/opt/guest-
2023-07-18 07:37:14.348 1089 ERROR root self._check_
2023-07-18 07:37:14.348 1089 ERROR root File "/opt/guest-
2023-07-18 07:37:14.348 1089 ERROR root self.volume_
2023-07-18 07:37:14.348 1089 ERROR root File "/opt/guest-
2023-07-18 07:37:14.348 1089 ERROR root stdout, stderr = utils.execute(
2023-07-18 07:37:14.348 1089 ERROR root File "/opt/guest-
2023-07-18 07:37:14.348 1089 ERROR root raise ProcessExecutio
2023-07-18 07:37:14.348 1089 ERROR root oslo_concurrenc
2023-07-18 07:37:14.348 1089 ERROR root Command: sudo xfs_admin -l /dev/vdb
2023-07-18 07:37:14.348 1089 ERROR root Exit code: 1
2023-07-18 07:37:14.348 1089 ERROR root Stdout: ''
2023-07-18 07:37:14.348 1089 ERROR root Stderr: 'xfs_admin: /dev/vdb is not a valid XFS filesystem (unexpected SB magic number 0x00000000)\nUse -F to force a read attempt.\n'
2023-07-18 07:37:14.348 1089 ERROR root