We are mulling over the issue of upgrading. It will hurt however you do it!
I am not sure we have a "reinstall from scratch, put back the DB state" path.
The problem with the upgrade from FreeBSD 10.0 to 11.3 is that it involves
significant upgrades to just about every major package: perl, mysql, apache,
php, ...
To the issue at hand, you say: "we fixed the IP config for the correct
interface on the node". Did Emulab not configure any interface or did it
configure the wrong one? The latter would just indicate a mixup in the DB.
The /etc/hosts file is generated on each node and is intended only for
the experimental interfaces (non-fully-qualified names for hosts). Boss
is the DNS for resolving control net addresses (FQDNs) and their aliases.
So from a node "A" (on pc1) which has an experiment link called "link"
to node "B" (on pc2):
"pc2", "
pc2.emulab.net" and "
B.eid.pid.emulab.net"
would resolve to the control net address via DNS on boss.
"B" and "B-link"
would resolve to the experiment net address via /etc/hosts.
And then it gets worse. If there are multiple paths from A to B, say
there are two nodes C and D in between such that you could do A->C->B
or A->D->B, we arbitrarily pick one of B's IP addresses to be what we
call "B". This may be what you are running into.
Can you show us a hosts file of both types you mention below?
There should be aliases in the hosts file like "routerX-host" and
"routerX-modem" that unambiguously tell you which interface you are
talking to on "routerX". You should use those if you want to reach a
node via a specific interface.
> >> ?? ??This problem is happening again, swapped in with many nodes and links and 2
> >> don't work, in one case, both are configured correctly, in another, one side
> >> has no IPv4 configuration.?? I haven't checked the switches, but my question is,
> >> is there any reason why I can't just manually configure the IP addresses and
> >> the vlans on the switches when this happens??? will it hurt anything, is there
> >> something special I would need to do to make sure boss can cleanup everything?
> >> Where do I get the vlan #'s to configure specific links, are there boss
> >> commands to do config on a node, or should I just ssh to the node and do it?
> >>
> >> Thanks,
> >> --Ben
> >>
> >>
> >>
> >> On Thursday, May 7, 2020 at 4:59:15 PM UTC-5, burnettb317 wrote:
> >>
> >> Thanks.?? Yeah I know we need an update.
> >>
> >> ran those, tried?? wap snmpit --impotent --prunestalevlans??again
> >>
> >> su elabman
> >> ??wap snmpit --impotent --prunestalevlans
> >>
> >> yielded??same error but cisco9.?? cisco9 exists and I can ping it and telnet
> >> to it, should I restart cisco9??? does this error indicate that boss can't
> >> administrate cisco9 somehow?
> >>
> >> also ran it as root and got the same error... (before I got different
> >> errors if I ran as elabman or as root)
> >>
> >> trying to swap again...
> >> -Ben
> >>
> >>
> >> Ben Burnett <
burne...@gmail.com>
> >> ?? R&D Software Engineer / Computer Scientist
> >> ?? ATC (Architecture Technology Corporation,??
http://www.atcorp.com/)
> >>
> >> ?? wk:
(952) 829-5864 x167
> >> ????
http://ben.burnett.ws/
> >>
> >>
> >>
> >>
> >> On Thu, May 7, 2020 at 4:39 PM Leigh Stoller <
lbst...@gmail.com> wrote:
> >>
> >> at 2:34 PM, burnettb317 <
burne...@gmail.com> wrote:
> >>
> >> > should I have addswitch?
> >> >
> >> > % wap addswitch -r cisco14
> >> > env: addswitch: No such file or directory
> >>
> >> It was added two years ago. :-)
> >>
> >> Try this instead.
> >>
> >> boss> wap deletenode -f -F cisco14
> >> boss> mysql tbdb
> >> mysql> delete from switch_stacks where node_id=???cisco14???;
> >>
> >>
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "emulab-admins" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> >> an email to
emulab-admin...@googlegroups.com.
> >> To view this discussion on the web visit
https://groups.google.com/d/
> >> msgid/emulab-admins/7D8852C7-0495-4686-B98D-4700906DF3FD%
40gmail.com.
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "emulab-admins" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an email
> >> to
emulab-admin...@googlegroups.com.
> >> To view this discussion on the web visit
https://groups.google.com/d/msgid/
> >> emulab-admins/9626148a-f2c7-479c-8d8e-8eeab3daa381o%
40googlegroups.com.
> >
>
> --
> Ben Burnett
> Principal Investigator / R&D Software Engineer / Computer Scientist
> ATC (Architecture Technology Corporation,
www.atcorp.com)
> wk:
(952) 829-5864 x167
>
bbur...@atcorp.com
>
> --
> You received this message because you are subscribed to the Google Groups "emulab-admins" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
emulab-admin...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/emulab-admins/57153280-d3d0-5272-6259-352d7a6f7e1e%40gmail.com.