Server crashes with segmentation fault when used as backend for openstack ceilometer

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.5
    • Component/s: JavaScript
    • None
    • ALL
    • Hide

      1. Installing OpenStack on an Ubuntu 14.04 vm (run the following commands as ubuntu user not root):
      sudo apt-get update
      sudo apt-get -y dist-upgrade
      sudo apt-get -y install git-core ntp openssh-server cpu-checker
      git clone http://git.openstack.org/openstack-dev/devstack
      pushd devstack
      cat <<EOF > localrc
      GIT_BASE=${GIT_BASE:-https://git.openstack.org}
      MYSQL_PASSWORD=password
      RABBIT_PASSWORD=password
      SERVICE_TOKEN=password
      ADMIN_PASSWORD=password
      SERVICE_PASSWORD=password
      PUBLIC_INTERFACE=eth0

      1. Enable Ceilometer
        enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector
        enable_service ceilometer-alarm-evaluator,ceilometer-alarm-notifier
        enable_service ceilometer-api
        CEILOMETER_BACKEND=${CEILOMETER_BACKEND:-mongodb}
        EOF
        ./stack.sh
      2. Grab some coffee, It will take ~30 mins

      2. Create a ceilometer user on the mongodb 3.0.5 server
      db = db.getSiblingDB("ceilometer");
      db.createUser(

      {user: "ceilometer", pwd: "password", roles: ["readWrite", "dbAdmin"]}

      )";

      3. Point ceilometer to a mongodb 3.0.5 instance
      Edit /etc/ceilometer/ceilometer.conf file with the following setting
      [database]
      connection = mongodb://ceilometer:password@<IP_OF_MONGODB_SERVER>:27017/ceilometer

      4. Restart ceilometer services on the openstack server
      screen -d -R stack
      Press CTRL+" to get a list of services
      For each ceilometer service, press ctrl+c to stop it and then up arrow to re-run the last command

      5. Make it crash
      Point your browser to the http://openstackserver/horizon
      Login with admin/password
      Click on Admin->System->Resource Usage

      Show
      1. Installing OpenStack on an Ubuntu 14.04 vm (run the following commands as ubuntu user not root): sudo apt-get update sudo apt-get -y dist-upgrade sudo apt-get -y install git-core ntp openssh-server cpu-checker git clone http://git.openstack.org/openstack-dev/devstack pushd devstack cat <<EOF > localrc GIT_BASE=${GIT_BASE:- https://git.openstack.org } MYSQL_PASSWORD=password RABBIT_PASSWORD=password SERVICE_TOKEN=password ADMIN_PASSWORD=password SERVICE_PASSWORD=password PUBLIC_INTERFACE=eth0 Enable Ceilometer enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector enable_service ceilometer-alarm-evaluator,ceilometer-alarm-notifier enable_service ceilometer-api CEILOMETER_BACKEND=${CEILOMETER_BACKEND:-mongodb} EOF ./stack.sh Grab some coffee, It will take ~30 mins 2. Create a ceilometer user on the mongodb 3.0.5 server db = db.getSiblingDB("ceilometer"); db.createUser( {user: "ceilometer", pwd: "password", roles: ["readWrite", "dbAdmin"]} )"; 3. Point ceilometer to a mongodb 3.0.5 instance Edit /etc/ceilometer/ceilometer.conf file with the following setting [database] connection = mongodb://ceilometer:password@<IP_OF_MONGODB_SERVER>:27017/ceilometer 4. Restart ceilometer services on the openstack server screen -d -R stack Press CTRL+" to get a list of services For each ceilometer service, press ctrl+c to stop it and then up arrow to re-run the last command 5. Make it crash Point your browser to the http://openstackserver/horizon Login with admin/password Click on Admin->System->Resource Usage
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description: When using mongodb 3.0.5 as backend for ceilometer. it fails with a segmentation fault.
      See the attached file with the logs including debug info.

      Enviroment: OpenStack Installation on an Ubuntu 14.04 VM
      MongoDB 3.0.5 on an ArchLinux VM

        1. build.log
          3.81 MB
        2. mongod.log
          1.54 MB

            Assignee:
            Sam Kleinman (Inactive)
            Reporter:
            Alberto Murillo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: