Created
October 20, 2013 15:33
-
-
Save hagix9/7071145 to your computer and use it in GitHub Desktop.
Cinderのボリュームをインスタンスに接続させるとAppArmorがDENIED
sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/
sudo ln -s /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd
sudo apparmor_parser -R /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper
sudo service apparmor r…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oct 21 00:29:11 stack01 iscsid: iSCSI logger with pid=29419 started! | |
Oct 21 00:29:11 stack01 kernel: [ 1381.688611] Loading iSCSI transport class v2.0-870. | |
Oct 21 00:29:12 stack01 iscsid: iSCSI daemon with pid=29420 started! | |
Oct 21 00:29:13 stack01 kernel: [ 1382.999501] iscsi: registered transport (tcp) | |
Oct 21 00:29:13 stack01 kernel: [ 1383.256022] scsi2 : iSCSI Initiator over TCP/IP | |
Oct 21 00:29:13 stack01 kernel: [ 1383.762305] scsi 2:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5 | |
Oct 21 00:29:13 stack01 kernel: [ 1383.763668] scsi 2:0:0:0: Attached scsi generic sg0 type 12 | |
Oct 21 00:29:13 stack01 kernel: [ 1383.764556] scsi 2:0:0:1: Direct-Access IET VIRTUAL-DISK 0001 PQ: 0 ANSI: 5 | |
Oct 21 00:29:13 stack01 kernel: [ 1383.764771] sd 2:0:0:1: [sda] 2097152 512-byte logical blocks: (1.07 GB/1.00 GiB) | |
Oct 21 00:29:13 stack01 kernel: [ 1383.764905] sd 2:0:0:1: [sda] Write Protect is off | |
Oct 21 00:29:13 stack01 kernel: [ 1383.764907] sd 2:0:0:1: [sda] Mode Sense: 69 00 00 08 | |
Oct 21 00:29:13 stack01 kernel: [ 1383.764962] sd 2:0:0:1: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA | |
Oct 21 00:29:13 stack01 kernel: [ 1383.767528] sd 2:0:0:1: Attached scsi generic sg1 type 0 | |
Oct 21 00:29:13 stack01 kernel: [ 1383.771538] sda: unknown partition table | |
Oct 21 00:29:13 stack01 kernel: [ 1383.776394] sd 2:0:0:1: [sda] Attached SCSI disk | |
Oct 21 00:29:14 stack01 kernel: [ 1384.493283] type=1400 audit(1382282954.491:23): apparmor="STATUS" operation="profile_replace" parent=29477 profile="unconfined" name="libvirt-3ea3402d-7bd1-411b-ae43-17ab357d7c1f" pid=29478 comm="apparmor_parser" | |
Oct 21 00:29:14 stack01 kernel: [ 1384.497878] type=1400 audit(1382282954.495:24): apparmor="DENIED" operation="open" parent=1 profile="libvirt-3ea3402d-7bd1-411b-ae43-17ab357d7c1f" name="/dev/sda" pid=28609 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=116 ouid=116 | |
Oct 21 00:29:14 stack01 kernel: [ 1384.497886] type=1400 audit(1382282954.495:25): apparmor="DENIED" operation="open" parent=1 profile="libvirt-3ea3402d-7bd1-411b-ae43-17ab357d7c1f" name="/dev/sda" pid=28609 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=116 ouid=116 | |
Oct 21 00:29:14 stack01 kernel: [ 1384.497908] type=1400 audit(1382282954.495:26): apparmor="DENIED" operation="open" parent=1 profile="libvirt-3ea3402d-7bd1-411b-ae43-17ab357d7c1f" name="/dev/sda" pid=28609 comm="qemu-system-x86" requested_mask="rw" denied_mask="rw" fsuid=116 ouid=116 | |
Oct 21 00:29:14 stack01 iscsid: Connection1:0 to [target: iqn.2010-10.org.openstack:volume-1f5e0261-8e64-4457-ae47-d3d19930b0c7, portal: stack01,3260] through [iface: default] is operational now | |
Oct 21 00:29:15 stack01 kernel: [ 1385.157697] type=1400 audit(1382282955.155:27): apparmor="STATUS" operation="profile_replace" parent=29483 profile="unconfined" name="libvirt-3ea3402d-7bd1-411b-ae43-17ab357d7c1f" pid=29484 comm="apparmor_parser" | |
Oct 21 00:29:15 stack01 kernel: [ 1385.370774] sd 2:0:0:1: [sda] Synchronizing SCSI cache | |
Oct 21 00:29:15 stack01 kernel: [ 1385.621288] connection1:0: detected conn error (1020) | |
Oct 21 00:29:16 stack01 tgtd: conn_close(103) connection closed, 0xf0ab20 1 | |
Oct 21 00:29:16 stack01 tgtd: conn_close(109) sesson 0xf0ee10 1 | |
Oct 21 00:29:16 stack01 iscsid: Connection1:0 to [target: iqn.2010-10.org.openstack:volume-1f5e0261-8e64-4457-ae47-d3d19930b0c7, portal: stack01,3260] through [iface: default] is shutdown. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment