Testing of lab environments [vagrant, heat] results

Bug #1551817 reported by Aleš Komárek
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-salt
In Progress
Undecided
Adam Tengler

Bug Description

Report any issues during initial testing of vagrant and heat on windows and linux.
* Linux + vagrant
* Linux + heat
* Windows + vagrant
* Windows + heat

Revision history for this message
Adam Tengler (atengler) wrote :

I tested salt deployment of OpenStack core services on linux with heat and it works with no issues so far

Changed in openstack-salt:
assignee: nobody → Adam Tengler (adam-tengler)
status: New → In Progress
Revision history for this message
Petr Jediný (pjediny) wrote :

I've tested Windows + Vagrant variation of the openstack_config VM and it does not work. Looks like there is something wrong with the salt.bootstrap_options.

Revision history for this message
PhilippeA (philippe-amelant) wrote :

I've tested on osx + vagrant
-config node :
In Documentations quickstart you have to launch /vagrant/bootstrap/salt-master-pkg.sh
This file does not exist, unless you have bootstrap-salt-master.sh which fail on salt step with
error :

Class 'system.reclass.storage.system.mitaka_ubuntu_opencontrail_single' (in ancestry of node './config.openstack.local') not found under yaml_fs:///srv/salt/reclass/classes
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/reclass/storage/yaml_fs/__init__.py", line 93, in get_class
    path = os.path.join(self.classes_uri, self._classes[name])
KeyError: 'system.reclass.storage.system.mitaka_ubuntu_opencontrail_single'

This look like scripts can't get the formula then stop
This lead the salt highstate to fail

[ERROR ] Data passed to highstate outputter is not a valid highstate return: {'local': ['Pillar failed to render with the following messages:', 'Failed to load ext_pillar reclass: ext_pillar.reclass: ']}

[WARNING ] /usr/lib/python2.7/dist-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.

Revision history for this message
Jakub Pavlik (pavlk-jakub) wrote :

Can you try kilo first? I am not sure whether model is prepared for mitaka. Migration to mitaka later is easy.

Revision history for this message
PhilippeA (philippe-amelant) wrote :

It work thanks

I suppose hot template work out of the box because it default to kilo but bootstrap file for vagrant default to mitaka

Revision history for this message
Robert Hedges (hedges) wrote :

I had the same issue as @PhillipA above and was able to get the VM to provision. But the orchstrate step fails with:

[ERROR ] Rendering exception occurred: Jinja syntax error: Encountered unknown tag '_dummy'. Jinja was looking for the following tags: 'elif' or 'else' or 'endif'. The innermost block that needs to be closed is 'if'.; line 15

---
[...]

{%- if salt['file.file_exists']('salt://'+formula_name+'/meta/salt.yml') %}
{%- set grains_fragment_file = formula_name+'/meta/salt.yml' %}
{%- macro load_grains_file() %}{% include grains_fragment_file %}{% endmacro %}
{%- set grains_yaml = load_grains_file()|load_yaml %}
{% _dummy = formula_dict.update{formula_name: grains_yaml.orchestrate }} <======================
{%- else %}
{%- endif %}
{%- endfor %}

/srv/salt/env/{{ environment_name}}/orchestrate.sls:

Revision history for this message
Robert Hedges (hedges) wrote :

I should have noted, that to get the VMs to provision I had to change the OS_version to kilo in bootstrap-salt-master.sh

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.