deployment fails because of malformed yaml due to missing ips from hosts file

Bug #1748262 reported by Adriano Petrich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Critical
Unassigned

Bug Description

On a deployment deploy_steps_playbook.yaml fails with

2018-02-08 12:19:46 | The error appears to have been in '/var/lib/mistral/6c93948f-9431-40e9-81f6-bf8af3a64890/group_vars/centos-7-ovh-bhs1-0002443754': line 2386, column 9, but may
2018-02-08 12:19:47 | be elsewhere in the file depending on the eOvercloud configuration failed.
2018-02-08 12:19:47 | END return value: 1
2018-02-08 12:19:47 | xact syntax problem.
2018-02-08 12:19:47 |
2018-02-08 12:19:47 | The offending line appears to be:
2018-02-08 12:19:47 |
2018-02-08 12:19:47 | overcloud.storagemgmt.localdomain
2018-02-08 12:19:47 | 192.168.24.3 centos-7-ovh-bhs1-0002443754.localdomain centos-7-ovh-bhs1-0002443754
2018-02-08 12:19:47 | ^ here
2018-02-08 12:19:47 |
2018-02-08 12:19:47 | exception type: <class 'yaml.parser.ParserError'>
2018-02-08 12:19:47 | exception: while parsing a block mapping
2018-02-08 12:19:47 | in "<unicode string>", line 2377, column 7
2018-02-08 12:19:47 | did not find expected key
2018-02-08 12:19:47 | in "<unicode string>", line 2386, column 9

The error happens on this piece of yaml

<.... snip, snip...>
ControllerHostsDeployment:
  config: |
<.... snip, snip...>
  creation_time: "2018-02-08T13:02:58Z"
  deployment_name: ControllerHostsDeployment
  group: script
  id: b590a39d-e76d-4cab-bf9b-cbdcf0cc63a9
  inputs:
    - name: hosts
      description:
      type: String
      value: |-
          overcloud.ctlplane.localdomain
          overcloud.localdomain
          overcloud.internalapi.localdomain
          overcloud.storage.localdomain
          overcloud.storagemgmt.localdomain
        192.168.24.4 centos-7-ovh-gra1-0002444181.localdomain centos-7-ovh-gra1-0002444181
<.... snip, snip...>

as seen here http://logs.openstack.org/29/542129/1/check/tripleo-ci-centos-7-containers-multinode/1e8f328/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz#_2018-02-08_12_19_47

From what I can see it is related to http://git.openstack.org/cgit/openstack/tripleo-heat-templates/tree/hosts-config.yaml not generating the proper inputs.

Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
wes hayutin (weshayutin)
tags: added: alert ci
Revision history for this message
Adriano Petrich (apetrich) wrote :

Problem seems to be gone. Not sure what fixed it but I'm not seeing it anymore. Marked as invalid because of that. If it reappears we can reopen the bug

Changed in tripleo:
status: Triaged → Invalid
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.