This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User.current = User.find_by_login 'admin' | |
base_hostgroup = Hostgroup.where(:name => "base_hostgroup").first_or_create! | |
deployment = Staypuft::Deployment.where(:name => "My Openstack Deployment").first_or_initialize | |
deployment.description = "This is a deployment" | |
deployment.layout = Staypuft::Layout.where(:name => "Distributed", | |
:networking => "neutron").first | |
deployment_hostgroup = Hostgroup.where(:name =>"My Openstack Deployment").first_or_initialize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User.current = User.find_by_login 'admin' | |
#---------------------------------------------------------- | |
base_hostgroup = Hostgroup.where(:name => "base_hostgroup").first_or_create! | |
deployment = Staypuft::Deployment.new(:name => SecureRandom.hex) | |
deployment.description = "This is a deployment" | |
deployment.layout = Staypuft::Layout.where(:name => "Distributed", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create DHCP reservation for 52540071a955.example.com-52:54:00:71:a9:55/192.168.100.181 | |
Create DHCP Settings for 52540071a955.example.com task failed with the following error: ERF12-6899 [ProxyAPI::ProxyException]: Unable to set DHCP entry ([RestClient::BadRequest]: 400 Bad Request) for proxy https://precision.example.com:8443/dhcp/mnt/vm-share/sseago-git/foreman/lib/proxy_api/dhcp.rb:66:in `rescue in set' | |
/mnt/vm-share/sseago-git/foreman/lib/proxy_api/dhcp.rb:62:in `set' | |
/mnt/vm-share/sseago-git/foreman/lib/net/dhcp/record.rb:27:in `create' | |
/mnt/vm-share/sseago-git/foreman/app/models/concerns/orchestration/dhcp.rb:22:in `set_dhcp' | |
/mnt/vm-share/sseago-git/foreman/app/models/concerns/orchestration.rb:142:in `execute' | |
/mnt/vm-share/sseago-git/foreman/app/models/concerns/orchestration.rb:85:in `block in process' | |
/mnt/vm-share/sseago-git/foreman/app/models/concerns/orchestration.rb:77:in `each' | |
/mnt/vm-share/sseago-git/foreman/app/models/concerns/orchestration.rb:77:in `process' | |
/mnt/vm-share/sseago-git/foreman/a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@d-181-52540071a955 ~]# pcs status | |
Cluster name: openstack | |
Last updated: Fri May 9 16:16:17 2014 | |
Last change: Fri May 9 14:10:54 2014 via cibadmin on 192.168.100.181 | |
Stack: cman | |
Current DC: 192.168.100.181 - partition WITHOUT quorum | |
Version: 1.1.10-14.el6_5.3-368c726 | |
3 Nodes configured | |
2 Resources configured |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/models/staypuft/service/ui_params.rb b/app/models/staypuft/service/ui_params.rb | |
index 1f02700..aef7fd8 100644 | |
--- a/app/models/staypuft/service/ui_params.rb | |
+++ b/app/models/staypuft/service/ui_params.rb | |
@@ -124,19 +124,20 @@ Staypuft::Service::UI_PARAMS = { | |
'ovs_vlan_ranges', | |
'ovs_vxlan_udp_port'], | |
'Nova-compute' => ['admin_password', | |
+ 'auth_host', | |
'auto_assign_floating_ip', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'quickstack::nova_network::controller': | |
'qpid (non-HA)' | |
'MySQL' | |
'Keystone (non-HA) | |
'Nova (Controller)' | |
'Glance (non-HA)' | |
'Cinder (controller)' | |
'Heat' | |
'Ceilometer' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expected /usr/share/foreman/lib/net/dhcp.rb to define Net::DHCP (LoadError) | |
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:503:in `load_missing_constant' | |
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:192:in `block in const_missing' | |
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:190:in `each' | |
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:190:in `const_missing' | |
/opt/rh/ruby193/root/usr/share/gems/gems/net-ldap-0.3.1/lib/net/ldap/pdu.rb:254:in `const_missing' | |
/usr/share/foreman/app/models/concerns/orchestration/dhcp.rb:16:in `dhcp_record' | |
/usr/share/foreman/app/models/concerns/orchestration/dhcp.rb:140:in `dhcp_conflict_detected?' | |
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:504:in `_run__776817756702497949__validation__1600629314668201047__callbacks' | |
/opt/rh/ruby193/roo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --no-check-certificate https://raw.githubusercontent.com/sseago/staypuft/master/app/models/staypuft/deployment/ips.rb | |
mv ips.rb /opt/rh/ruby193/root/usr/share/gems/gems/staypuft-0.1.13/app/models/staypuft/deployment/ips.rb | |
wget --no-check-certificate https://raw.githubusercontent.com/theforeman/staypuft/master/app/lib/staypuft/seeder.rb | |
mv seeder.rb /opt/rh/ruby193/root/usr/share/gems/gems/staypuft-0.1.13/app/lib/staypuft/seeder.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/lib/staypuft/seeder.rb b/app/lib/staypuft/seeder.rb | |
index 36615ef..1090f5a 100644 | |
--- a/app/lib/staypuft/seeder.rb | |
+++ b/app/lib/staypuft/seeder.rb | |
@@ -164,6 +164,7 @@ module Staypuft | |
def functional_dependencies | |
amqp_provider = { :string => '<%= @host.deployment.amqp_provider %>' } | |
neutron = { :string => '<%= @host.deployment.neutron_networking? %>' } | |
+ ceilometer = { :string => '<%= !@host.deployment.ha? %>' } | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff | |
diff --git a/app/models/staypuft/concerns/nic_fencing_extensions.rb b/app/models/staypuft/concerns/nic_fencing_extensions.rb | |
index 1ab184c..a751b06 100644 | |
--- a/app/models/staypuft/concerns/nic_fencing_extensions.rb | |
+++ b/app/models/staypuft/concerns/nic_fencing_extensions.rb | |
@@ -14,3 +14,11 @@ module Staypuft | |
end | |
end | |
end | |
+ |