heat guest instance gives errors in first-boot.d.log

Bug #1278733 reported by Sushil Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Won't Fix
Undecided
Sushil Kumar
Trove Integration
Fix Released
Undecided
Sushil Kumar

Bug Description

When provisioning an instance using heat code-path, there are errors encountered in the first-boot.d.log

..........................................................................................................................................................................
..........................................................................................................................................................................
..........................................................................................................................................................................
Get:19 http://archive.ubuntu.com precise-updates/main TranslationIndex [3564 B]
Get:20 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2850 B]
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Get:21 http://archive.ubuntu.com precise-updates/main Translation-en [335 kB]
Get:22 http://archive.ubuntu.com precise-updates/universe Translation-en [137 kB]
Fetched 10.1 MB in 53s (190 kB/s)
Reading package lists...
start: Job failed to start

Revision history for this message
Sushil Kumar (sushil-kumar2) wrote :

This is because of first boot process tries to start the service in the absence of guest_info file and it fails to start the trove-guest.

Whereas, this file gets created by the heat provisioning which happens after first-boot.d process.

Revision history for this message
Sushil Kumar (sushil-kumar2) wrote :

So, the solution should be
In bootstrap_init-mysql.sh, conditionally starting the trove-guest process if the guest_info file exists.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove-integration (master)

Fix proposed to branch: master
Review: https://review.openstack.org/72577

Changed in trove-integration:
assignee: nobody → Sushil Kumar (sushil-kumar2)
status: New → In Progress
Changed in trove:
assignee: nobody → Sushil Kumar (sushil-kumar2)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove-integration (master)

Reviewed: https://review.openstack.org/72577
Committed: https://git.openstack.org/cgit/openstack/trove-integration/commit/?id=75a9986411e8c6677c1a423fb4ef34c7eb8e8d7b
Submitter: Jenkins
Branch: master

commit 75a9986411e8c6677c1a423fb4ef34c7eb8e8d7b
Author: Sushil Kumar <email address hidden>
Date: Tue Feb 11 07:41:44 2014 +0000

    Starts trove-guest if /etc/trove exists

    Reasons:
    - When provisioning a guest using heat code-path, the guest agent shows
      errors in first-boot.d.log, which is because first-boot tries to start
      trove-guest service before /etc/guest_info file is created by heat
      provisioning.

    Changes:
    - Adds condition to start trove-guest, to check existence of
      /etc/guest_info, if file exists, then start trove-guest.

    Change-Id: I112822fa69b2d4a49d29457fa4b1acf06206c52e
    Closes-Bug: #1278733

Changed in trove-integration:
status: In Progress → Fix Committed
Revision history for this message
Sushil Kumar (sushil-kumar2) wrote :

Trove problems gets resolved with the trove-integration resolution.

Changed in trove:
status: In Progress → Won't Fix
Changed in trove-integration:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.