Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9420

Process encryption hangs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.8.0
    • 4.9.1.0
    • Install and Setup
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • CENTOS 7 x64

    Description

      Process hangs on "Process encryption".
      Passwords contain a $ and i have tried to:
      1.- Quote them between "
      2.- Scape the $ simbol with a \

      [root@vdiccs01 ~]# cloudstack-setup-databases cloud:"********"@192.168.100.103:3306 --deploy-as=root:"******" -v -k password -m password
      Mysql user name:cloud [ OK ]
      Mysql user password:****** [ OK ]
      Mysql server ip:192.168.100.103 [ OK ]
      Mysql server port:3306 [ OK ]
      Mysql root user name:root [ OK ]
      Mysql root user password:****** [ OK ]
      Checking Cloud database files ... [ OK ]
      Checking local machine hostname ... [ OK ]
      Checking SELinux setup ... [ OK ]
      Detected local IP address as 192.168.122.223, will use as cluster management server node IP[ OK ]
      Preparing /etc/cloudstack/management/db.properties [ OK ]
      Applying /usr/share/cloudstack-management/setup/create-database.sql [ OK ]
      Applying /usr/share/cloudstack-management/setup/create-schema.sql [ OK ]
      Applying /usr/share/cloudstack-management/setup/create-database-premium.sql [ OK ]
      Applying /usr/share/cloudstack-management/setup/create-schema-premium.sql [ OK ]
      Applying /usr/share/cloudstack-management/setup/server-setup.sql [ OK ]
      Applying /usr/share/cloudstack-management/setup/templates.sql [ OK ]
      Processing encryption ...
      File "/usr/bin/cloudstack-setup-databases", line 604, in <module>
      o.run()
      File "/usr/bin/cloudstack-setup-databases", line 593, in run
      self.processEncryptionStuff()
      File "/usr/bin/cloudstack-setup-databases", line 418, in processEncryptionStuff
      encryptDBSecretKey()
      File "/usr/bin/cloudstack-setup-databases", line 402, in encryptDBSecretKey
      self.putDbProperty('db.cloud.encrypt.secret', formatEncryptResult(encrypt(self.dbsecretkey)))
      File "/usr/bin/cloudstack-setup-databases", line 392, in encrypt
      return runCmd(cmd).strip('\r\n')
      File "/usr/bin/cloudstack-setup-databases", line 49, in runCmd
      stdout, stderr = process.communicate()
      File "/usr/lib64/python2.7/subprocess.py", line 800, in communicate
      return self._communicate(input)
      File "/usr/lib64/python2.7/subprocess.py", line 1401, in _communicate
      stdout, stderr = self._communicate_with_poll(input)
      File "/usr/lib64/python2.7/subprocess.py", line 1455, in _communicate_with_poll
      ready = poller.poll()
      KeyboardInterrupt
      [root@vdiccs01 ~]#

      Attachments

        Activity

          People

            rajanik Rajani Karuturi
            oscar.segarra@gmail.com Oscar Segarra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: