|
Puppet agent --environment production is created if it does not exist:
[root@blue puppet]# bundle exec puppet agent -t --server green --environment production
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:Info: Caching catalog for blue
Info: Applying configuration version '1400618088'
Notice: Finished catalog run in 0.02 seconds
Using an existent/empty environment works:
[root@blue puppet]# bundle exec puppet agent -t --server green --environment foo
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve information from environment foo source(s) puppet:Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from environment foo source(s) puppet:Info: Caching catalog for blue
Info: Applying configuration version '1400618191'
Notice: Finished catalog run in 0.02 seconds
Using a non-existent environment seems to blow up hard:
[root@blue puppet]# bundle exec puppet agent -t --server green --environment nosuchluck
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Find /nosuchluck/node/blue?fail_on_404=true&transaction_uuid=b0067b67-b5a7-4c90-8a3c-b8428c5b8403 resulted in 404 with the message: Not Found: Could not find environment 'nosuchluck'
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve information from environment nosuchluck source(s) puppet:Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information from environment nosuchluck source(s) puppet:Error: Could not retrieve catalog from remote server: Find /nosuchluck/catalog/blue?fail_on_404=true&facts=%257B%2522expiration%2522%253A%25222014-05-20T21%253A07%253A00.305790000%252B00%253A00%2522%252C%2522values%2522%253A%257B%2522network_eth0%2522%253A%252210.0.2.0%2522%252C%2522puppetversion%2522%253A%25223.6.0%2522%252C%2522netmask_eth1%2522%253A%2522255.255.255.0%2522%252C%2522mtu_eth1%2522%253A%25221500%2522%252C%2522rubysitedir%2522%253A%2522%252Fusr%252Flib%252Fruby%252Fsite_ruby%252F1.8%2522%252C%2522virtual%2522%253A%2522virtualbox%2522%252C%2522path%2522%253A%2522%252Fplatform%252Fpuppet%252F.bundle%252Fruby%252F1.8%252Fbin%253A%252Fsbin%253A%252Fbin%253A%252Fusr%252Fsbin%253A%252Fusr%252Fbin%2522%252C%2522is_virtual%2522%253A%2522true%2522%252C%2522sshfp_rsa%2522%253A%2522SSHFP%2B1%2B1%2B98adf757db1b7e6e8b82e13f682dba1190c2787f%255CnSSHFP%2B1%2B2%2B60f8106db3c69cb0a1b18193f46009b32cc54f03dfc234ff30929377457d20e2%2522%252C%2522swapsize%2522%253A%2522959.99%2BMB%2522%252C%2522kernelmajversion%2522%253A%25222.6%2522%252C%2522operatingsystemrelease%2522%253A%25226.4%2522%252C%2522macaddress_eth1%2522%253A%252208%253A00%253A27%253AF4%253AFC%253A53%2522%252C%2522netmask%2522%253A%2522255.255.255.0%2522%252C%2522blockdevice_sr1_vendor%2522%253A%2522VBOX%2522%252C%2522macaddress%2522%253A%252208%253A00%253A27%253A5A%253AA7%253ABF%2522%252C%2522processor0%2522%253A%2522Intel%2528R%2529%2BCore%2528TM%2529%2Bi7-3520M%2BCPU%2B%2540%2B2.90GHz%2522%252C%2522clientcert%2522%253A%2522blue%2522%252C%2522memorysize%2522%253A%2522467.01%2BMB%2522%252C%2522ipaddress%2522%253A%252210.0.2.15%2522%252C%2522uptime_hours%2522%253A%25222%2522%252C%2522ipaddress_eth1%2522%253A%252210.20.1.7%2522%252C%2522blockdevice_sr0_vendor%2522%253A%2522VBOX%2522%252C%2522netmask_eth0%2522%253A%2522255.255.255.0%2522%252C%2522blockdevice_sda_vendor%2522%253A%2522ATA%2522%252C%2522kernel%2522%253A%2522Linux%2522%252C%2522rubyversion%2522%253A%25221.8.7%2522%252C%2522mtu_lo%2522%253A%252216436%2522%252C%2522mtu_eth0%2522%253A%25221500%2522%252C%2522memoryfree%2522%253A%2522405.79%2BMB%2522%252C%2522physicalprocessorcount%2522%253A%25221%2522%252C%2522uptime_days%2522%253A%25220%2522%252C%2522blockdevice_sr1_model%2522%253A%2522CD-ROM%2522%252C%2522hardwaremodel%2522%253A%2522i686%2522%252C%2522blockdevice_sda_size%2522%253A%252210632560640%2522%252C%2522swapsize_mb%2522%253A%2522959.99%2522%252C%2522operatingsystemmajrelease%2522%253A%25226%2522%252C%2522hardwareisa%2522%253A%2522i686%2522%252C%2522swapfree%2522%253A%2522959.99%2BMB%2522%252C%2522facterversion%2522%253A%25222.0.1%2522%252C%2522clientnoop%2522%253A%2522false%2522%252C%2522blockdevice_sr0_model%2522%253A%2522CD-ROM%2522%252C%2522sshrsakey%2522%253A%2522AAAAB3NzaC1yc2EAAAABIwAAAQEAyMga7AhTA85iE2s2ZbWHwHdCtOiduxt7HYJsyNTyAfTtTOaF4Xu5cr15fnm0D1KbyWhTRy2E%252B%252F91Q1awmfibVPyRh7tLeQ%252FICOyloKFg%252Fca1bAEmoX9v%252FGCHT3zB0WE0CGwO3mCLwffJZXXkCXGnopRLtqG1zOedZFSQhd3GKpGxDW5jkfsZeiqUKjv0m695bh1Yog06pLZCv0WlelvwZBd%252BTW7CG4PRxYh1NroYWe0WQRevpECW2BOFeccHJo%252FUfF2qWff7BLd5%252B7%252F6h%252BaGsiF4ChOkAq3yihoHggE4cjmQemN59CbPYXCLxzW9IlXVQ%252FHS3QVe8USTmJNJRRjsNw%253D%253D%2522%252C%2522sshfp_dsa%2522%253A%2522SSHFP%2B2%2B1%2B281581c44145ee674cc68ac8ca1298b3894e04bc%255CnSSHFP%2B2%2B2%2B7044190f754885c3874726cdb81e22f781a124bd151d253f1a95cb540d35d7f8%2522%252C%2522macaddress_eth0%2522%253A%252208%253A00%253A27%253A5A%253AA7%253ABF%2522%252C%2522osfamily%2522%253A%2522RedHat%2522%252C%2522blockdevice_sr0_size%2522%253A%25221073741312%2522%252C%2522interfaces%2522%253A%2522eth0%252Ceth1%252Clo%2522%252C%2522swapfree_mb%2522%253A%2522959.99%2522%252C%2522uptime_seconds%2522%253A%252210439%2522%252C%2522network_eth1%2522%253A%252210.20.1.0%2522%252C%2522architecture%2522%253A%2522i386%2522%252C%2522filesystems%2522%253A%2522ext4%252Ciso9660%2522%252C%2522uptime%2522%253A%25222%253A53%2Bhours%2522%252C%2522ps%2522%253A%2522ps%2B-ef%2522%252C%2522netmask_lo%2522%253A%2522255.0.0.0%2522%252C%2522ipaddress_lo%2522%253A%2522127.0.0.1%2522%252C%2522hostname%2522%253A%2522blue%2522%252C%2522id%2522%253A%2522root%2522%252C%2522operatingsystem%2522%253A%2522CentOS%2522%252C%2522clientversion%2522%253A%25223.6.0%2522%252C%2522ipaddress_eth0%2522%253A%252210.0.2.15%2522%252C%2522selinux%2522%253A%2522false%2522%252C%2522kernelversion%2522%253A%25222.6.32%2522%252C%2522timezone%2522%253A%2522UTC%2522%252C%2522memoryfree_mb%2522%253A%2522405.79%2522%252C%2522sshdsakey%2522%253A%2522AAAAB3NzaC1kc3MAAACBANMQ3RN4DipyndspoCfX%252FTyf5f1jMk6ChGnw7cpElrgZEa%252FqL1jZXCjTY7uJ9fkYW5vmWZniL9GkDSpypBYslycK92FczGDx61UVGF6QNYvaMpRoYyfruBBrR3kVaje89vzr2%252FJH18IlyfaOwFo%252FrHawGQfnknyavxIMPQyD%252BcdlAAAAFQCihVec1bguOTV1CX8rNvvyuDQRkQAAAIBdGVvpqueZoBnOGnz19EAbytgB0indR1%252Br0As5YIDfXprw4YAze%252B4UGAXEWDjRFzImwawSe4BrDDXxUYY3%252BMBK8cwxuLSwal5hropJy2V5kPL1vqnEYIJHcIU0fvas%252BcPdqikem%252BhMDib3%252BNgcqdfKCuHgdMvmWtVmVvaaTrTGBQAAAIBu5t0ZSw%252FbGSc%252FDFOGHU93eabaikilsMgx6sln31gnwQhgK%252FE7y2FV8MmWVv1t%252BHnt6jOAaz61XxKxVzsmnSfIkJkeQ%252BK5aD4GUcCU2STj61rFOl4JPk3VBTjVnAryY%252Fcw6xL2moWnDtBZdiHgz2TBZpQjQewW2cCKwt8aWYEYqw%253D%253D%2522%252C%2522blockdevice_sda_model%2522%253A%2522VBOX%2BHARDDISK%2522%252C%2522kernelrelease%2522%253A%25222.6.32-358.el6.i686%2522%252C%2522blockdevice_sr1_size%2522%253A%25221073741312%2522%252C%2522network_lo%2522%253A%2522127.0.0.0%2522%252C%2522processorcount%2522%253A%25221%2522%252C%2522blockdevices%2522%253A%2522sda%252Csr0%252Csr1%2522%252C%2522uniqueid%2522%253A%2522007f0101%2522%252C%2522memorysize_mb%2522%253A%2522467.01%2522%257D%252C%2522name%2522%253A%2522blue%2522%252C%2522timestamp%2522%253A%2522Tue%2BMay%2B20%2B20%253A37%253A00%2B%252B0000%2B2014%2522%257D&facts_format=pson&transaction_uuid=b0067b67-b5a7-4c90-8a3c-b8428c5b8403 resulted in 404 with the message: Not Found: Could not find environment 'nosuchluck'
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
That seems... bad.
This is on commit 71fbf00.
|