Quickstart deployment fails with "directory /var/www/openstack-tripleo-ui does not exist"

Bug #1698105 reported by Carlos Camacho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Low
Carlos Camacho

Bug Description

2017-06-14 10:50:11 | 2017-06-14 10:50:11,323 INFO: Error: Cannot create /var/www/openstack-tripleo-ui/dist; parent directory /var/www/openstack-tripleo-ui does not exist
2017-06-14 10:50:11 | 2017-06-14 10:50:11,323 INFO: Error: /Stage[main]/Tripleo::Ui/Apache::Vhost[tripleo-ui]/File[/var/www/openstack-tripleo-ui/dist]/ensure: change from absent to directory failed: Cannot create /var/www/openstack-tripleo-ui/dist; parent directory /var/www/openstack-tripleo-ui does not exist
2017-06-14 10:50:11 | 2017-06-14 10:50:11,324 INFO: Notice: /Stage[main]/Tripleo::Ui/File[/var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js]: Dependency File[/var/www/openstack-tripleo-ui/dist] has failures: true
2017-06-14 10:50:11 | 2017-06-14 10:50:11,324 INFO: Warning: /Stage[main]/Tripleo::Ui/File[/var/www/openstack-tripleo-ui/dist/tripleo_ui_config.js]: Skipping because of failed dependencies
2017-06-14 10:50:11 | 2017-06-14 10:50:11,330 INFO: Notice: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/File[/var/www/cgi-bin/zaqar]/ensure: created
2017-06-14 10:50:11 | 2017-06-14 10:50:11,344 INFO: Notice: /Stage[main]/Zaqar::Wsgi::Apache/Openstacklib::Wsgi::Apache[zaqar_wsgi]/File[zaqar_wsgi]/ensure: defined content as '{md5}3a0f81ec944ad0c68f7db4b58b1f72d6'
2017-06-14 10:50:11 | 2017-06-14 10:50:11,762 INFO: Notice: /Stage[main]/Main/Zaqar::Server_instance[1]/Service[openstack-zaqar@1]/ensure: ensure changed 'stopped' to 'running'
2017-06-14 10:50:11 | 2017-06-14 10:50:11,764 INFO: Notice: /Stage[main]/Zaqar::Deps/Anchor[zaqar::service::end]: Triggered 'refresh' from 2 events
2017-06-14 10:50:11 | 2017-06-14 10:50:11,802 INFO: Notice: /Stage[main]/Apache/Apache::Vhost[default]/Concat[15-default.conf]/File[/etc/httpd/conf.d/15-default.conf]/ensure: defined content as '{md5}a430bf4e003be964b419e7aea251c6c4'

Tags: quickstart ui
Changed in tripleo:
status: New → Triaged
importance: Undecided → Low
Changed in tripleo:
assignee: nobody → Carlos Camacho (ccamacho)
status: Triaged → In Progress
Revision history for this message
Julie Pichon (jpichon) wrote :
tags: added: quickstart ui
Revision history for this message
Carlos Camacho (ccamacho) wrote :
Revision history for this message
Carlos Camacho (ccamacho) wrote :

mmm I think this error is caused by another error (DNS issue). In my env im unable to download the tripleo-ui package.. This is the error:

-15 10:50:49 | 2017-06-15 10:50:49,255 INFO: Error: Execution of '/bin/yum -d 0 -e 0 -y install openstack-tripleo-ui' returned 1: Error downloading packages:
2017-06-15 10:50:49 | 2017-06-15 10:50:49,255 INFO: openstack-tripleo-ui-7.1.1-0.20170609131448.202695f.el7.centos.noarch: [Errno 256] No more mirrors to try.
2017-06-15 10:50:49 | 2017-06-15 10:50:49,255 INFO: Error: /Stage[main]/Tripleo::Profile::Base::Ui/Package[openstack-tripleo-ui]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install openstack-tripleo-ui' returned 1: Error downloading packages:
2017-06-15 10:50:49 | 2017-06-15 10:50:49,255 INFO: openstack-tripleo-ui-7.1.1-0.20170609131448.202695f.el7.centos.noarch: [Errno 256] No more mirrors to try.
2017-06-15 10:51:12 | 2017-06-15 10:51:12,155 INFO: Error: Execution of '/bin/yum -d 0 -e 0 -y install openstack-tripleo-validations' returned 1: Error downloading packages:
2017-06-15 10:51:12 | 2017-06-15 10:51:12,155 INFO: openstack-tripleo-validations-7.1.1-0.20170609083517.e120452.el7.centos.noarch: [Errno 256] No more mirrors to try.
2017-06-15 10:51:12 | 2017-06-15 10:51:12,155 INFO: Error: /Stage[main]/Tripleo::Profile::Base::Validations/Package[openstack-tripleo-validations]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install openstack-tripleo-validations' returned 1: Error downloading packages:
2017-06-15 10:51:12 | 2017-06-15 10:51:12,155 INFO: openstack-tripleo-validations-7.1.1-0.20170609083517.e120452.el7.centos.noarch: [Errno 256] No more mirrors to try.
2017-06-15 10:51:12 | 2017-06-15 10:51:12,227 INFO: Notice: /Stage[main]/Tripleo::Profile::Base::Validations/User[validations]/ensure: created

The deployment is not stopped there and it fails to create the vhost later.

Changed in tripleo:
milestone: none → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

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

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

Reviewed: https://review.openstack.org/474526
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=76b0074c76c067de6e722b7e2a6410ecfcb45fb7
Submitter: Jenkins
Branch: master

commit 76b0074c76c067de6e722b7e2a6410ecfcb45fb7
Author: Carlos Camacho <email address hidden>
Date: Thu Jun 15 11:49:42 2017 +0200

    Require the UI package when creating the virtual host

    Quickstart is failing with this error:

    Error: Cannot create /var/www/openstack-tripleo-ui/dist;
           parent directory /var/www/openstack-tripleo-ui does not exist
    Error: /Stage[main]/Tripleo::Ui/Apache::Vhost[tripleo-ui]/File[/var/www/openstack-tripleo-ui/dist]
           ensure: change from absent to directory
           failed: Cannot create /var/www/openstack-tripleo-ui/dist; parent directory /var/www/openstack-tripleo-ui does not exist

    Puppet cant create the folders tree by itself.

    Closes-bug: 1698105
    Change-Id: I5cce963a6225552f4b7253cb34edc72b392b9dda

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/475352
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=db29cc34af95d31b674484bb87d2b8737c18f1b9
Submitter: Jenkins
Branch: master

commit db29cc34af95d31b674484bb87d2b8737c18f1b9
Author: Carlos Camacho <email address hidden>
Date: Mon Jun 19 13:54:17 2017 +0200

    Move UI package install to base manifest

    We moved the package definition in
    tripleo::profile::base::ui
    to tripleo::ui.

    So forth, this path needs to be updated.

    This is used in I5cce963a6225552f4b7253cb34edc72b392b9dda
    as we removed tripleo::profile::base::ui
    and the package install is now in tripleo::ui

    Change-Id: Ie20ecabea91ca4c2040c5ef3bf6c71b2b53d26ef
    Closes-bug: 1698105
    Depends-on: I5cce963a6225552f4b7253cb34edc72b392b9dda

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

Reviewed: https://review.openstack.org/475387
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=38ac9318c4d35f76cc6a7d06132efc3c2906ea12
Submitter: Jenkins
Branch: master

commit 38ac9318c4d35f76cc6a7d06132efc3c2906ea12
Author: Carlos Camacho <email address hidden>
Date: Mon Jun 19 15:29:28 2017 +0200

    Remove manifest/profile/baseui.pp

    This file is not needed anymore.

    Change-Id: I904443624c18cc5116bc6027c016b9ccdd5e10aa
    Closes-bug: 1698105
    Depends-On: Ie20ecabea91ca4c2040c5ef3bf6c71b2b53d26ef

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 7.2.0

This issue was fixed in the openstack/instack-undercloud 7.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.2.0

This issue was fixed in the openstack/puppet-tripleo 7.2.0 release.

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.