Chapter 2. Basic environment in OpenStack Installation Guide for Ubuntu 14.04  - juno

Bug #1396460 reported by Cong Yue
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Undecided
Sam Yaple

Bug Description

To Enable the Ubuntu Cloud archive repository for ubuntu 14.04 as
# add-apt-repository cloud-archive:juno

We need to add the trusty-updates first as
# apt-get update && apt-get install -y software-properties-common
# add-apt-repository -y cloud-archive:juno

I confirmed it in my PC. Hope this can be updated in the office documentation. I also I heard there are other gaps between the documentation and the actual installation procedure. Does this installation procedure confirmed by some person?

Thanks,

-----------------------------------
Built: 2014-11-25T20:36:28 00:00
git SHA: 15052e3e76aebcf8e105447a5233a9331cb14214
URL: http://docs.openstack.org/juno/install-guide/install/apt/content/ch_basic_environment.html

Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

The installation of software-properties-common is documented in the paragraph just before.

Maybe we could add an explicit 'apt-get update' to avoid surprises.

Revision history for this message
Steven Deaton (sdeaton2) wrote :

If you are saying that 'software-properties-common' is needed instead of 'python-software-properties', then yes.. .correct.. and this is being worked on. Thank you.

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

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

Changed in openstack-manuals:
assignee: nobody → Sam Yaple (s8m)
status: New → In Progress
Revision history for this message
Darren Chan (dazzachan) wrote :

I'm fairly certain Matt Kassawara has tested the procedure since he was updating the Installation Guide for Juno.

Revision history for this message
Sam Yaple (s8m) wrote :

Darren, python-software-properties does not provide add-apt-repository. Further, it does not pull in software-properties-common. I believe python-software-properties _did_ provide it before 12.04 Ubuntu, but it has not in quite a while.

# apt-file search /usr/bin/add-apt-repository
software-properties-common: /usr/bin/add-apt-repository

Additionally, it should be noted that this needs to be pulled from the trusty-updates repo since version software-properties-common requires version 0.92.37.2 to support cloud-archive:juno. See https://launchpad.net/bugs/1350291

# apt-cache policy software-properties-common
software-properties-common:
  Installed: 0.92.37.2
  Candidate: 0.92.37.2
  Version table:
 *** 0.92.37.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.92.36 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-manuals (master)

Change abandoned by Sam Yaple (<email address hidden>) on branch: master
Review: https://review.openstack.org/137317
Reason: Superseded by https://review.openstack.org/#/c/137707/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sam Yaple (<email address hidden>) on branch: master
Review: https://review.openstack.org/137703
Reason: Superseded by https://review.openstack.org/#/c/137707/

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

Reviewed: https://review.openstack.org/137707
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=49b225d9a04b7d2423773a47fa7de10e8ae04f76
Submitter: Jenkins
Branch: master

commit 49b225d9a04b7d2423773a47fa7de10e8ae04f76
Author: Sam Yaple <email address hidden>
Date: Thu Nov 27 15:42:23 2014 -0600

    Install cloud-archive repository manually

    Removed using the apt-add-repository tool due to differences in versions
    and package names. Using this tool would require checking if the trusty-updates
    repository was enabled and add an additional step to enable the repo if it was
    no enabled.

    Change-Id: I75c486b80ecaff81ab7afd835934c1697f2dc91b
    related-bug: 1350291
    closes-bug: 1396460
    backport: juno

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/137791

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (stable/juno)

Reviewed: https://review.openstack.org/137791
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=7f772cbc317bfbd8a3542aaee16baa9eee60b9fa
Submitter: Jenkins
Branch: stable/juno

commit 7f772cbc317bfbd8a3542aaee16baa9eee60b9fa
Author: Sam Yaple <email address hidden>
Date: Thu Nov 27 15:42:23 2014 -0600

    Install cloud-archive repository manually

    Removed using the apt-add-repository tool due to differences in versions
    and package names. Using this tool would require checking if the trusty-updates
    repository was enabled and add an additional step to enable the repo if it was
    no enabled.

    Change-Id: I75c486b80ecaff81ab7afd835934c1697f2dc91b
    related-bug: 1350291
    closes-bug: 1396460
    backport: juno
    (cherry picked from commit 49b225d9a04b7d2423773a47fa7de10e8ae04f76)

tags: added: in-stable-juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

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.