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: chicken and the egg with adding users (peter.bur...@usitc.gov)
   2. Netdisco2 Module Report FRU Question (Mitch Todd)
   3. Re: Netdisco2 Module Report FRU Question (Oliver Gorwits)
   4. Upgrade from 2.024 -> 2.025 (Pavel Skovajsa)
   5. Re: Upgrade from 2.024 -> 2.025 (Pavel Skovajsa)
   6. Re: Upgrade from 2.024 -> 2.025 (Oliver Gorwits)
   7. thanks for your help! (peter.bur...@usitc.gov)
--- Begin Message ---
I did restart PostgreSQL after editing pg_HBA.conf because we use that file 
heavily in other Postgres servers. 

Will revert to 9.x tomorrow and fiddle with the identity part of deploy again. 

Peter H Burris

> On Apr 8, 2014, at 17:58, Oliver Gorwits <oli...@cpan.org> wrote:
> 
>> On 2014-04-08 22:56, peter.bur...@usitc.gov wrote:
>> Added that line, completely wiped out and reinstalled netdisco.
>> Install script still failed.
> 
> Did you restart postgresql after adding the line? pg_hba.conf is postgres 
> config, not Netdisco config.
> 
> regards,
> oliver.
> 
>> 
>> I am obviously missing the most obvious of steps, but they are not
>> clear from the errors I see.
>> 
>> FROM: Joseph Bernard [mailto:j...@clemson.edu]
>> SENT: Tuesday, April 08, 2014 5:42 PM
>> TO: Burris, Peter H.
>> SUBJECT: Re: [Netdisco] chicken and the egg with adding users
>> 
>> Peter,
>> 
>> Have you tried adding the line explained here to your pg_hba.conf
>> file?
>> 
>> http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Deployment.pod#Enable_MD5_authentication_to_PostgreSQL
>> [1]
>> 
>> Thanks,
>> 
>> Joseph B.
>> 
>> On Apr 8, 2014, at 5:35 PM, <peter.bur...@usitc.gov [2]>
>> 
>> wrote:
>> 
>> When I first installed netdisco v2, things went mostly smoothly - I
>> build postgres from scratch, then configured my .curlrc file to allow
>> proxy access, and ran the script to pull down App::Netdisco. I linked
>> the files over to ~Netdisco/bin and ~netdisco/environments and edited
>> deployment.yaml. Finally, I ran netdisco-deploy and that populated the
>> postgres instance I set up almost perfectly. Running netdisco-web and
>> netdisco-daemon provided a web interface I could view as long as my
>> browser had the proxy disabled. But I couldn't log in, and changing
>> the authentication flag in deployment.yaml allowed guest to log out,
>> but I couldn't create an admin account.
>> 
>> At no point in running the netdisco-deploy was I asked to create the
>> admin account.
>> 
>> Now, having blown away my source compiled version of postgresql 9.3.2
>> three times, I installed redhat's rpm of postgresql 8.4 and fired it
>> up.
>> 
>> No change. Both my source compiled and redhat-distributed version
>> yield the same error when I run the netdisco-deploy script:
>> 
>> Would you like to deploy or upgrade your database schema? [y/N]: y
>> 
>> 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/Dancer/Plugin/DBIC.pm line 62
>> 
>> DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
>> connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
>> authentication failed for user "netdisco" at
>> /home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483. at
>> /home/netdisco/perl5/bin/netdisco-db-deploy line 63
>> 
>> DB schema update complete.
>> 
>> 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/Dancer/Plugin/DBIC.pm line 62
>> 
>> DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI
>> connect('dbname=netdisco','netdisco',...) failed: FATAL: Ident
>> authentication failed for user "netdisco" at
>> /home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1483. at
>> /home/netdisco/bin/netdisco-deploy line 126
>> 
>> I'm frustrated - to go from nearly working to not even remotely close
>> bewilders me, and I am two days behind schedule. I need help.
>> 
>> Peter H Burris
>> 
>> Network Services Division
>> 
>> International Trade Commission
>> 
>> ------------------------------------------------------------------------------
>> Put Bad Developers to Shame
>> Dominate Development with Jenkins Continuous Integration
>> Continuously Automate Build, Test & Deployment
>> Start a new project now. Try Jenkins in the cloud.
>> 
>> http://p.sf.net/sfu/13600_Cloudbees_______________________________________________
>> [3]
>> Netdisco mailing list
>> netdisco-users@lists.sourceforge.net [4]
>> https://lists.sourceforge.net/lists/listinfo/netdisco-users [5]
>> 
>> 
>> 
>> Links:
>> ------
>> [1]
>> http://search.cpan.org/~oliver/App-Netdisco-2.025000_001/lib/App/Netdisco/Manual/Deployment.pod#Enable_MD5_authentication_to_PostgreSQL
>> [2] mailto:peter.bur...@usitc.gov
>> [3]
>> http://p.sf.net/sfu/13600_Cloudbees_______________________________________________
>> [4] mailto:netdisco-users@lists.sourceforge.net
>> [5] https://lists.sourceforge.net/lists/listinfo/netdisco-users
> 
> 
> 



--- End Message ---
--- Begin Message ---
In ND2, on the module search options panel in the module report, how hard
would it be at this point to put a checkbox to display only FRU modules
(i.e. SELECT .....WHERE device_module.fru = TRUE)? From what I'm seeing so
far, it looks like modules are displayed regardless of FRU status. There
are times that I need a list of the only the FRU items, generally when the
money people show up bearing questions. Being able to pull it directly from
a web page would be really useful for me. I suspect others might be
jonesing for the same.

--- End Message ---
--- Begin Message ---
Hi Mitch,

On 2014-04-09 20:28, Mitch Todd wrote:
In ND2, on the module search options panel in the module report, how
hard would it be at this point to put a checkbox to display only FRU

Not too tricky at all, so it's been done and will be included in the next release.

Many thanks for the feature suggestion,

regards,
oliver.

modules (i.e. SELECT .....WHERE device_module.fru = TRUE)? From what
I'm seeing so far, it looks like modules are displayed regardless of
FRU status. There are times that I need a list of the only the FRU
items, generally when the money people show up bearing questions.
Being able to pull it directly from a web page would be really useful
for me. I suspect others might be jonesing for the same.




--- End Message ---
--- Begin Message ---
I just tried to upgrade to newest version and got this:

netdisco@mdnetdisco:~$ ~/bin/localenv cpanm --notest App::Netdisco
--> Working on App::Netdisco
Fetching
http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.025001.tar.gz ...
OK
Configuring App-Netdisco-2.025001 ... OK
Building App-Netdisco-2.025001 ... OK
Successfully installed App-Netdisco-2.025001 (upgraded from 2.024004)
1 distribution installed
netdisco@mdnetdisco:~$ ~/bin/netdisco-deploy
Can't locate Path/Class.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl .) at /home/netdisco/bin/netdisco-deploy line 24.
BEGIN failed--compilation aborted at /home/netdisco/bin/netdisco-deploy
line 24.

Any ideas?

-pavel

--- End Message ---
--- Begin Message ---
I just "fixed" it by doing 'sudo cpan install Path::Class'

-pavel


On Thu, Apr 10, 2014 at 9:15 PM, Pavel Skovajsa <pavel.skova...@gmail.com>wrote:

> I just tried to upgrade to newest version and got this:
>
> netdisco@mdnetdisco:~$ ~/bin/localenv cpanm --notest App::Netdisco
> --> Working on App::Netdisco
> Fetching
> http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.025001.tar.gz... OK
> Configuring App-Netdisco-2.025001 ... OK
> Building App-Netdisco-2.025001 ... OK
> Successfully installed App-Netdisco-2.025001 (upgraded from 2.024004)
> 1 distribution installed
> netdisco@mdnetdisco:~$ ~/bin/netdisco-deploy
> Can't locate Path/Class.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
> /usr/local/lib/site_perl .) at /home/netdisco/bin/netdisco-deploy line 24.
> BEGIN failed--compilation aborted at /home/netdisco/bin/netdisco-deploy
> line 24.
>
> Any ideas?
>
> -pavel
>

--- End Message ---
--- Begin Message ---
Hi Pavel,

You are the second user to report this, so there seems to be a problem with this release.

I've reverted the changes and pushed 2.026000 to CPAN now (which is the same branch as 2.024004). I suggest you "upgrade".

Very sorry about that.

regards,
oliver.

On 2014-04-10 20:45, Pavel Skovajsa wrote:
I just "fixed" it by doing 'sudo cpan install Path::Class'

-pavel

On Thu, Apr 10, 2014 at 9:15 PM, Pavel Skovajsa
<pavel.skova...@gmail.com [2]> wrote:

I just tried to upgrade to newest version and got this:

netdisco@mdnetdisco:~$ ~/bin/localenv cpanm --notest App::Netdisco
--> Working on App::Netdisco
Fetching


http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.025001.tar.gz
[1] ... OK
Configuring App-Netdisco-2.025001 ... OK
Building App-Netdisco-2.025001 ... OK
Successfully installed App-Netdisco-2.025001 (upgraded from
2.024004)
1 distribution installed
netdisco@mdnetdisco:~$ ~/bin/netdisco-deploy
Can't locate Path/Class.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14
/usr/share/perl/5.14 /usr/local/lib/site_perl .) at
/home/netdisco/bin/netdisco-deploy line 24.
BEGIN failed--compilation aborted at
/home/netdisco/bin/netdisco-deploy line 24.

Any ideas?

-pavel



Links:
------
[1] http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.025001.tar.gz
[2] mailto:pavel.skova...@gmail.com




--- End Message ---
--- Begin Message ---
I got the application up and running; now I just need my network admins to 
populate it with data.  Tell me - Can I change the port that netapp connects to 
postgres?

Peter H Burris
Network Services Division
International Trade Commission


--- End Message ---
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to