[openstack-dev] Adding Ironic node kills devstack configuration
Pavel Fedin
p.fedin at samsung.com
Tue Feb 2 11:41:54 UTC 2016
Hello again!
Now i am trying to add Ironic-driven compute note to existing devstack. Below is my local.conf for it. When i run stack.sh, it does
something, then starts to reinitialize projects, users, groups, tenants, etc, effectively destroying my existing configuration.
After that it dies with "cannot connect to... something", and my system is in non-working state, ready for reinstalling from
scratch.
Actually, two questions:
1. Is it possible to tell stack.sh to keep old configuration? Rebuilding it every time is very tedious task.
2. Why does my compute node wipe everything out? Because i enable 'key' (keystone ?) service? But ironic forces me to do it ("key"
service is required by ironic). So how do i install the thing correctly ?
--- cut ---
[[local|localrc]]
HOST_IP=10.51.0.5
SERVICE_HOST=10.51.0.4
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
ADMIN_PASSWORD=nfv
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
DATABASE_TYPE=mysql
# Services that a compute node runs
ENABLED_SERVICES=n-cpu,rabbit,q-agt
## Open vSwitch provider networking options
PHYSICAL_NETWORK=public
OVS_PHYSICAL_BRIDGE=br-ex
PUBLIC_INTERFACE=ens33
Q_USE_PROVIDER_NETWORKING=True
Q_L3_ENABLED=False
# Enable Ironic plugin
enable_plugin ironic git://git.openstack.org/openstack/ironic
enable_service key
enable_service glance
# Enable Swift for agent_* drivers
enable_service s-proxy
enable_service s-object
enable_service s-container
enable_service s-account
# Swift temp URL's are required for agent_* drivers.
SWIFT_ENABLE_TEMPURLS=True
# Create 3 virtual machines to pose as Ironic's baremetal nodes.
IRONIC_VM_COUNT=2
IRONIC_VM_SSH_PORT=22
IRONIC_BAREMETAL_BASIC_OPS=True
IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True
# Enable Ironic drivers.
IRONIC_ENABLED_DRIVERS=fake,agent_ssh,agent_ipmitool,pxe_ssh,pxe_ipmitool
# Change this to alter the default driver for nodes created by devstack.
# This driver should be in the enabled list above.
IRONIC_DEPLOY_DRIVER=pxe_ssh
# The parameters below represent the minimum possible values to create
# functional nodes.
IRONIC_VM_SPECS_RAM=1024
IRONIC_VM_SPECS_DISK=10
# Size of the ephemeral partition in GB. Use 0 for no ephemeral partition.
IRONIC_VM_EPHEMERAL_DISK=0
# To build your own IPA ramdisk from source, set this to True
IRONIC_BUILD_DEPLOY_RAMDISK=False
VIRT_DRIVER=ironic
--- cut ---
Kind regards,
Pavel Fedin
Senior Engineer
Samsung Electronics Research center Russia
More information about the OpenStack-dev
mailing list