New charm: cinder-lefthand backend charm

Bug #1535962 reported by Jaime Guzman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
Triaged
Wishlist
Unassigned

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

Jaime Guzman (gokimax)
description: updated
Revision history for this message
James Page (james-page) wrote :

Hi Jaime

All backend cinder storage services should be integrated with the cinder charm using a 'backend' subordinate charm.

The cinder-ceph charm follows this model as an example - so a new cinder-lefthand charm would be the best way to implement this, so that a single cinder deployment can support multiple storage backends.

I'm going to mark this as a 'New Charm' bug for now.

summary: - Config HP SAN with the lefhand driver
+ New charm: cinder-lefthand backend
affects: cinder (Juju Charms Collection) → charms
Changed in charms:
importance: Undecided → Wishlist
status: New → Triaged
summary: - New charm: cinder-lefthand backend
+ New charm: cinder-lefthand backend charm
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.