Skip to content
VM based development environment for OpenStack and SmartOS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

NFS for Mac OS X


/Users/hvolkmer/Priv/code/openstack-smartos -network -mask

sudo nfsd enable

showmount -e

Img stuff

  • needs to be raw


Remove old zfs snapshots

this should be done by OS or vmadm itself:

zfs list -t snapshot | egrep "@(.*)-disk0" | awk '{print $1}' | while read FS; do zfs destroy $FS; done

Keystone/Auth Setup

export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD='secrete'
export OS_AUTH_URL=

Keystone reset

svcadm disable keystone
rm /keystone/keystone.sqlite
/openstack/keystone/bin/keystone-manage --config-file=/openstack/cfg/keystone.conf db_sync
svcadm enable keystone

reset glance

svcadm disable glance-api  glance-registry
rm /glance/glance.sqlite
/openstack/glance/bin/glance-manage db_sync
svcadm enable glance-api  glance-registry

Adding smartOS zone image for zone tests

curl -O
bunzip smartos64-1.6.3.zfs.bz2
glance image-create --name "Smartos" --is-public true  --container-format bare --disk-format raw --property zone=true < smartos64-1.6.3.zfs

Adding cirros test image for KVM tests

curl -O
glance image-create --name "Cirros" --is-public true --container-format ovf --disk-format qcow2 < cirros-0.3.0-x86_64-disk.img
Something went wrong with that request. Please try again.