The request cannot be fulfilled as the default volume type purestorage-array-pa3 cannot be found.

Bug #2045915 reported by Vijay Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Cinder Pure Storage Charm
Invalid
Undecided
Unassigned

Bug Description

The request cannot be fulfilled as the default volume type purestorage-array-pa3 cannot be found.

Created the volume type for pure storage

  $openstack volume type create purestore-pa3
  $openstack volume type set --property volume_backend_name=purestorage-array-pa3 purestore-pa3

Created normal Volume, works fine

  $openstack volume create --type purestore-pa3 --size 10 non-bootable

Created bootable volume using image, work fine

  $openstack volume create --type purestore-pa3 --size 10 --image jammy bootable-vol3

Attached the volume to the instances and created the instance using the bootable volume works fine

But when creating the instance using the below the instance gets the below error on nova-cocmpute.log

“The request cannot be fulfilled as the default volume type purestorage-array-pa3 cannot be found”

I am using the below command to create an instance

openstack server create --image jammy --network ext-net --flavor m1.small --user-data user-data --boot-from-volume 15 jammyboot1

juju bundle

applications:
  cinder:
    options:
      default-volume-type: purestorage-array-pa3
      enabled-services: api,scheduler

  cinder-volume:
    charm: cinder
    bindings:
      "": oam-space
      admin: internal-space
      certificates: internal-space
      internal: internal-space
      public: oam-space
      shared-db: internal-space
      storage-backend: internal-space
    options:
      block-device: None
      glance-api-version: 2
      openstack-origin: distro
      region: RegionOne
      use-internal-endpoints: true
      enabled-services: volume
      default-volume-type: purestorage-array-pa3
      config-flags: 'volume_name_template=xyz/%s'
  cinder-purestorage-pa3:
    charm: cinder-purestorage
    channel: latest/edge
      #channel: 2023.2/candidate
    bindings:
      "": oam-space
      certificates: internal-space
      storage-backend: internal-space
    options:
      driver-source: "ppa:openstack-charmers/purestorage-stable"
      san-ip: "1x.xx.x.x"
      pure-api-token: include-file://../secrets/pure-token-PA3.txt
      protocol: fc
      volume-backend-name: "purestorage-array-pa3"
      iscsi-cidr: 1x.xx.xx/24 #necessary to avoid any unreachable path

  cinder-purestorage-pa4:
    charm: cinder-purestorage
      #channel: yoga/stable
    channel: latest/edge
    bindings:
      "": oam-space
      certificates: internal-space
      storage-backend: internal-space
    options:
      driver-source: "ppa:openstack-charmers/purestorage-stable"
      san-ip: "1x.xx.x.x"
      pure-api-token: include-file://../secrets/pure-token-PA4.txt
      protocol: fc
      volume-backend-name: "purestorage-array-pa4"
      iscsi-cidr: 1x.xx.xx/24 #necessary to avoid any unreachable path

relations:
# cinder purestorage
  - [
      cinder-purestorage-pa3:storage-backend,
      cinder-volume:storage-backend,
    ]
  - [
      cinder-purestorage-pa4:storage-backend,
      cinder-volume:storage-backend,
    ]

# cinder-volume
  - [cinder-mysql-router:shared-db, cinder-volume:shared-db]
  - [cinder-volume:amqp, rabbitmq-server:amqp]
  - [cinder-volume:identity-service, keystone:identity-service]
  - [cinder-volume:cinder-volume-service, glance:cinder-volume-service]
  - [cinder-volume:certificates, vault:certificates]
  - ["cinder-volume:juju-info", "filebeat:beats-host"]
  - ["cinder-volume:juju-info", "logrotated:juju-info"]
  - ["cinder-volume:juju-info", "nrpe:general-info"]
  - ["cinder-volume:juju-info", "ntp:juju-info"]
  - ["cinder-volume:juju-info", "prometheus-grok-exporter:juju-info"]
  - ["cinder-volume:juju-info", "telegraf:juju-info"]

sysfsutils is installed on both the controller and compute

also FC status is active

mpatha (3624a9370ad483214ec2c4d5d000223e8) dm-0 PURE,FlashArray
size=100G features='0' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=0 status=active
  |- 1:0:0:16385 sdb 8:16 active undef running
  |- 1:0:1:16385 sdc 8:32 active undef running
  |- 2:0:0:16385 sdd 8:48 active undef running
  `- 2:0:1:16385 sde 8:64 active undef running

See the attached nova-compute.log

Revision history for this message
Vijay Kumar (vijay10193) wrote :
Vijay Kumar (vijay10193)
affects: cinder → charm-cinder-purestorage
Vijay Kumar (vijay10193)
Changed in charm-cinder-purestorage:
status: New → Invalid
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.