Uploaded image for project: 'Brooklyn'
  1. Brooklyn
  2. BROOKLYN-418

MariaDB does not install correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.11.0
    • None

    Description

      Steps to reproduce:
      Deploy org.apache.brooklyn.entity.database.mariadb.MariaDbNode on aws-ec2:sa-east-1/ami-26b93b4a

      Observed behavior:
      Check running says blueprint is on fire.

      Contents of /home/users/<User>/brooklyn-managed-processes/apps/<AppId>/entities/MariaDbNode_<EntityId>/console.log prints errors with MariaDb data files.

      161220  8:17:41 InnoDB: The InnoDB memory heap is disabled
      161220  8:17:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins
      161220  8:17:41 InnoDB: Compressed tables use zlib 1.2.3
      161220  8:17:41 InnoDB: Using Linux native AIO
      161220  8:17:41 InnoDB: Initializing buffer pool, size = 128.0M
      161220  8:17:41 InnoDB: Completed initialization of buffer pool
      InnoDB: Unable to lock ./ibdata1, error: 11
      InnoDB: Check that you do not already have another mysqld process
      InnoDB: using the same InnoDB data or log files.
      

      Analysis:
      On customize phase MariaDbNode performs launch in order to configure the database and then it invokes stop.
      The reason for having errors when accessing ./ibdata1 is probably because of the eager stopping performed on stop.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              valentin-cloudsoftcorp Valentin Aitken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: