puppet-openvpn icon indicating copy to clipboard operation
puppet-openvpn copied to clipboard

Geting RSA Version Error on PI

Open argh-beep opened this issue 4 years ago • 0 comments

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: Server 6.19.1
  • Ruby: 2.3.1p112
  • Distribution: Description: Ubuntu 16.04.7 LTS
  • Module version: puppet-openvpn (v8.3.0)

How to reproduce (e.g Puppet code you use)

agent PI config

  openvpn::server { 'prag':
    country      => 'CZ',
    province     => 'Prague',
    city         => 'Prague',
    organization => 'HavelNet',
    email        => '[email protected]',
    server       => '10.8.1.0 255.255.255.0',
    local        => '192.168.8.222',
    ipp          => true,
    user         => 'nobody',
    group        => 'nogroup',
    port         => '1194',
    proto        => 'udp',
    dev          => 'tun',
    crl_verify   => false,
    route        => [ '192.168.9.0 255.255.255.0' ],
    push         => [ 'dhcp-option DNS 8.8.8.8' , 'dhcp-option DNS 64.6.64.6' , 'route 192.168.8.0 255.255.255.0' ],
  }

What are you seeing

root@pi-prag:~# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, unexepected value for EasyRSA version, got '', expect 2.0 or 3.0. (file: /etc/puppetlabs/code/environments/production/modules/openvpn/manifests/ca.pp, line: 204, column: 7) (file: /etc/puppetlabs/code/environments/production/manifests/site.pp, line: 11) on node pi-prag.h.havelnet.at
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
root@pi-prag:~# exit

What behaviour did you expect instead

no error

Output log

Any additional information you'd like to impart

previously it worked, now I try to install the PI again and it started throwing this sort of error

argh-beep avatar Dec 15 '20 12:12 argh-beep