Ubuntu: classical provisioning fails due to wrong APT configuration

Bug #1447696 reported by Andrey Sledzinskiy
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ihor Kalnytskyi

Bug Description

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "338"
  build_id: "2015-04-22_22-54-31"
  nailgun_sha: "4972120d5a5d41efe9be2d10b81329adf3258a78"
  python-fuelclient_sha: "2b311b3b82a1e2df1dc3484a0f37e282273cd988"
  astute_sha: "5be3506e6a4f8b7f0a858db2e162dabcc07347df"
  fuel-library_sha: "9b26cb98e7ceb905fe85b744eee2f808f7e4737b"
  fuel-ostf_sha: "dcda5a869d1780efc265b6f6b7b8c14c8324a68b"
  fuelmain_sha: "2f8be90209e709810674f73abb02bb54a700ce5e"

Steps:
1. Create cluster in HA mode, flat nova-network (classic provisioning)
2. Add 1 node with controller role
3. Add 1 node with compute role
4. Run provisioning task
5. Run deployment task
6. Stop deployment

Expected - OS is erased on nodes and nodes are bootstrapped
Actual - nodes went to bootstrap but they they stucked on boot process (see attached screen)

Logs are attached

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Matthew Mosesohn discovered this env and found such problems:

Need to figure out why it's writing config like this:

DEFAULT local
PROMPT 0
TIMEOUT 0
TOTALTIMEOUT 0
ONTIMEOUT local

LABEL local
# 0x80 works in VirtualBox -1 is the default one
# LOCALBOOT 0x80
# LOCALBOOT -1
    COM32 chain.c32
    APPEND hd0

netboot is disabled. Why?

Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: nobody → Fuel provisioning team (fuel-provisioning)
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Reproduced today. This screen with Booting... has been showed after ubuntu installation process finished.

Dmitry Pyzhov (dpyzhov)
tags: added: feature-native-provisioning
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel provisioning team (fuel-provisioning) → Igor Kalnitsky (ikalnitsky)
Revision history for this message
Mike Scherbakov (mihgen) wrote :

I think this is Medium priority, not critical. There is a simple workaround: you can remove profile from cobbler and reboot the nodes. UX for workaround is not very straightforward, but this issue can probably be reproduced only under certain conditions too (cluster reset at certain time), so it doesn't happen very often.

Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

Mike, no, it's high at least. There's no workaround. The classic provisioning is completely broken. My investigation shows me, that there's no installed grub after provisioning.

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/178216
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=cf1a81c88aa7d781553821f90861a64a69aedde1
Submitter: Jenkins
Branch: master

commit cf1a81c88aa7d781553821f90861a64a69aedde1
Author: Igor Kalnitsky <email address hidden>
Date: Tue Apr 28 17:24:38 2015 +0300

    Fix syntax error in apt.conf.d/03force-ipv4

    Since Idc40f2ccf9fb8494b9b30c58775b38d9487ddcd4 we have a regression, so
    native ubuntu provisioning (debian installer) isn't working properly and
    after provisioning the nodes are hanged and unable to boot.

    That's happened due to syntax error in apt configuration so apt fails to
    install grub and other packages.

    Closes-Bug: #1447696

    Change-Id: I290717e264503c13b0d62bad21d57f89482396d3
    Signed-off-by: Igor Kalnitsky <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
summary: - Nodes wren't bootstrapped after stop HA cluster deployment process
+ Ubuntu: classical provisioning fails due to wrong APT configuration
tags: added: on-verification
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #414

"build_id": "2015-05-13_22-55-26", "build_number": "414", "release_versions": {"2014.2.2-6.1": {"VERSION": {"build_id": "2015-05-13_22-55-26", "build_number": "414", "api": "1.0", "fuel-library_sha": "f9310aa52628d70b45a8d9cb735dd309f9b556f8", "nailgun_sha": "afbcea1d4928e588a8858e154770cd9d031a1fc7", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "e4ebbc720c2d5e4546b51758c5796821ed4377f6", "astute_sha": "484d5038b81b7260597be027b1265dc88091026b", "fuel-ostf_sha": "1ae384a28b42d5325bd5d2546aead1e9d502f6a8", "release": "6.1", "fuelmain_sha": "1c03fb884d3e79165a2406d00a5ea8679e35f4f7"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "f9310aa52628d70b45a8d9cb735dd309f9b556f8", "nailgun_sha": "afbcea1d4928e588a8858e154770cd9d031a1fc7", "feature_groups": ["mirantis"], "openstack_version": "2014.2.2-6.1", "production": "docker", "python-fuelclient_sha": "e4ebbc720c2d5e4546b51758c5796821ed4377f6", "astute_sha": "484d5038b81b7260597be027b1265dc88091026b", "fuel-ostf_sha": "1ae384a28b42d5325bd5d2546aead1e9d502f6a8", "release": "6.1", "fuelmain_sha": "1c03fb884d3e79165a2406d00a5ea8679e35f4f7"

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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