[Bug 1535962] Re: Config HP SAN with the lefhand driver

Jaime Guzman gokimax at gmail.com
Wed Jan 20 20:37:52 UTC 2016


** Description changed:

  I installed Ubuntu OpenStack with Autopilot and I integrated a HP SAN
  with the lefhand driver. For that, I defined the parameters in config-
  flags (string) at juju cinder config charm, that place the settings at
  the default section o cinder.conf. It connects with the san fine, but
- when I try to attach a volume it fails.
+ when I try to attach a volume it fails. The log:
+ 
+ The operation failed: The server 'blade09' cannot be created because
+ Initiator Node Name 'iqn.1993-08.org.debian:01:1353a18b1e7' is already
+ in server 'blade05'.)
  
  I edited /var/lib/juju/agents/unit-cinder-2/charm/templates/cinder.conf
  and add to final of the file in each of the 3 cinder units:
  
  [lvm]
  hplefthand_api_url=https://172.16.4.200:8081/lhos
  hplefthand_username=admin
  hplefthand_password=admin
  hplefthand_clustername=CLUSTER1ROMA
  volume_driver=cinder.volume.drivers.san.hp.hp_lefthand_iscsi.HPLeftHandISCSIDriver
  hplefthand_iscsi_chap_enabled=false
  hplefthand_debug=false
  
  and service cinder-scheduler restart;service cinder-api restart;service
  cinder-volume restart;service tgt restart
  
  It works fine. ¿How can this config could be persistents using juju?
  
  Regards

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Juju Charms Collection.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1535962

Title:
  Config HP SAN with the lefhand driver

Status in cinder package in Juju Charms Collection:
  New

Bug description:
  I installed Ubuntu OpenStack with Autopilot and I integrated a HP SAN
  with the lefhand driver. For that, I defined the parameters in config-
  flags (string) at juju cinder config charm, that place the settings at
  the default section o cinder.conf. It connects with the san fine, but
  when I try to attach a volume it fails. The log:

  The operation failed: The server 'blade09' cannot be created because
  Initiator Node Name 'iqn.1993-08.org.debian:01:1353a18b1e7' is already
  in server 'blade05'.)

  I edited /var/lib/juju/agents/unit-
  cinder-2/charm/templates/cinder.conf and add to final of the file in
  each of the 3 cinder units:

  [lvm]
  hplefthand_api_url=https://172.16.4.200:8081/lhos
  hplefthand_username=admin
  hplefthand_password=admin
  hplefthand_clustername=CLUSTER1ROMA
  volume_driver=cinder.volume.drivers.san.hp.hp_lefthand_iscsi.HPLeftHandISCSIDriver
  hplefthand_iscsi_chap_enabled=false
  hplefthand_debug=false

  and service cinder-scheduler restart;service cinder-api
  restart;service cinder-volume restart;service tgt restart

  It works fine. ¿How can this config could be persistents using juju?

  Regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/cinder/+bug/1535962/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list