Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: environments/deployment.yml not being read?
      (Eric W. Bates (he))
--- Begin Message ---
Nevermind. All set.

I ran another cpanm pull and now all is well.


On 9/13/24 07:42, Eric W. Bates (he) wrote:
> I have a strange problem I only just noticed. I think it occurred
> because of a cpanm pull.
>
> I'm guessing that deployment.yml is no longer being read? As user
> netdisco (who has ownership of deployment.yml):
>
> netdisco@netdisco:~$ ls -la environments/
> total 24
> drwxrwxr-x  2 netdisco netdisco 4096 Sep  9 13:40 .
> drwxr-xr-x 18 netdisco netdisco 4096 Sep  9 13:59 ..
> -rw-------  1 netdisco netdisco 6462 Apr 19 14:50 deployment.yml
> -rw-------  1 netdisco netdisco 3483 Feb  3  2016 deployment.yml-bak
> -rw-------  1 netdisco netdisco 2256 Mar 24  2015 deployment.yml-orig
>
> netdisco@netdisco:~$ ~/bin/netdisco-do discover -d mvcovpn
> [544278] 2024-09-13 11:26:09  info App::Netdisco version 2.078000 loaded.
> [544278] 2024-09-13 11:26:09  info discover: [172.26.252.209] started at
> Fri Sep 13 07:26:09 2024
> DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently
> unversioned. Please call upgrade on your schema to sync the DB. at
> /home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 121
> [544278] 2024-09-13 11:26:10  info discover: finished at Fri Sep 13
> 07:26:10 2024
> [544278] 2024-09-13 11:26:10  info discover: status error: error running
> job: DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed:
> DBI connect('dbname=netdisco','changeme',...) failed: connection to
> server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:
> Peer authentication failed for user "changeme" at
> /home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1639. at
> /home/netdisco/perl5/lib/perl5/App/Netdisco/Util/Device.pm line 80
>
> In general, netdisco appears to be operating normally. There are no
> errors in ./logs/netdisco-backend.log This failure only occurs from the
> command line.
>
> I found the username "changeme" in the default deployment.yml:
>
> ./perl5/lib/perl5/auto/share/dist/App-Netdisco/environments/deployment.yml:
> user: 'changeme'
>

Attachment: smime.p7m
Description: smime.p7m


--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to