Ask Your Question

vatsal's profile - activity

2019-08-06 02:35:39 -0500 received badge  Famous Question (source)
2019-08-06 02:33:54 -0500 received badge  Famous Question (source)
2019-08-06 02:33:54 -0500 received badge  Notable Question (source)
2019-08-06 02:33:54 -0500 received badge  Popular Question (source)
2019-05-11 21:09:57 -0500 received badge  Famous Question (source)
2019-04-23 00:48:16 -0500 received badge  Popular Question (source)
2019-04-23 00:48:16 -0500 received badge  Notable Question (source)
2019-04-15 07:44:23 -0500 commented question [ZUN] Access the container command giving 500 Internal Server Error

Did you get any solution

2019-04-06 07:18:08 -0500 asked a question Image upload gets stuck at Queued

I have openstack rocky setup using devstack

I am using Ubuntu 18.04's ISO file to upload it as image in glace.

When I do that...status first comes to saving and then get stuck at Queued...

It does not come to Active state.

Is there any limit to size of image we can upload bcz...ubuntu's iso file is of 1.8 gb?

What's solution to this problem??

2019-04-01 00:07:12 -0500 received badge  Enthusiast
2019-03-27 05:47:31 -0500 asked a question WebSocket error: Can't connect to websocket on URL: ws://172.21.1.176:6082/websockify [object Event]

I have multinode openstack rocky setup.

I have one all in on node setup using devstack and other compute node also using devstack but when I try to launch instance on extra compute node and try to access it via console(spice) I get following error

WebSocket error: Can't connect to websocket on URL: ws://172.21.1.176:6082/websockify [object Event]

....here is local.conf file for all in one node

[[local|localrc]]
# Set the Host IP address and passwords
HOST_IP=192.168.33.10
ADMIN_PASSWORD=secret
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
# Set the Database type
DATABASE_TYPE=mysql

# Enable multi-host
#MULTI_HOST=1

# Do not keep logfile > 1 days to conserve disk
LOGDAYS=1

# Set the installation and log directories
DEST=/opt/stack
LOGDIR=$DEST/logs
LOGFILE=$LOGDIR/devstack.log

# By default devstack installs OpenStack server components from git.openstack.org
# Set OpenStack Release for services
KEYSTONE_BRANCH=stable/rocky
NOVA_BRANCH=stable/rocky
NEUTRON_BRANCH=stable/rocky
CINDER_BRANCH=stable/rocky
GLANCE_BRANCH=stable/rocky
HORIZON_BRANCH=stable/rocky
HEAT_BRANCH=stable/rocky
SWIFT_BRANCH=stable/rocky

# Disable Nova Network and enable Neutron Services
disable_service n-net
enable_service q-svc
enable_service q-dhcp
enable_service q-l3
enable_service q-meta

#spice
NOVA_VNC_ENABLED=False
NOVA_SPICE_ENABLED=True
SPICEAGENT_ENABLED=True
enable_service n-spice
disable_service n-novnc

# All Core OpenStack services are enabled by default
# No additional service enabling is required
# Keystone is run under Apache with mod_wsgi by default

# Set the Cinder Volume Group and optionally the volume backing file size
VOLUME_GROUP_NAME="stack-volumes"
VOLUME_NAME_PREFIX="volume-"
# DevStack by default will setup a 10Gb loop-mounted file for the Volume
# You can change the size of the file by uncommenting the below setting
# VOLUME_BACKING_FILE_SIZE=5125M

# Enable the Heat Orchestration service plugin
enable_plugin heat https://git.openstack.org/openstack/heat stable/rocky

# Register a fedora image that we can use to launch a VM or a Heat Stack
IMAGE_URL_SITE="http://download.fedoraproject.org"
IMAGE_URL_PATH="/pub/fedora/linux/releases/29/Cloud/x86_64/images/"
IMAGE_URL_FILE="Fedora-Cloud-Base-29-1.2.x86_64.qcow2"
IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE

# Enable Swift Object Store Service without any replication
enable_service s-proxy s-object s-container s-account
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data/swift

# Disable Tempest Validation and Testing
disable_service tempest

# Set ML2 as the Neutron Plugin
Q_PLUGIN=ml2
# Enable Neutron Security Groups
Q_USE_SECGROUP=True
# Set OpenvSwitch as the ML2 Mechanism Driver
Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
Q_ML2_TENANT_NETWORK_TYPE=vxlan

FORCE=yes
RECLONE=yes

here is local.conf file for extra compute node

[[local|localrc]]
# Set the Compute host's IP address & the Service Host's (i.e. Controller's) IP Address
HOST_IP=192.168.33.11
SERVICE_HOST=192.168.33.10
ADMIN_PASSWORD=secret
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
# Set the Database type
DATABASE_TYPE=mysql

# Set the MySQL database, RabbitMQ and Glance Host to Controller 
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292

# Enable multi-host
MULTI_HOST=1

# Do not keep logfile > 1 days to conserve disk
LOGDAYS=1

# Set the installation and log directories
DEST=/opt/stack
LOGDIR=$DEST/logs
LOGFILE=$LOGDIR/devstack.log

# By default devstack installs OpenStack server components from git.openstack.org
# Set OpenStack Release for services
NOVA_BRANCH ...
(more)
2019-03-26 23:52:56 -0500 received badge  Notable Question (source)
2019-03-26 08:39:05 -0500 answered a question How to set SPICE with Devstack

Include following in your local.conf file under [[local|localrc]]

#spice
NOVA_VNC_ENABLED=False
NOVA_SPICE_ENABLED=True
SPICEAGENT_ENABLED=True
enable_service n-spice
disable_service n-novnc

and then do

./stack.sh
2019-02-15 15:58:05 -0500 commented answer how to install solum on openstack?

Hey @smaffulli I am setting PaaS over openstack using solum I am stuck at one error I asked question over here...here is the link to that question

https://ask.openstack.org/en/question/119851/typeerror-spawn-got-multiple-values-for-keyword-argument-network_info/ (My Question)

Please Help!

2019-02-15 15:58:05 -0500 commented answer How to install software in openstack vm instance using scripts?

@Bernd Bausch can you provide link to some documentation on how to use cloud init and how to use YAML file to descibe cloud init action?

2019-02-15 09:42:21 -0500 received badge  Popular Question (source)
2019-02-11 04:33:36 -0500 asked a question TypeError: spawn() got multiple values for keyword argument 'network_info'

I have openstack rocky installed on VM (Ubuntu 16.06) having 10GB of RAM and 4 CPU cores. I have installed openstack using devstack. Following is my local.conf file...( I am enabling swift, heat, solum and zun)

[[local|localrc]]
# Set the Host IP address and passwords
HOST_IP=192.168.33.10
ADMIN_PASSWORD=secret
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
# Set the Database type
DATABASE_TYPE=mysql

# Enable multi-host
#MULTI_HOST=1

# Do not keep logfile > 1 days to conserve disk
LOGDAYS=1

# Set the installation and log directories
DEST=/opt/stack
LOGDIR=$DEST/logs
LOGFILE=$LOGDIR/devstack.log

# By default devstack installs OpenStack server components from git.openstack.org
# Set OpenStack Release for services
KEYSTONE_BRANCH=stable/rocky
NOVA_BRANCH=stable/rocky
NEUTRON_BRANCH=stable/rocky
CINDER_BRANCH=stable/rocky
GLANCE_BRANCH=stable/rocky
HORIZON_BRANCH=stable/rocky
HEAT_BRANCH=stable/rocky
SWIFT_BRANCH=stable/rocky
SOLUM_BRANCH=stable/rocky
ZUN_BRANCH=stable/rocky

DEFAULT_IMAGE_NAME=Fedora-Cloud-Base-29-1.2.x86_64

# Disable Nova Network and enable Neutron Services
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron

# All Core OpenStack services are enabled by default
# No additional service enabling is required
# Keystone is run under Apache with mod_wsgi by default

# Set the Cinder Volume Group and optionally the volume backing file size
VOLUME_GROUP_NAME="stack-volumes"
VOLUME_NAME_PREFIX="volume-"
# DevStack by default will setup a 10Gb loop-mounted file for the Volume
# You can change the size of the file by uncommenting the below setting
# VOLUME_BACKING_FILE_SIZE=5125M

# Enable the Heat Orchestration service plugin
enable_plugin heat https://git.openstack.org/openstack/heat stable/rocky

# Register a fedora image that we can use to launch a VM or a Heat Stack
#IMAGE_URL_SITE="http://download.fedoraproject.org"
#IMAGE_URL_PATH="/pub/fedora/linux/releases/25/CloudImages/x86_64/images/"
#IMAGE_URL_FILE="Fedora-Cloud-Base-25-1.3.x86_64.qcow2"
#IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE
IMAGE_URLS+=",https://download.fedoraproject.org/pub/fedora/linux/releases/29/Cloud/x86_64/images/Fedora-Cloud-Base-29-1.2.x86_64.qcow2"

# Enable Swift Object Store Service without any replication
enable_service s-proxy s-object s-container s-account
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data/swift

# Disable Tempest Validation and Testing
disable_service tempest

# Set ML2 as the Neutron Plugin
Q_PLUGIN=ml2
# Enable Neutron Security Groups
Q_USE_SECGROUP=True
# Set OpenvSwitch as the ML2 Mechanism Driver
Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
Q_ML2_TENANT_NETWORK_TYPE=vxlan

#solum
enable_plugin solum git://git.openstack.org/openstack/solum stable/rocky

enable_service solum-api
enable_service solum-conductor
enable_service solum-deployer
enable_service solum-worker
# DOCKER_REGISTRY_IMAGE=registry:0.6.9
VIRT_DRIVER=docker
SOLUM_IMAGE_FORMAT=docker
SOLUM_INSTALL_CEDARISH=False
SOLUM_INSTALL_DOCKERFILE=False

enable_plugin devstack-plugin-container https://git.openstack.org/openstack/devstack-plugin-container stable/rocky
enable_plugin zun https://git.openstack.org/openstack/zun stable/rocky
enable_plugin zun-tempest-plugin https://git.openstack.org/openstack/zun-tempest-plugin
enable_plugin kuryr-libnetwork https://git.openstack.org/openstack/kuryr-libnetwork stable/rocky
enable_plugin zun-ui https://git.openstack.org/openstack/zun-ui stable/rocky
KURYR_CAPABILITY_SCOPE=global
KURYR_ETCD_PORT=2379
KURYR_PROCESS_EXTERNAL_CONNECTIVITY=False
LIBS_FROM_GIT="python-zunclient"

IP_VERSION=4
SERVICE_IP_VERSION=4
FORCE=yes
RECLONE=yes

Now it gets successfully stacked, But when I try to launch any instance it gives me following error

Error: Failed to perform requested operation on instance "test", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries ...
(more)
2019-02-11 04:33:36 -0500 commented answer Nova-lxd error: Fails to spawn an instance

Hey! Did you got any solution to this problem?

2019-02-11 04:33:36 -0500 commented question Nova-lxd error: Fails to spawn an instance

Hey! Did you got any solution to this problem?

2018-11-26 08:55:50 -0500 commented question Still cannot ssh or ping instances

@bbronstein did you get solution of this problem? I am facing same issue.