Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ After reloading the cinder-volume OpenStack not start properly     - C ++ casts New Standard Comments (Programming)

- dmidecode command Detailed (Hardware information) (Linux)

- C ++ Replication Control: Assignment operators and destructors (Programming)

- How to use the on-screen keyboard in Linux (Linux)

- Build your own Git server under Linux (Server)

- Create Your Own Docker base image in two ways (Linux)

- NFS-based services and service utilization Corosync DRBD high availability cluster configuration, respectively (Server)

- Findbugs installation documentation (Linux)

- CentOS Linux build SVN server (Server)

- Ant command-line compiler Android project (Programming)

- Linux kernel likely and unlikely to resolve macro definitions (Linux)

- CentOS 6.x systems installation + NIC driver installation (Realtek PCIe GBE Family Controller for Linux) (Linux)

- To install the Oracle process notes on Oracle Linux 4u4 (Database)

- How to make GRub instead of the default Ubuntu software center (Linux)

- Getting Started with Java NIO (Programming)

- Help you make Git Bisect (Linux)

- shell-like program (Programming)

- Nginx request processing (Server)

- Docker in the development and practice of IFTTT (Server)

- RabbitMQ Getting Started Tutorial (Linux)

  After reloading the cinder-volume OpenStack not start properly
  Add Date : 2018-11-21      
  Description: cinder-volume service fails to start

CAUSE: heavy cinder component when a dependency problem, in accordance with the OpenStack documentation to install cinder components when installed a component called: iscsitarget, Target service Ubuntu on there is another package called tgt, can complete the iscsitarget function, time to re-install the cinder-volume, tgt components are installed on the results of the 3260 occupation of the port iscsitarget components, resulting iscsitarget can not start, thus cinder-volume service can not start properly.

You can use the lsof command to view the port situation, such as: lsof -i: 3260


First, uninstall iscsitarget components and dependent components, reinstall cinder components, it will be replaced by one of the iscsitarget tgt, such as

apt-get install cinder-api cinder-scheduler cinder-volume open-iscsi tgt

The second step, modify /etc/cinder/cinder.conf documents such as:

rootwrap_config = / etc / cinder / rootwrap.conf
sql_connection = mysql: // cinderUser: cinderPass@
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-% s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = / var / lib / cinder
volumes_dir = / var / lib / cinder / volumes

The third step is to restart all services cinder

cd /etc/init.d/; for i in $ (ls cinder- *); do sudo service $ i restart; done

problem solved.

Note: If at this cinder-volume service still fails to start, check to see if there iscsitarget the process takes, and check whether port 3260 is occupied.
- Linux screen command (Linux)
- Getting Started with Linux system to learn: how to configure a static IP address for CentOS7 (Linux)
- Linux under DB2SQL1024N A database connection does not exist. SQLS (Database)
- Vi / Vim prompt solutions do not have permission to save time (Linux)
- Smooth upgrade to OpenSSH 6.7 Procedure (Linux)
- Text editing and viewing text Linux command (Linux)
- Linux crontab command format example (Linux)
- Linux data recovery software efficiently practical application extundelete (Linux)
- How to Start a Linux application running in the background using the terminal mode (Linux)
- 20 open source / commercial Linux server management control panel (Server)
- Linux installation notes under GAMIT (Linux)
- Ubuntu and Derivative Edition users install LMMS 0.4.15 (Linux)
- CentOS 5.10 installed Oracle 11G R2 (Database)
- To install the mail client terminal Evolution 3.13.2 under Ubuntu 14.04 (Linux)
- Linux beginners should know 12 commands (Linux)
- Sublime Text - Opens the current file in a browser (Linux)
- Build Python3.4 + PyQt5.5.1 + Eric6.1.1 development platform under Mac OS X 10.11.1 (Server)
- How to query the role of Linux services (Linux)
- Oracle Migration partition table (Database)
- AngularJS notes --- Scope and controller (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.