NFs-utilis

Hi
I installed Suse cloud 6 and i want add external ntp server and i got this erorr:

Failed to apply the proposal to: adminserver.cloud.com
Most recent logged lines from the Chef run:
[2016-12-06T16:27:01-05:00] INFO: Processing template[/etc/profile.d/zzz-prompt.csh] action create (provisioner::base line 352)
[2016-12-06T16:27:01-05:00] INFO: Processing template[/etc/sh.shrc.local] action create (provisioner::base line 392)
[2016-12-06T16:27:01-05:00] INFO: Processing package[dhcp-server] action install (dhcp::default line 28)
[2016-12-06T16:27:01-05:00] INFO: Processing directory[/etc/dhcp3] action create (dhcp::default line 31)
[2016-12-06T16:27:01-05:00] INFO: Processing directory[/etc/dhcp3/groups.d] action create (dhcp::default line 32)
[2016-12-06T16:27:01-05:00] INFO: Processing directory[/etc/dhcp3/subnets.d] action create (dhcp::default line 33)
[2016-12-06T16:27:01-05:00] INFO: Processing directory[/etc/dhcp3/hosts.d] action create (dhcp::default line 34)
[2016-12-06T16:27:01-05:00] INFO: Processing file[/etc/dhcp3/groups.d/group_list.conf] action create (dhcp::default line 36)
[2016-12-06T16:27:01-05:00] INFO: Processing file[/etc/dhcp3/subnets.d/subnet_list.conf] action create (dhcp::default line 41)
[2016-12-06T16:27:01-05:00] INFO: Processing file[/etc/dhcp3/hosts.d/host_list.conf] action create (dhcp::default line 46)
[2016-12-06T16:27:01-05:00] INFO: Processing bash[build omapi key] action run (dhcp::default line 52)
[2016-12-06T16:27:01-05:00] INFO: Processing template[/etc/dhcpd.conf] action create (dhcp::default line 134)
[2016-12-06T16:27:01-05:00] INFO: Processing template[/etc/sysconfig/dhcpd] action create (dhcp::default line 143)
[2016-12-06T16:27:01-05:00] INFO: Processing service[dhcp3-server] action enable (dhcp::default line 153)
[2016-12-06T16:27:01-05:00] INFO: Processing package[nfs-utils] action install (nfs-server::default line 49)

================================================================================
Error executing action install on resource ‘package[nfs-utils]’

Chef::Exceptions::Package

zypper failed - #!

Resource Declaration:

In /var/chef/cache/cookbooks/nfs-server/recipes/default.rb

49: package “nfs-utils”
50: rpc_service = “rpcbind”

Compiled Resource:

Declared in /var/chef/cache/cookbooks/nfs-server/recipes/default.rb:49:in `from_file’

package(“nfs-utils”) do
action :install
retries 0
retry_delay 2
package_name “nfs-utils”
cookbook_name “nfs-server”
recipe_name “default”
end

[2016-12-06T16:27:18-05:00] ERROR: Running exception handlers
[2016-12-06T16:27:18-05:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2016-12-06T16:27:18-05:00] ERROR: Exception handlers complete
[2016-12-06T16:27:18-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-12-06T16:27:18-05:00] FATAL: Chef::Exceptions::package: package[nfs-utils] (nfs-server::default line 49) had an error: Chef::Exceptions::package: zypper failed - #!

After installing suse cloud 6 i don’t have connection to internet i try retake snapshot from virtualbox and check with guide what im doing wrong , but it feels i didn’t miss anythink . I try also update this package ,but in result i have the highest version of it . I get this error also when i want set up root password to direct login.

[QUOTE=naukasuse12;35649]Hi
I installed Suse cloud 6 and i want add external ntp server and i got this erorr:

Failed to apply the proposal to: adminserver.cloud.com
Most recent logged lines from the Chef run:
[2016-12-06T16:27:01-05:00] INFO: Processing template[/etc/profile.d/zzz-prompt.csh] action create (provisioner::base line 352)
[2016-12-06T16:27:01-05:00] INFO: Processing template[/etc/sh.shrc.local] action create (provisioner::base line 392)
[2016-12-06T16:27:01-05:00] INFO: Processing package[dhcp-server] action install (dhcp::default line 28)
[2016-12-06T16:27:01-05:00] INFO: Processing directory[/etc/dhcp3] action create (dhcp::default line 31)
[2016-12-06T16:27:01-05:00] INFO: Processing directory[/etc/dhcp3/groups.d] action create (dhcp::default line 32)
[2016-12-06T16:27:01-05:00] INFO: Processing directory[/etc/dhcp3/subnets.d] action create (dhcp::default line 33)
[2016-12-06T16:27:01-05:00] INFO: Processing directory[/etc/dhcp3/hosts.d] action create (dhcp::default line 34)
[2016-12-06T16:27:01-05:00] INFO: Processing file[/etc/dhcp3/groups.d/group_list.conf] action create (dhcp::default line 36)
[2016-12-06T16:27:01-05:00] INFO: Processing file[/etc/dhcp3/subnets.d/subnet_list.conf] action create (dhcp::default line 41)
[2016-12-06T16:27:01-05:00] INFO: Processing file[/etc/dhcp3/hosts.d/host_list.conf] action create (dhcp::default line 46)
[2016-12-06T16:27:01-05:00] INFO: Processing bash[build omapi key] action run (dhcp::default line 52)
[2016-12-06T16:27:01-05:00] INFO: Processing template[/etc/dhcpd.conf] action create (dhcp::default line 134)
[2016-12-06T16:27:01-05:00] INFO: Processing template[/etc/sysconfig/dhcpd] action create (dhcp::default line 143)
[2016-12-06T16:27:01-05:00] INFO: Processing service[dhcp3-server] action enable (dhcp::default line 153)
[2016-12-06T16:27:01-05:00] INFO: Processing package[nfs-utils] action install (nfs-server::default line 49)

================================================================================
Error executing action install on resource ‘package[nfs-utils]’

Chef::Exceptions::Package

zypper failed - #!

Resource Declaration:

In /var/chef/cache/cookbooks/nfs-server/recipes/default.rb

49: package “nfs-utils”
50: rpc_service = “rpcbind”

Compiled Resource:

Declared in /var/chef/cache/cookbooks/nfs-server/recipes/default.rb:49:in `from_file’

package(“nfs-utils”) do
action :install
retries 0
retry_delay 2
package_name “nfs-utils”
cookbook_name “nfs-server”
recipe_name “default”
end

[2016-12-06T16:27:18-05:00] ERROR: Running exception handlers
[2016-12-06T16:27:18-05:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2016-12-06T16:27:18-05:00] ERROR: Exception handlers complete
[2016-12-06T16:27:18-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-12-06T16:27:18-05:00] FATAL: Chef::Exceptions::package: package[nfs-utils] (nfs-server::default line 49) had an error: Chef::Exceptions::package: zypper failed - #!

After installing suse cloud 6 i don’t have connection to internet i try retake snapshot from virtualbox and check with guide what im doing wrong , but it feels i didn’t miss anythink . I try also update this package ,but in result i have the highest version of it . I get this error also when i want set up root password to direct login.[/QUOTE]

I cant setap nodes to . they have status Hardware installed and they stay in this status

Hi,

On which node did you try the manual install? On your control/compute node(s) or the admin server? I would assume that you don’t have the required pool and update repositories for SLES12SP1 configured on your admin server:
/srv/tftpboot/suse-12.1/x86_64/repos/SLES12-SP1-Pool/
/srv/tftpboot/suse-12.1/x86_64/repos/SLES12-SP1-Updates/

Have you followed these steps? https://www.suse.com/documentation/suse-openstack-cloud-6/singlehtml/book_cloud_deploy/book_cloud_deploy.html#cha.depl.repo_conf

The admin would be ntp-server, and all other nodes would be ntp-clients, but if they can’t reach your product repository, crowbar won’t be able to install the necessary software.
I can’t say anything about the internet connectivity, that’s not really my strong suit :smiley:

[QUOTE=eblock;35662]Hi,

On which node did you try the manual install? On your control/compute node(s) or the admin server? I would assume that you don’t have the required pool and update repositories for SLES12SP1 configured on your admin server:
/srv/tftpboot/suse-12.1/x86_64/repos/SLES12-SP1-Pool/
/srv/tftpboot/suse-12.1/x86_64/repos/SLES12-SP1-Updates/

Have you followed these steps? https://www.suse.com/documentation/suse-openstack-cloud-6/singlehtml/book_cloud_deploy/book_cloud_deploy.html#cha.depl.repo_conf

The admin would be ntp-server, and all other nodes would be ntp-clients, but if they can’t reach your product repository, crowbar won’t be able to install the necessary software.
I can’t say anything about the internet connectivity, that’s not really my strong suit :-D[/QUOTE]

yes i copied those Cds and i have trouble with admin server.

On 08/12/16 13:04, naukasuse12 wrote:
[color=blue]

yes i copied those Cds and i have trouble with admin server.[/color]

Re-reading your original post you said “i want add external ntp server”
but also “i don’t have connection to internet” - without the latter you
can’t do the former.

In order to install SUSE OpenStack Cloud time must be synchronised and
if it isn’t it can affect things you might not expect to be affected
(but it’s not necessarily reported as a time synchronisation problem).

Since you are using VirtualBox you may find the slides from my Getting
Started with SUSE OpenStack Cloud session I recently presented at
SUSECON useful - they’re available at
https://susecon2016.smarteventscloud.com/connect/sessionDetail.ww?SESSION_ID=88917

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

[QUOTE=smflood;35673]On 08/12/16 13:04, naukasuse12 wrote:
[color=blue]

yes i copied those Cds and i have trouble with admin server.[/color]

Re-reading your original post you said “i want add external ntp server”
but also “i don’t have connection to internet” - without the latter you
can’t do the former.

In order to install SUSE OpenStack Cloud time must be synchronised and
if it isn’t it can affect things you might not expect to be affected
(but it’s not necessarily reported as a time synchronisation problem).

Since you are using VirtualBox you may find the slides from my Getting
Started with SUSE OpenStack Cloud session I recently presented at
SUSECON useful - they’re available at
https://susecon2016.smarteventscloud.com/connect/sessionDetail.ww?SESSION_ID=88917

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------[/QUOTE]

I do installation again so ,

I got this same configuration like in you presentation execp i update my repos while i got internet via smt.

My conf is this:

i got 2 nic cards on virtualbox

  • one addhost only 192.168.124.1 255.255.255.0 no dhcp
    -second is normal nat ( i lose him after launch instalation script

Ntp is my gateway 192.168.124.1 it works fine

node are present and responding but suse cloud don’t want install sledgehammer on it . I allocate them ,and they stay in hardware installed state
all my nodes has one card add host only .

[QUOTE=naukasuse12;35681]I do installation again so ,

I got this same configuration like in you presentation execp i update my repos while i got internet via smt.

My conf is this:

i got 2 nic cards on virtualbox

  • one addhost only 192.168.124.1 255.255.255.0 no dhcp
    -second is normal nat ( i lose him after launch instalation script

Ntp is my gateway 192.168.124.1 it works fine

node are present and responding but suse cloud don’t want install sledgehammer on it . I allocate them ,and they stay in hardware installed state
all my nodes has one card add host only .[/QUOTE]
I mean crowbar try install the software but it fails idk why . He got strange loop . He enter to installing state , reset my node vm , reseted vm become not ready (gray state ) and after few sec/min it back to installed hardware state . and that again again .

logs /var/log/crowbar/sledgehammer:

https://www.dropbox.com/s/r5u4bj9580mgapp/error…PNG?dl=0

[QUOTE=naukasuse12;35682]I mean crowbar try install the software but it fails idk why . He got strange loop . He enter to installing state , reset my node vm , reseted vm become not ready (gray state ) and after few sec/min it back to installed hardware state . and that again again .

logs /var/log/crowbar/sledgehammer:

https://www.dropbox.com/s/r5u4bj9580mgapp/error…PNG?dl=0[/QUOTE]

logs form chef
https://www.dropbox.com/s/q4ru7mcz3e3am1t/error3.PNG?dl=0
https://www.dropbox.com/s/5pkl31h1evap2y0/error2.PNG?dl=0

[QUOTE=naukasuse12;35683]logs form chef
https://www.dropbox.com/s/q4ru7mcz3e3am1t/error3.PNG?dl=0
https://www.dropbox.com/s/5pkl31h1evap2y0/error2.PNG?dl=0[/QUOTE]

Ok i solve this problem . I add connection to internet via bridige adapter instead nat. And set up bastion on proper ip now i get everythink fine.But ! I cant add ssh-key i got this error

Failed to apply the proposal to: d08-00-27-65-09-84.cloud.com
Most recent logged lines from the Chef run:
50: hash_string = $1.gsub(/\\([^"])/) { |m| ‘\\’ + m }
51:
52: Shellwords.split(hash_string).each do |kvpair|
53: break if kvpair == “op”
54: unless kvpair =~ /^(.+?)=(.)$/
55>> raise "Couldn’t understand ‘#{kvpair}’ for ‘#{data_type}’ section “\
56: “of #{name} resource (definition was [#{obj_definition}])”
57: end
58: k, v = $1, $2
59: h[k] = v.sub(/^”(.
)"$/, “\1”)
60: end
61: h
62: end
63: end
64: end

[2016-12-11T19:40:08+01:00] ERROR: Running exception handlers
[2016-12-11T19:40:08+01:00] ERROR: Report handler Chef::Handler::ErrorReport raised #
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in encode' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in to_json’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in to_json' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/2.1.0/json/common.rb:285:in generate’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/2.1.0/json/common.rb:285:in pretty_generate' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/json_compat.rb:107:in to_json_pretty’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler/error_report.rb:27:in report' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:226:in run_report_unsafe’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:214:in run_report_safely' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:118:in block in run_exception_handlers’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:117:in each' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:117:in run_exception_handlers’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:127:in block in ' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:119:in call’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:119:in block in run_failed' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:118:in each’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:118:in run_failed' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:446:in rescue in do_run’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:455:in do_run' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:184:in run’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:133:in run_chef_client' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:306:in block in run_application’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:294:in loop' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:294:in run_application’
[2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:65:in run' [2016-12-11T19:40:08+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/bin/chef-client:26:in
[2016-12-11T19:40:08+01:00] ERROR: /usr/bin/chef-client:23:in load' [2016-12-11T19:40:08+01:00] ERROR: /usr/bin/chef-client:23:in
[2016-12-11T19:40:08+01:00] ERROR: Exception handlers complete
[2016-12-11T19:40:08+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-12-11T19:40:08+01:00] FATAL: RuntimeError: Couldn’t understand ‘3’ for ‘params’ section of Pacemaker::Resource resource (definition was [ params 3])