Could not get "$DEFAULT_IMAGE_NAME" when Deploying Ironic with DevStack

Bug #1698099 reported by yuweichou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
In Progress
Medium
Ramamani Yeleswarapu

Bug Description

On this page (https://docs.openstack.org/developer/ironic/dev/dev-quickstart.html) and Deploying Ironic with DevStack part, When we try to get image info after deploying, the "$DEFAULT_IMAGE_NAME" parameter was empty.

# query the image id of the default cirros image
image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)

Petr Kovar (pmkovar)
affects: openstack-manuals → ironic
Revision history for this message
Kaifeng Wang (kaifeng) wrote :

have you executed 'source ~/devstack/openrc'? It seems good in my environment.

Revision history for this message
yuweichou (demoyuw) wrote :

Yes, I already 'source ~/devstack/openrc', and my environment is Ubuntu 16.04.2 LTS server version. I found a possible error, it is I could not get 'RC_DIR' on line 21 in openrc when I source file.

Revision history for this message
yuweichou (demoyuw) wrote :

Sorry, after my testing, I could get 'RC_DIR' value. The reason of $DEFAULT_IMAGE_NAME is empty, because local.conf set 'VIRT_DRIVER=ironic', the case VIRT_DRIVER didn't has option 'ironic' in 'devstack/stackrc', line 699.

Dmitry Tantsur (divius)
tags: added: documentation
removed: ironic-doc
Dmitry Tantsur (divius)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
tags: added: low-hanging-fruit
Changed in ironic:
assignee: nobody → Ramamani Yeleswarapu (ramamani-yeleswarapu)
status: Triaged → In Progress
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.