亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 11576 | 回復(fù): 4
打印 上一主題 下一主題

[puppet] puppet error 400 (已解決) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2013-11-06 17:58 |只看該作者 |倒序?yàn)g覽
本帖最后由 a6447 于 2013-11-07 11:34 編輯

clientA:
/etc/hosts
172.18.21.136   test01.abc.com          test01
172.20.0.10     cluster01.abc.com     cluster01
172.20.0.13     desktop.abc.com       desktop
[root@cluster01 puppet]# hostname
cluster01.abc.com
[root@cluster01 puppet]# /etc/init.d/puppet start
Starting puppet:                                           [  OK  ]


serverB:
/etc/hosts
172.18.21.136   test01.abc.com          test01
172.20.0.10     cluster01.abc.com     cluster01
172.20.0.13     desktop.abc.com       desktop
[root@desktop puppet]# hostname
desktop.yihuacomputer.com
[root@desktop puppet]# /etc/init.d/puppetmaster start
Starting puppetmaster:                                     [  OK  ]

A和B的時(shí)間是一致的
=======================================================
實(shí)驗(yàn)步驟:
1、A
[root@cluster01 puppet]# puppet agent --server=desktop.abc.com --no-daemonize --verbose --onetime
info: Creating a new SSL key for cluster01.abc.com
info: Caching certificate for ca
info: Creating a new SSL certificate request for cluster01.abc.com
info: Certificate Request fingerprint (md5): 9D:236:8A:EB:6E:B3:3B:1B:BF:6F:9E:16:3C:0F:9C
Exiting; no certificate found and waitforcert is disabled
2、B
[root@desktop puppet]# puppetca -s -a
notice: Signed certificate request for cluster01.abc.com
notice: Removing file Puppet::SSL::CertificateRequest cluster01.abc.com at '/var/lib/puppet/ssl/ca/requests/cluster01.abc.com.pem'
3、A
[root@cluster01 puppet]# puppet agent --server=desktop.abc.com --no-daemonize --verbose --onetime
info: Caching certificate for cluster01.abc.com
info: Caching certificate_revocation_list for ca
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with 'cluster01.abc.com, cluster01.abc, cluster01' on node cluster01.abc.com
notice: Using cached catalog
err: Could not retrieve catalog; skipping run


===========================================================
/var/log/message

B、
Nov  6 17:37:50 desktop puppet-master[18151]: desktop.abc.com has a waiting certificate request
Nov  6 17:37:50 desktop puppet-master[18151]: Signed certificate request for desktop.abc.com
Nov  6 17:37:50 desktop puppet-master[18151]: Removing file Puppet::SSL::CertificateRequest desktop.abc.com at '/var/lib/puppet/ssl/ca/requests/desktop.abc.com.pem'
Nov  6 17:37:50 desktop puppet-master[18151]: Removing file Puppet::SSL::CertificateRequest desktop.abc.com at '/var/lib/puppet/ssl/certificate_requests/desktop.abc.com.pem'
Nov  6 17:37:50 desktop puppet-master[18177]: Reopening log files
Nov  6 17:37:50 desktop puppet-master[18177]: Starting Puppet master version 2.6.18
Nov  6 17:38:16 desktop puppet-master[18177]: cluster01.abc.com has a waiting certificate request
Nov  6 17:39:04 desktop puppet-master[18177]: Could not find default node or by name with 'cluster01.abc.com, cluster01.abc, cluster01' on node cluster01.abc.com
Nov  6 17:39:04 desktop puppet-master[18177]: Could not find default node or by name with 'cluster01.abc.com, cluster01.abc, cluster01' on node cluster01.abc.com
Nov  6 17:48:57 desktop puppet-master[18177]: Caught TERM; calling stop
Nov  6 17:49:00 desktop puppet-master[18479]: Reopening log files
Nov  6 17:49:00 desktop puppet-master[18479]: Starting Puppet master version 2.6.18

A、
Nov  6 17:37:56 cluster01 puppet-agent[11692]: Reopening log files
Nov  6 17:37:56 cluster01 puppet-agent[11692]: Could not request certificate: getaddrinfo: Name or service not known
Nov  6 17:38:15 cluster01 puppet-agent[11697]: Caching certificate for ca
Nov  6 17:38:15 cluster01 puppet-agent[11697]: Creating a new SSL certificate request for cluster01.abc.com
Nov  6 17:38:15 cluster01 puppet-agent[11697]: Certificate Request fingerprint (md5): 44:88:2E:632:11:8A:C2:C9:6A:FE:C5:EB:AC:2A:C5
Nov  6 17:39:01 cluster01 puppet-agent[11740]: Caching certificate for cluster01.abc.com
Nov  6 17:39:04 cluster01 puppet-agent[11740]: Caching certificate_revocation_list for ca
Nov  6 17:39:04 cluster01 puppet-agent[11740]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find default node or by name with 'cluster01.abc.com, cluster01.abc, cluster01' on node cluster01.abc.com
Nov  6 17:39:04 cluster01 puppet-agent[11740]: Not using cache on failed catalog
Nov  6 17:39:04 cluster01 puppet-agent[11740]: Could not retrieve catalog; skipping run
Nov  6 17:39:56 cluster01 puppet-agent[11692]: Starting Puppet client version 2.6.18
Nov  6 17:39:58 cluster01 puppet-agent[11692]: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known
Nov  6 17:39:58 cluster01 puppet-agent[11692]: Using cached catalog
Nov  6 17:39:58 cluster01 puppet-agent[11692]: Could not retrieve catalog; skipping run
Nov  6 17:48:23 cluster01 puppet-agent[11692]: Caught TERM; calling stop
Nov  6 17:48:26 cluster01 puppet-agent[12205]: Reopening log files
Nov  6 17:48:27 cluster01 puppet-agent[12205]: Starting Puppet client version 2.6.18
Nov  6 17:48:29 cluster01 puppet-agent[12205]: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known
Nov  6 17:48:29 cluster01 puppet-agent[12205]: Using cached catalog
Nov  6 17:48:29 cluster01 puppet-agent[12205]: Could not retrieve catalog; skipping run
==========================================================================

問題:
1、軟件是否算安裝和運(yùn)行成功?
2、為什么第二次注冊的時(shí)候會(huì)出現(xiàn)那么多的報(bào)錯(cuò)?

麻煩各位大大看下

論壇徽章:
16
IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-10-02 06:20:00IT運(yùn)維版塊每月發(fā)帖之星
日期:2015-09-11 19:30:52IT運(yùn)維版塊每周發(fā)帖之星
日期:2015-09-11 19:20:31IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-08-26 06:20:00每日論壇發(fā)貼之星
日期:2015-08-20 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-08-20 06:20:002015年辭舊歲徽章
日期:2015-03-03 16:54:15金牛座
日期:2014-05-04 16:58:09雙子座
日期:2013-12-17 16:44:37辰龍
日期:2013-11-22 15:20:59獅子座
日期:2013-11-18 22:55:08射手座
日期:2013-11-12 10:54:26
2 [報(bào)告]
發(fā)表于 2013-11-06 21:35 |只看該作者
Exiting; no certificate found and waitforcert is disabled?

論壇徽章:
4
技術(shù)圖書徽章
日期:2013-09-23 10:22:37獅子座
日期:2013-10-15 23:31:54卯兔
日期:2013-11-11 17:33:15金牛座
日期:2013-11-15 17:25:28
3 [報(bào)告]
發(fā)表于 2013-11-06 23:12 來自手機(jī) |只看該作者
在desktop上沒有定義node cluster01
可以在site.pp里定義
node cluster01 {
}

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2013-11-07 09:17 |只看該作者
3Q。在/etc/puppet/manifests下放了site.app就行了。剛學(xué)puppet,有沒有中文教材,求一份!!回復(fù) 3# nbrr


   

論壇徽章:
4
技術(shù)圖書徽章
日期:2013-09-23 10:22:37獅子座
日期:2013-10-15 23:31:54卯兔
日期:2013-11-11 17:33:15金牛座
日期:2013-11-15 17:25:28
5 [報(bào)告]
發(fā)表于 2013-11-07 10:00 |只看該作者
我沒有中文資料,我看得是pro puppet這本書,是英文版的,不過是根據(jù)puppet 2.6寫的
不知道現(xiàn)在的3.2.2版本有沒有什么新特性出來
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP