test_device_tagging tempest test fails with "mount: mounting /dev/sr0 on /mnt failed: Device or resource busy"

Bug #1695394 reported by Ihar Hrachyshka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Undecided
Unassigned
tempest
Expired
Undecided
Unassigned

Bug Description

http://logs.openstack.org/56/468056/4/check/gate-tempest-dsvm-neutron-full-ubuntu-xenial/271b8fb/console.html

2017-06-02 15:20:49.385605 | Traceback (most recent call last):
2017-06-02 15:20:49.385655 | File "tempest/test.py", line 96, in wrapper
2017-06-02 15:20:49.385691 | return f(self, *func_args, **func_kwargs)
2017-06-02 15:20:49.385744 | File "tempest/api/compute/servers/test_device_tagging.py", line 267, in test_device_tagging
2017-06-02 15:20:49.385789 | self.ssh_client.exec_command('sudo mount %s /mnt' % dev_name)
2017-06-02 15:20:49.385837 | File "tempest/lib/common/utils/linux/remote_client.py", line 30, in wrapper
2017-06-02 15:20:49.385874 | return function(self, *args, **kwargs)
2017-06-02 15:20:49.385925 | File "tempest/lib/common/utils/linux/remote_client.py", line 96, in exec_command
2017-06-02 15:20:49.385973 | return self.ssh_client.exec_command(cmd)
2017-06-02 15:20:49.386016 | File "tempest/lib/common/ssh.py", line 202, in exec_command
2017-06-02 15:20:49.386047 | stderr=err_data, stdout=out_data)
2017-06-02 15:20:49.386170 | tempest.lib.exceptions.SSHExecCommandFailed: Command 'set -eu -o pipefail; PATH=$PATH:/sbin; sudo mount /dev/sr0 /mnt', exit status: 255, stderr:
2017-06-02 15:20:49.386221 | mount: mounting /dev/sr0 on /mnt failed: Device or resource busy

This is Pike code.

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

This doesn't appear to have anything to do with Cinder.

no longer affects: cinder
Revision history for this message
Sean Dague (sdague) wrote :

Automatically discovered version pike in description. If this is incorrect, please update the description to include 'nova version: ...'

tags: added: openstack-version.pike
Revision history for this message
Sean Dague (sdague) wrote :

Is this a timing concern on tempest where it is asking for the mount too soon?

Changed in nova:
status: New → Incomplete
Revision history for this message
chandan kumar (chkumar246) wrote :

@Ihar, Please update this bug.

Changed in tempest:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tempest because there has been no activity for 60 days.]

Changed in tempest:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.