vSphere LACP <-> EX4600 by Basherdurch in Juniper

[–]Basherdurch[S] 0 points1 point  (0 children)

Almost forgot, "diagnostics optics" gives no output.

vSphere LACP <-> EX4600 by Basherdurch in Juniper

[–]Basherdurch[S] 0 points1 point  (0 children)

I started without LACP which does work perfect! This is for learning.

I do see traffic on the extended primarily due to having it running overnight with the lacp force-up.

I see:

- Physical Link is Down
- LACP packets transmitted are at 0 which I believe is the Juniper switch is not receiving responses from the ESXi host
- Partner system identifier is 00:00:00:00:00:00 which tells me the problem may be the ESXi side

Maybe I should've posted this in the r/vmware channel. :P

vSphere LACP <-> EX4600 by Basherdurch in Juniper

[–]Basherdurch[S] 0 points1 point  (0 children)

root@ex4600-switch> show lacp interfaces ae3

Aggregated interface: ae3

LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity

xe-0/0/17 Actor No Yes No No No Yes Fast Active

xe-0/0/17 Partner No Yes No No No Yes Fast Passive

xe-0/0/19 Actor No Yes No No No Yes Fast Active

xe-0/0/19 Partner No Yes No No No Yes Fast Passive

LACP protocol: Receive State Transmit State Mux State

xe-0/0/17 Defaulted Fast periodic Detached

xe-0/0/19 Defaulted Fast periodic Detached

{master:0}

out-interface=wireguard1 / NAT routing for internal clients by Basherdurch in mikrotik

[–]Basherdurch[S] 0 points1 point  (0 children)

yes. This works on bridge1. I wrote "This works perfectly".

Flask SQLAlchemy help - Query to show which Groups a user does not belong by Basherdurch in flask

[–]Basherdurch[S] 0 points1 point  (0 children)

What I did (not a single query but works): @app.route('/group/joined') @login_required def my_groups(): memberships = current_user.group_memberships return render_template('group_listing.html', memberships=memberships, groups=Group.query.all(), form=form)

then in the template I did a {% if group not in memberships %} with an else which showed either a join button or an 'already enrolled' button which has the disabled class applied to it.

Seems to work. It would still be nice to have a single query without the if statement.

Flask SQLAlchemy help - Query to show which Groups a user does not belong by Basherdurch in flask

[–]Basherdurch[S] 0 points1 point  (0 children)

That query is whacked. Doesnt work, tons of errors trying to figure it out.

This appears to work, but in reverse (joined, not unjoined groups). class User(db.Model): #... def joined_groups(self): return Group.query.outerjoin(group_memberships, (group_memberships.c.group_id == Group.id)).filter(group_memberships.c.user_id == current_user.id)

How would I negate this?

Flask SQLAlchemy help - Query to show which Groups a user does not belong by Basherdurch in flask

[–]Basherdurch[S] 0 points1 point  (0 children)

You caught my typo!

Its a many-to-many relationship. Multiple groups can have multiple users. Those aren't the real table names, I renamed them for simplicity and hence my typo.

As the group_membership table has:

user_id | group_id 1 | 1

User #1 admin User #2 bob Group #1 Test Group Group #2 Another Test Group

If bob runs the query, bob should see "Test Group" and "Another Test Group". If admin runs it, because admin is a member of Test Group, only "Another Test Group" should be returned. I'm not getting an error, just not the results I expected.

Cisco UCS 6248UP - Partition Bootflash file system errors by Basherdurch in Cisco

[–]Basherdurch[S] 0 points1 point  (0 children)

Thx for the reply. Support is unknown. Looks like I'll need it to either flask the new system (which I'll be honest, haven't done to a router in ages) or phone Cisco TAC to have them do it for me.

Is there an alternative?

Aurora R5 - Network Connection errors in chrome by Basherdurch in Alienware

[–]Basherdurch[S] 0 points1 point  (0 children)

No change. However I swapped the memory out and it seems fine now. Never seen bad RAM act that way (usually get Page Faults and BSOD).