Let's deploy magnum to horizon in codfw1dev so we can tinker with it and make some documentation.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | SDunlap | T333381 Explore using Openstack Magnum | |||
Open | None | T328712 Create a community offering of OpenStack Magnum | |||
Open | None | T328715 document magnum in horizon | |||
Resolved | Andrew | T328711 Magnum in Horizon (magnum-ui) in codfw1dev | |||
Resolved | • nskaggs | T336941 Create a #openstack-magnum | |||
Resolved | Andrew | T339961 Cannot deploy magnum to paws-dev in codfw1dev | |||
Resolved | Andrew | T341355 Magnum control plane trying to access https://discovery.etcd.io/new?size=1 | |||
Open | Andrew | T343362 Magnum UI should offer full kube config |
Event Timeline
This is now running on labtesthorizon, although it's so far not reliably reproducible.
- The change to virtualenv.sh is a local hack, adding the install phase for magnum-ui:
# install magnum-ui cd $DEPLOY_DIR/magnum-ui && ${VENV}/bin/python3 setup.py install cp -r ${DEPLOY_DIR}/magnum-ui/magnum_ui/enabled/* ${VENV}/lib/${PY_VER}/site-packages/openstack_dashboard/local/enabled/
- magnum-ui requires python3-magnumclient and python3-heatclient. Right now those are installed on the host as debian packages. When I tried to package them as wheels I wound up with a dependency mess that wouldn't execute; this needs more work.
I appear to be able to see, and delete, clusters from different projects. In this case I was able to delete a "k8s-dev" cluster from the "paws-dev" tab in horizon.
I'm not able to test too much more as I'm blocked on deploying k8s clusters in codfw1dev in T339961
I appear to be able to see, and delete, clusters from different projects.
That's not great! It's possible that this is on purpose based on your account having superpowers though. You're using the 'rook' account on labtesthorizon?
Yes, I'm rook over there. Though I would be a little surprised if my bits were causing it, as normally I only see what is in the project I have selected in horizon.
This turns out to be a side-effect of rook having the 'admin' role in the k8s-dev and paws-dev projects. With standard reader/member roles the views seem to be properly scoped to project.
It looks like the "Sign Certificate" button does not work. Also seems to lock up the other buttons once clicked.
Change 943623 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):
[openstack/horizon/magnum-ui@antelope] sign-certificate-modal.controller.js: replace success() with then()
Change 943624 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):
[openstack/horizon/magnum-ui@master] sign-certificate-modal.controller.js: replace success() with then()
Change 943623 merged by Andrew Bogott:
[openstack/horizon/magnum-ui@antelope] sign-certificate-modal.controller.js: replace success() with then()
Change 943624 merged by Andrew Bogott:
[openstack/horizon/magnum-ui@master] sign-certificate-modal.controller.js: replace success() with then()
Change 943626 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):
[operations/puppet@production] Horizon: update version in codfw1dev
Change 943626 merged by Andrew Bogott:
[operations/puppet@production] Horizon: update version in codfw1dev
The button now seems to work. It isn't giving me the output I was hoping for, so I'll still need to look to see if I can identify how to get it to give a cred. But the button does seem to work now.
Change 944972 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):
[openstack/horizon/magnum-ui@master] disable 'Rolling Cluster Upgrade' feature
Change 944973 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):
[openstack/horizon/magnum-ui@antelope] disable 'Rolling Cluster Upgrade' feature
Change 944972 merged by Andrew Bogott:
[openstack/horizon/magnum-ui@master] disable 'Rolling Cluster Upgrade' feature
Change 944973 merged by Andrew Bogott:
[openstack/horizon/magnum-ui@antelope] disable 'Rolling Cluster Upgrade' feature