undercloud-aodh.yaml not found

Bug #1818394 reported by Nawar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
Undecided
Unassigned

Bug Description

Description
===========

installing a fresh undercloud (Rocky) node but it failed with exception

Exception: <urlopen error [Errno 2] No such file or directory: '/home/stack/tripleo-heat-installer-templates/environments/services/undercloud-aodh.yaml'>

Steps to reproduce
==================
1- follow instruction in tripleo docs
2- excute openstack undercloud install

Expected result
===============
successful installation of undercloud

 Actual result
=============
installatin failure

Log
=============
rendering j2 template to file: /home/stack/tripleo-heat-installer-templates/./puppet/services/apache.yaml
Exception: <urlopen error [Errno 2] No such file or directory: '/home/stack/tripleo-heat-installer-templates/environments/services/undercloud-aodh.yaml'>
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1216, in _standalone_deploy
    parsed_args)
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/tripleo_deploy.py", line 753, in _deploy_tripleo_heat_templates
    cleanup=parsed_args.cleanup)
  File "/usr/lib/python2.7/site-packages/tripleoclient/utils.py", line 944, in process_multiple_environments
    env_path=env_path)
  File "/usr/lib/python2.7/site-packages/heatclient/common/template_utils.py", line 312, in process_environment_and_files
    raw_env = request.urlopen(env_url).read()
  File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1353, in file_open
    return self.open_local_file(req)
  File "/usr/lib64/python2.7/urllib2.py", line 1393, in open_local_file
    raise URLError(msg)
URLError: <urlopen error [Errno 2] No such file or directory: '/home/stack/tripleo-heat-installer-templates/environments/services/undercloud-aodh.yaml'>
None
Not cleaning working directory /home/stack/tripleo-heat-installer-templates
Not cleaning ansible directory /home/stack/undercloud-ansible-YX0iNQ
Install artifact is located at /home/stack/undercloud-install-20190303085050.tar.bzip2

Revision history for this message
Alex Schultz (alex-schultz) wrote :

Please provide tripleo package versions and repository configuration

Changed in tripleo:
status: New → Incomplete
Revision history for this message
Nawar (nawarix) wrote :

oh sorry

tripleo repos: python2-tripleo-repos-0.0.1-0.20190226080842.98a91a8.el7.noarch.rpm

what do you mean by repository configuration??

and another bug (it's related to previous one):

when I execute this command:
sudo -E tripleo-repos -b rocky current ceph

I got this error
Repository 'tripleo-centos-ceph-luminous': Error parsing config: Error parsing "baseurl = 'None/centos/7/storage/x86_64/ceph-luminous/'": URL must be http, ftp, file or https not ""

I fixed by changing the repos file tripleo-centos-ceph-luminous.repo:
baseurl=None/centos/7/storage/x86_64/ceph-luminous/
to
baseurl=https://buildlogs.centos.org/centos/7/storage/x86_64/ceph-luminous/

Thanks

Nawar (nawarix)
Changed in tripleo:
status: Incomplete → In Progress
Revision history for this message
Nawar (nawarix) wrote :

Hi
I don't know if what I did was a fix but it's working 'I guess'

in file /usr/lib/python2.7/site-packages/tripleoclient/v1/undercloud_config.py

I commented out from TELEMETRY_DOCKER_ENV_YAML list the undercloud-aodh.yaml:

TELEMETRY_DOCKER_ENV_YAML = [
    'environments/services/undercloud-gnocchi.yaml',
    #'environments/services/undercloud-aodh.yaml',
    'environments/services/undercloud-panko.yaml',
    'environments/services/undercloud-ceilometer.yaml']

it seems you omitted aodh in new versions

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.