[Bug 1535962] [NEW] Config HP SAN with the lefhand driver

Jaime Guzman gokimax at gmail.com
Wed Jan 20 01:14:27 UTC 2016


Public bug reported:

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.

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

** Affects: cinder (Juju Charms Collection)
     Importance: Undecided
         Status: New

-- 
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.

  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