Skip to content

Instantly share code, notes, and snippets.

View jtomasek's full-sized avatar

Jiri Tomasek jtomasek

  • SUSE
  • Usti nad Orlici, Czech Republic
View GitHub Profile
+------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
| GUI Actions |
2014-09-17 12:52:40.515 | ++ echo /home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-initrd
2014-09-17 12:52:40.515 | ++ break
2014-09-17 12:52:40.515 | ++ true
2014-09-17 12:52:40.515 | + ramdisk=/home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-initrd
2014-09-17 12:52:40.515 | ++ for f in '"$xdir/"*.img' '"$xdir/"ami-*/image'
2014-09-17 12:52:40.515 | ++ '[' -f /home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img ']'
2014-09-17 12:52:40.515 | ++ echo /home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img
2014-09-17 12:52:40.515 | ++ break
2014-09-17 12:52:40.515 | ++ true
2014-09-17 12:52:40.516 | + image=/home/jtomasek/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
== ChangeColumnDefaultFormStepOnStaypuftDeployment: migrating ================
-- change_column(:staypuft_deployments, :form_step, :string, {:default=>"inactive", :null=>false})
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
SQLite3::ConstraintException: staypuft_deployments.form_step may not be NULL: INSERT INTO "staypuft_deployments" ("id","name","description","layout_id","hostgroup_id","created_at","updated_at","form_step") VALUES (1, 'My Deployment', '', 4, 2, '2014-04-09 11:55:48.494913', '2014-04-09 11:55:58.550448', NULL)/root/foreman/vendor/bundle/ruby/1.9.1/gems/sqlite3-1.3.9/lib/sqlite3/statement.rb:108:in `step'
/root/foreman/vendor/bundle/ruby/1.9.1/gems/sqlite3-1.3.9/lib/sqlite3/statement.rb:108:in `block in each'
/root/foreman/vendor/bundle/ruby/
Validation failed: Name must not include periods, Name is invalid, Environment can't be blank, Architecture can't be blank, Operatingsys│→ git st
tem can't be blank, Domain can't be blank, Ptable cant be blank unless a custom partition has been defined (ActiveRecord::RecordInvalid)│# Not currently on any branch.
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/validations.rb:56:in `save!' │nothing to commit (working directory clean)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/attribute_methods/dirty.rb:33:in `save!' │root@foreman: ~/staypuft
<div class="row">
<%= field(f, :layout_id, :label => _('Deployment Layout')) do
radio_button_f_non_inline(f, :layout_id, :value=>1, :text=> _("Distributed, Nova Networking"))+
radio_button_f_non_inline(f, :layout_id, :value=>2, :text=> _("Distributed, Neutron Networking"))+
radio_button_f_non_inline(f, :layout_id, :value=>3, :text=> _("Distributed With High Availability, Nova Networking"))+
radio_button_f_non_inline(f, :layout_id, :value=>4, :text=> _("Distributed With High Availability, Neutron Networking"))
end %>
</div>
<div class="row">
# -*- coding: utf8 -*-
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
def test_index_nodes_list_exception(self):
with patch.object(tuskar.BaremetalNode, 'list') as mock_method:
mock_method.side_effect = self.exceptions.tuskar
res = self.client.get(INDEX_URL)
self.assertEqual(mock_method.call_count, 1)
self.assertRedirectsNoFollow(res, RESOURCES_OVERVIEW_URL)
# -*- coding: utf8 -*-
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
Page not found (404)
Request Method: GET
Request URL: http://fedora18vm:3000/jasmine/TemplatesTests/
Using the URLconf defined in openstack_dashboard.urls, Django tried these URL patterns, in this order:
^$ [name='splash']
^auth/
^home/$ [name='user_home']
^i18n/js/(?P<packages>\S+?)/$ [name='jsi18n']
^i18n/setlang/$ [name='set_language']
^i18n/
DEST=/opt/stack
DATA_DIR=$DEST/data
# no loging to file, it's far to big
# LOGFILE=$DATA_DIR/logs/stack.log
# SCREEN_LOGDIR=$DATA_DIR/logs
VERBOSE=True
disable_service mysql
enable_service postgresql
disable_service rabbit