This is a part from the book "Generic Polynomials Constructive Aspects of the Inverse Galois Problem" which I don't understand. This is also pretty much the counterexample given in: https://www.jstor.org/stable/1969410?seq=1.
Let $L_2$ be the unramified extension of $\mathbb{Q}_2$ of degree $8$ (that is obtained by adding a $2^8-1$ primitive root of unity). Let $L$ be an extension of $\mathbb{Q}$ also with Galois group $\mathbb{Z}/8\mathbb{Z}$. Let $\mathbb{Q}(\sqrt{D})$ be the quadratic subextension of $L$. Suppose $L_2$ is the compositum of $L$ and $\mathbb{Q}_2$.
I can't figure out why:
$2$ remains inert in $L/\mathbb{Q}$.
$2$ remains inert implies $D\equiv 5\mod 8$.
And finally,
$p|D$ implies the completion $L_p/\mathbb{Q}_p$ is again a $C_8$ extension.
Because of how it's worded, I think $L_2$ being the compositum of $L$ and $\mathbb{Q}_2$ must be why $2$ remains inert. Also maybe, use Kronecker-Weber and try to get some relation between the roots of unity? I would appreciate any hints or references.
Here are some hints: