[Bug 1072597] Re: open-iscsi has a bug with ubuntu

Chuck Short chuck.short at canonical.com
Tue Oct 30 15:44:22 UTC 2012


** Package changed: open-iscsi (Ubuntu) => iscsitarget (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1072597

Title:
  open-iscsi has a bug with ubuntu

Status in “iscsitarget” package in Ubuntu:
  New

Bug description:
  “sudo apt-get install lvm2 iscsitarget open-iscsi iscsitarget-source iscsitarget-dkms tgt ” can not finish in one time.
  I found it need two times,the iscsi can run normally.And under kernel 3.2.36 or 3.2.30 or 3.2.29 can run normally,other version of kernel has "No portcal" error.

  Under kernel 3.2.30,I try sudo apt-get install lvm2 iscsitarget open-iscsi iscsitarget-source iscsitarget-dkms tgt,it need two times.
  First time,I input "sudo apt-get install lvm2 iscsitarget open-iscsi iscsitarget-source iscsitarget-dkms tgt",it output as follow:
  DKMS: install completed.
  Setting up iscsitarget-source (1.4.20.2-5ubuntu3.1) …
  Setting up lvm2 (2.02.66-4ubuntu7.1) …
  update-initramfs: deferring update (trigger activated)
  Setting up open-iscsi (2.0.871-0ubuntu9) …
  update-rc.d: warning: open-iscsi stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 6)
  * Starting iSCSI initiator service iscsid [ OK ]
  * Setting up iSCSI targets [ OK ]
  Setting up tgt (1:1.0.17-1ubuntu2) …
  tgt start/running, process 5082
  Processing triggers for initramfs-tools …
  update-initramfs: Generating /boot/initrd.img-3.2.0-30-generic
  Errors were encountered while processing:
  iscsitarget
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  Now,the iscsi can not run.So I input "sudo apt-get install lvm2 iscsitarget open-iscsi iscsitarget-source iscsitarget-dkms tgt" again,
  The output is:
  tgt open-iscsi-utils
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  open-iscsi is already the newest version.
  open-iscsi-utils is already the newest version.
  tgt is already the newest version.
  lvm2 is already the newest version.
  iscsitarget is already the newest version.
  iscsitarget-dkms is already the newest version.
  iscsitarget-source is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  And it install the some package and start the process.Now iscsi process can run normally.
  So 
  lvm2 is already the newest version.
  iscsitarget is already the newest version.
  iscsitarget-dkms is already the newest version.
  iscsitarget-source is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  这次正常启动iscsi 可以使用
  无法理解为什么第一次无法完全安装?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/1072597/+subscriptions




More information about the foundations-bugs mailing list