Tag Archive

Below you'll find a list of all posts that have been tagged as "openstack"
blogImage

How to configure Storage Box Services with OpenStack

OpenStack is a set of software tools for building and managing cloud computing platforms for public and private clouds.It is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard.Accessing SAN Storage in OpenStackCinder is the OpenStack component that provides access to, and manages block storage. The cinder interface specifies a number of discrete functions such as create, delete and attach volume/drive etc.Cinder provides persistent block storage resources (volumes) to VMs. These volumes can be detached from one instance and re-attached to another.Cinder supports drivers that allow cinder volumes to be created and presented using storage solutions from vendors. Third-party storage vendors use cinder’s plug-in architecture to do the necessary integration work.Advantages:Driver helps to create LUN and extend the storage capacityDriver helps to back-up the data using backup serviceIt supports both managed/unmanaged LUNIt helps to clone and create volumes from a VM imageMinimum system requirement to configure OpenStack ControllerHardware requirements:Dual-core CPU2 GB RAM5 GB diskSupported OS:RHELCentOSFedoraUbuntuOpenSUSESUSE Linux EnterpriseNetwork:2 Network Interface card with 100 Mbps/1 Gbps speed– One network for OpenStack installation– Another network for storage to make connection with SANNote: OpenStack controller means it includes all the services such as nova, cinder, glance and neutron.SAN Storage:Need one third party storage-subsystem to configure storage with OpenStack.Essential steps to configure SAN storage with OpenStackStep 1Need to setup the following property values in OpenStack cinder configuration file (/etc/cinder/cinder.conf).i. Enable storage backend:enabled_backends = storage name // for example NetAppii. Specify volume name: – to identify particular volume in storagevolume_name_template = openstack-%siii. Add NFS storage information and backup driver: – to backup databackup_driver = cinder.backup.drivers.nfs backup_share =nfs storage IP:/nfsshareiv. Storagebox information[storagename]//For Ex: We should specify NetApp here volume_driver=storage driver volume_backend_name=storage name san_login=storage username san_password=storage password san_ip=storage ipv. Enable multipathuse_multipath_for_image_xfer = TrueNote: StorageBox information and Enable multipath has to be added at the end of configuration file.Step 2Array Vendor’s cinder driver has to be added in below location for creating the volumes in storage/usr/lib/python2.7/site-packages/cinder/volume/drivers/Step 3Restart cinder services:systemctl restart openstack-cinder-api.service systemctl restart openstack-cinder-backup.service systemctl restart openstack-cinder-scheduler.service systemctl restart openstack-cinder-volume.serviceNote: If services are not restarted properties set won’t be effectiveTips and Tricks for trouble shootingSerial 1: Specify network IDSymptom:Error (Conflict): Multiple possible networks found, use a Network ID to be more specific. (HTTP 409) (Request-ID: req-251e6d02-5358-41f7-95a4-b58c52cbc74b). Usually this error occurs only if the given name is ambiguous. It is occurred in OpenStack liberty. Network name is specified while creating the instance. It is failing due to the name given is ambiguous.Approach to tackle the symptom:Affected version: Liberty – Instance is created using network name. Usually this error occurs only if the given name is ambiguous.Fixed version: Mitaka – Instance is created using network id.Issue got fixed in Mitaka which is next release of openstack liberty.To solve the issue, we need specify net id while creating instance.Steps:Login to OpenStack controller node using puttyList all the volume which are created in OpenStack controller node[root@mitaka-hos1~(keystone_admin)]# cinder list +--------------------------------------+-----------+------------------+------+------+--------------+----------+-------------+-------------+ |                  ID                  |   Status  | Migration Status | Name | Size | Volume Type  | Bootable | Multiattach | Attached to | +--------------------------------------+-----------+------------------+------+------+--------------+----------+-------------+-------------+ | eee3f8fc-3306-44c2-84c8-d2ab1ab4c775 | available |     success        | vol2 |  5   | array |   true   |    False    |             | +--------------------------------------+-----------+------------------+------+------+--------------+----------+-------------+-------------+ [root@mitaka-hos1 ~(keystone_admin)]#3. List available networks in OpenStack controller node.[root@mitaka-hos1 ~(keystone_admin)]# neutron net-list +--------------------------------------+---------+------------------------------------------------------+ | id                     | name    | subnets                                              | +--------------------------------------+---------+------------------------------------------------------+ | 489a3170-0ee3-4ae0-a5ef-8a766c50249f | public  | 20ae85c9-a89b-4689-9b76-1c395f842b01 172.24.4.224/28 | | ade84d1d-343c-42ee-a603-df2e84274bd4 | private | ef2e62bc-0b94-44f3-bb2c-82963c2eb705 10.0.0.0/24     | +--------------------------------------+---------+------------------------------------------------------4. Create instance using net-id and volume id.nova boot --flavor m1.tiny --boot-volume eee3f8fc-3306-44c2-84c8-d2ab1ab4c775  --availability-zone     nova:host1  inst3   --nic net-id=489a3170-0ee3-4ae0-a5ef-8a766c50249f +--------------------------------------+--------------------------------------------------+ | Property                             | Value                                            | +--------------------------------------+--------------------------------------------------+ | OS-DCF:diskConfig                    | MANUAL                                           | | OS-EXT-AZ:availability_zone             | nova                                             | ….. ….. | OS-EXT-SRV-ATTR:instance_name        | instance-00000009                                | | OS-EXT-STS:task_state                | scheduling | created                              | 2016-08-31T08:39:20Z                             | | flavor                               | m1.tiny (1)                                      | | hostId                               |                                                  | | id                                   | 8d202079-a9c2-4175-b5ff-7bc0638e06f4             | | image                                | Attempt to boot from volume - no image supplied  | | key_name                             | -                                                | | metadata                             | {}                                               | | name                                 | inst3                                            | | os-extended-volumes:volumes_attached | [{"id": "eee3f8fc-3306-44c2-84c8-d2ab1ab4c775"}] | | progress                             | 0                                                | | security_groups                      | default                                          | | status                               | BUILD                                            | | tenant_id                            | 8c786c64ee8143b4b83bd1109b413ce5                 | | updated                              | 2016-08-31T08:39:21Z                             | | user_id                              | 7aa859512fa146c4ba355d3499fffa14                 | +--------------------------------------+--------------------------------------------------+Bug: https://bugs.launchpad.net/python-novaclient/+bug/1569840Serial 2: Specify multipath in cinder fileSymptom:2016-07-29 04:53:29.728 2103 ERROR cinder.scheduler.manager [req-9de37842-0da5-4c05-9ce3-38b4b38aa1bf 91327080eb604f0596eec6f3191f8b76 322494d5ae904c9680b318e7231bbeff - - -] Failed to schedule_manage_existing: No valid host was found. Cannot place volume 7c1a314a-b46e-475f-8c03-823ba2ca6179 on hostApproach to tackle the symptom:To rectify this issue, need to add below line at end of the cinder.conf.use_multipath_for_image_xfer = TrueSerial 3: Specify pool name in cinder fileSymptom:016-07-20 08:27:44.268 718 ERROR oslo_messaging.rpc.dispatcher     response = self._execute_create_vol(volume, pool_name, reserve) 2016-07-20 08:27:44.268 718 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/xxx.py", line 533, in inner_connection_checker 2016-07-20 08:27:44.268 718 ERROR oslo_messaging.rpc.dispatcher     return func(self, *args, **kwargs) 2016-07-20 08:27:44.268 718 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/xxx.py", line 522, in inner_response_checker 2016-07-20 08:27:44.268 718 ERROR oslo_messaging.rpc.dispatcher     raise xxxAPIException(msg) 2016-07-20 08:27:44.268 718 ERROR oslo_messaging.rpc.dispatcher xxxAPIException: API _execute_create_vol failed with error string SM-err-pool-not-found 2016-07-20 08:27:44.268 718 ERROR oslo_messaging.rpc.dispatcher Approach to tackle the symptom:Need to specify pool name in end of the cinder.config.ventor_pool_name= pool nameSerial 4: Specify OpenStack controller IPSymptom:Unable to connect to OpenStack instance console using VNC using OpenStack HorizonError Message: Failed to connect to server (code 1006)Environment: OpenStack RDO Juno, CentOS7Approach to tackle the symptom:You need to update vncserver_proxyclient_address with the OpenStack controller IP address OR novavncproxy_base_url IP address in the nova.conf(/etc/nova/nova.conf)vncserver_proxyclient_address=openstack controller IP addressthen restart you compute service/etc/init.d/openstack-nova-compute restartSerial 5: Specify nfs driver in cinder configSymptom:[root@hiqa-rhel1 ~(keystone_admin)]# cat /var/log/cinder/backup.log | grep unsupport 2017-02-10 04:21:17.143 22496 DEBUG cinder.service [req-5210ae1c-ae31-41e5-b927-9102c776e941 - - - - -] enable_unsupported_driver : False wait /usr/lib/python2.7/site-packages/cinder/service.py:611 2017-02-10 04:21:17.222 22496 DEBUG oslo_service.service [req-5210ae1c-ae31-41e5-b927-9102c776e941 - - - - -] enable_unsupported_driver      = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622 2017-02-10 04:34:43.918 27333 DEBUG cinder.service [req-95201c9a-8766-4589-b4be-3d076890fc54 - - - - -] enable_unsupported_driver : False wait /usr/lib/python2.7/site-packages/cinder/service.py:611 2017-02-10 04:34:43.977 27333 DEBUG oslo_service.service [req-95201c9a-8766-4589-b4be-3d076890fc54 - - - - -] enable_unsupported_driver      = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622 2017-02-11 22:17:41.654 17423 DEBUG cinder.service [req-9b064618-21cd-4400-a428-70b909c3d141 - - - - -] enable_unsupported_driver : False wait /usr/lib/python2.7/site-packages/cinder/service.py:611 2017-02-11 22:17:41.709 17423 DEBUG oslo_service.service [req-9b064618-21cd-4400-a428-70b909c3d141 - - - - -] enable_unsupported_driver      = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2622 [root@hiqa-rhel1 ~(keystone_admin)]# Approach to tackle the symptom:To rectify this issue, need to specify nfs driver in the cinder.conf file:backup_driver = cinder.backup.drivers.nfsSerial 6: Grant permission to backup volume in nfs serverSymptom:OSError: [Errno 13] Permission denied: '/var/lib/cinder/backup_mount/f Approach to tackle the symptom:chown cinder:cinder -R /var/lib/cinder/backup_mount/

Aziro Marketing

EXPLORE ALL TAGS
2019 dockercon
Advanced analytics
Agentic AI
agile
AI
AI ML
AIOps
Amazon Aws
Amazon EC2
Analytics
Analytics tools
AndroidThings
Anomaly Detection
Anomaly monitor
Ansible Test Automation
apache
apache8
Apache Spark RDD
app containerization
application containerization
applications
Application Security
application testing
artificial intelligence
asynchronous replication
automate
automation
automation testing
Autonomous Storage
AWS Lambda
Aziro
Aziro Technologies
big data
Big Data Analytics
big data pipeline
Big Data QA
Big Data Tester
Big Data Testing
bitcoin
blockchain
blog
bluetooth
buildroot
business intelligence
busybox
chef
ci/cd
CI/CD security
cloud
Cloud Analytics
cloud computing
Cloud Cost Optimization
cloud devops
Cloud Infrastructure
Cloud Interoperability
Cloud Native Solution
Cloud Security
cloudstack
cloud storage
Cloud Storage Data
Cloud Storage Security
Codeless Automation
Cognitive analytics
Configuration Management
connected homes
container
Containers
container world 2019
container world conference
continuous-delivery
continuous deployment
continuous integration
Coronavirus
Covid-19
cryptocurrency
cyber security
data-analytics
data backup and recovery
datacenter
data protection
data replication
data-security
data-storage
deep learning
demo
Descriptive analytics
Descriptive analytics tools
development
devops
devops agile
devops automation
DEVOPS CERTIFICATION
devops monitoring
DevOps QA
DevOps Security
DevOps testing
DevSecOps
Digital Transformation
disaster recovery
DMA
docker
dockercon
dockercon 2019
dockercon 2019 san francisco
dockercon usa 2019
docker swarm
DRaaS
edge computing
Embedded AI
embedded-systems
end-to-end-test-automation
FaaS
finance
fintech
FIrebase
flash memory
flash memory summit
FMS2017
GDPR faqs
Glass-Box AI
golang
GraphQL
graphql vs rest
gui testing
habitat
hadoop
hardware-providers
healthcare
Heartfullness
High Performance Computing
Holistic Life
HPC
Hybrid-Cloud
hyper-converged
hyper-v
IaaS
IaaS Security
icinga
icinga for monitoring
Image Recognition 2024
infographic
InSpec
internet-of-things
investing
iot
iot application
iot testing
java 8 streams
javascript
jenkins
KubeCon
kubernetes
kubernetesday
kubernetesday bangalore
libstorage
linux
litecoin
log analytics
Log mining
Low-Code
Low-Code No-Code Platforms
Loyalty
machine-learning
Meditation
Microservices
migration
Mindfulness
ML
mobile-application-testing
mobile-automation-testing
monitoring tools
Mutli-Cloud
network
network file storage
new features
NFS
NVMe
NVMEof
NVMes
Online Education
opensource
openstack
opscode-2
OSS
others
Paas
PDLC
Positivty
predictive analytics
Predictive analytics tools
prescriptive analysis
private-cloud
product sustenance
programming language
public cloud
qa
qa automation
quality-assurance
Rapid Application Development
raspberry pi
RDMA
real time analytics
realtime analytics platforms
Real-time data analytics
Recovery
Recovery as a service
recovery as service
rsa
rsa 2019
rsa 2019 san francisco
rsac 2018
rsa conference
rsa conference 2019
rsa usa 2019
SaaS Security
san francisco
SDC India 2019
SDDC
security
Security Monitoring
Selenium Test Automation
selenium testng
serverless
Serverless Computing
Site Reliability Engineering
smart homes
smart mirror
SNIA
snia india 2019
SNIA SDC 2019
SNIA SDC INDIA
SNIA SDC USA
software
software defined storage
software-testing
software testing trends
software testing trends 2019
SRE
STaaS
storage
storage events
storage replication
Storage Trends 2018
storage virtualization
support
Synchronous Replication
technology
tech support
test-automation
Testing
testing automation tools
thought leadership articles
trends
tutorials
ui automation testing
ui testing
ui testing automation
vCenter Operations Manager
vCOPS
virtualization
VMware
vmworld
VMworld 2019
vmworld 2019 san francisco
VMworld 2019 US
vROM
Web Automation Testing
web test automation
WFH

LET'S ENGINEER

Your Next Product Breakthrough

Book a Free 30-minute Meeting with our technology experts.

Aziro has been a true engineering partner in our digital transformation journey. Their AI-native approach and deep technical expertise helped us modernize our infrastructure and accelerate product delivery without compromising quality. The collaboration has been seamless, efficient, and outcome-driven.

Customer Placeholder
CTO

Fortune 500 company