TM Forum Community

Expand all | Collapse all

openstack installation with devstack fails

  • 1.  openstack installation with devstack fails

    Posted Sep 22, 2018 02:48

    DevStack is a series of extensible scripts used to quickly bring up a complete OpenStack environment based on the latest versions of everything from git master.

    I am running the command ./stack.sh

    openstack installation with devstack fails. The error message is as below:

    nova-compute no process found.



    ------------------------------
    Soujanya Naganuri
    UNSPECIFIED
    ------------------------------


  • 2.  RE: openstack installation with devstack fails

    TM Forum Member
    Posted Sep 24, 2018 02:28

    For my minimal installation of DevStack I am using new installation of Ubuntu Server 16.10 (clean installation and isolated instance recommended due to significant changes to the system). In terms of hardware configuration, the following recommendations are provided. However, this will all be dependant on your use case for DevStack and what you require to achieve and DevStack may also be installed without satisfying the below criteria but you may experience performance/stability issues.

    • Processor – at least 2 cores
    • Memory – at least 8GB
    • Hard Drive – at least 60GB

    First of all we will create a user account named 'stack' to install DevStack and grant the user sudo privileges with the no password parameter. It is important in this step that we do not complete the installation as the root user.

    1

    2

    sudo adduser stack

    echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

    Now log out as the current user and reconnect as the 'stack' user created in the previous step and clone the repository to the current directory, in this example i am changing the directory to '/var' to create my local copy.

    1

    2

    cd /var

    sudo git clone git://github.com/openstack-dev/devstack.git

    We will now need to create a configuration file (/var/local.conf) to specify user configuration variables to use when the installation script (/var/devstack/stack.sh) is executed in a subsequent step. The installation will complete without

    The below example, contains only password variables so that you are not required to input the values at installation. For a more detailed configuration file containing additional parameters, check out the sample from the respoistory.

    1

    2

    cd /var/devstack

    sudo vi local.conf

    1

    2

    3

    4

    5

    [[local|localrc]]

    ADMIN_PASSWORD=openstack

    DATABASE_PASSWORD=$ADMIN_PASSWORD

    RABBIT_PASSWORD=$ADMIN_PASSWORD

    SERVICE_PASSWORD=$ADMIN_PASSWORD

    Once the configuration file has been created, we can now execute the installation script (stack.sh). The installation process will take approximately 15-20 minutes to complete to which will receive console output. Once the installation has completed you will receive an installation summary, URLs, accounts and passwords.

    1

    ./stack.sh

    Once the installation has completed successfully you should be able to browse to the Horizon dashboard and authenticate with the admin credentials configured during installation, at http://{ip address}/dashboard.

    If you need to remove the installation of DevStack there is a script included in the repository (./clean.sh) which will remove the installation of DevStack and dependancies and then cleanup the directories touched by the installation. For a detailed list of impacted files and directories during the installation refer to this link.

    1

    2

    3

    4

    cd /var/devstack

    ./clean.sh

    rm -rf /opt/stack

    rm -rf /usr/local/bin

    From my initial attempt at installation, I encountered a number of issues which appear to be permission related I believe this was due to not cloning the repository as the 'stack' user account used for the installation. In this case, to resolve you could run the below or alternatively clean-up your installation process and repeat the installation.

    1

    2

    sudo chown -R stack:stack /var/devstack

    sudo chmod 770 /var/devstack

     

    Best regards,

    Getachew Siyoum Interconnect Voice Contracts & Expansion Specialist (MCD)
    Mobile: +251 (0)91 150 9571
    e-mail: getachew.siyoum@ethiotelecom.et
    Web: www.ethiotelecom.et

     

     



    ------------------------------
    Getachew Siyoum
    Ethio Telecom
    ------------------------------