Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ After reloading the cinder-volume OpenStack not start properly     - Linux environment Duplex (multi-machine) automatic mutual backup scheme (Linux)

- Linux shell scripts bubble sort (Programming)

- Usage Linux device tree (Programming)

- Correlation Analysis: FP-Growth algorithm (Programming)

- ThinkPad X220 Ubuntu 14.10 installed on fingerprint recognition (Linux)

- C ++ handling text input (Programming)

- Oracle multi-table query optimization (Database)

- Oracle set and remove columns unavailable (Database)

- Spring Boot + Nginx + Tomcat + SSL configuration notes (Server)

- How to install CentOS 7.x in OpenERP (Odoo) (Linux)

- MySQL server after an unexpected power outage can not start (Database)

- impdp error ORA-31631, ORA-39122 (Database)

- After Oracle 11g dataguard failover rebuild the archive logs are not applied to be NO problem (Database)

- Linux system performance analysis and top command ps.pstree Comments (Linux)

- Java Graphics2D Paint (Programming)

- Apache Tomcat integration and resin (Server)

- Linux find command usage practices (Linux)

- Linux for enterprises to build a firewall (Linux)

- Binary search -Java achieve (Programming)

- Ubuntu Eclipse configuration Gtk + 2.0 libraries (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.
- xCAT line installation on CentOS 6.X (Linux)
- Java gets the current system time System.currentTimeMillis () (Programming)
- Computer security protection remove local and remote system log files (Linux)
- Open SSH remote access service that allows Android phone Ubuntu 14.04 (Linux)
- Eclipse distributed management using GitHub project development (Linux)
- Restore database fault encountered ORA-0600 (Database)
- C ++ Supplements - Smart Pointers (Programming)
- Let OS X support NTFS write file (Linux)
- DataGuard Standby backup error RMAN-06820 ORA-17629 to solve (Database)
- CentOS 6.5 install Firefox (Linux)
- How to use the Linux command compress JPEG images (Linux)
- RedHat Linux 9.0 under P4VP-MX motherboard graphics resolution of problems (Linux)
- Linux serial port driver test (Linux)
- Docker improve safety (Server)
- Spring Data JPA @EnableJpaRepositories configuration in detail (Programming)
- Intel Graphics Installer installation on Ubuntu 15.10 (Linux)
- Port is not being used, how will bind failure? (Server)
- Linux Fundamentals of the memory management mechanism (Linux)
- LVM basic concepts, management (Linux)
- grep regular expression (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.