Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container shown w/o host #1065

Closed
rade opened this issue Feb 29, 2016 · 10 comments
Closed

container shown w/o host #1065

rade opened this issue Feb 29, 2016 · 10 comments
Assignees
Labels
bug Broken end user or developer functionality; not working as the developers intended it
Milestone

Comments

@rade
Copy link
Member

rade commented Feb 29, 2016

See the container in the bottom left corner.
screenshot from 2016-02-29 16 44 01

This container was started a few minutes ago.

Hitting 'redraw' makes it show 'host3', as expected.

@rade rade added the bug Broken end user or developer functionality; not working as the developers intended it label Feb 29, 2016
@2opremio 2opremio added the component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer label Feb 29, 2016
@2opremio
Copy link
Contributor

@rade Can you please attach the output of http://192.168.48.11/api/report ?

@rade
Copy link
Member Author

rade commented Feb 29, 2016

gist for

screenshot from 2016-02-29 20 01 32

(note the one 'bar' container with no host). It goes away when clicking the 'redraw' button:

screenshot from 2016-02-29 20 04 07

@davkal
Copy link
Contributor

davkal commented Mar 1, 2016

Tried the report. Cannot reproduce. If it happens again, please right click on the node, choose "Inspect" and copy the node's markup subtree, and paste it here and reopen.

@davkal davkal closed this as completed Mar 1, 2016
@rade
Copy link
Member Author

rade commented Mar 1, 2016

it happens all the time.

@davkal
Copy link
Contributor

davkal commented Mar 1, 2016

On which browser/OS?

@rade
Copy link
Member Author

rade commented Mar 1, 2016

<g class="node" transform="translate(540.75,325.25)" id="container:50e1b4a02240be4992e8c36c39e9e65ef545743489abf630cda0813b7c3c7e3e" data-reactid=".0.4.2.1.1.$container=250e1b4a02240be4992e8c36c39e9e65ef545743489abf630cda0813b7c3c7e3e"><g class="shape" data-reactid=".0.4.2.1.1.$container=250e1b4a02240be4992e8c36c39e9e65ef545743489abf630cda0813b7c3c7e3e.0"><path class="border" stroke="#5545d1" d="M30.74390183434757,0C53.801828210108255,0,49.9588404808148,-2.21875,61.48780366869514,17.75S73.01676685657549,33.28125,61.48780366869514,53.25S53.801828210108255,71,30.74390183434757,71S11.52896318788034,73.21875,0,53.25S-11.52896318788034,37.71875,0,17.75S7.685975458586892,0,30.74390183434757,0" transform="rotate(90) translate(-30.74390183434757, -35.5)" data-reactid=".0.4.2.1.1.$container=250e1b4a02240be4992e8c36c39e9e65ef545743489abf630cda0813b7c3c7e3e.0.1"></path><path class="shadow" d="M27.669511650912813,0C48.42164538909742,0,44.96295643273332,-1.9968749999999975,55.33902330182563,15.975S65.71509017091793,29.953125,55.33902330182563,47.925S48.42164538909742,63.9,27.669511650912813,63.9S10.376066869092305,65.896875,0,47.925S-10.376066869092305,33.946875,0,15.975S6.9173779127282025,0,27.669511650912813,0" transform="rotate(90) translate(-27.669511650912813, -31.95)" data-reactid=".0.4.2.1.1.$container=250e1b4a02240be4992e8c36c39e9e65ef545743489abf630cda0813b7c3c7e3e.0.2"></path><circle class="node" r="8.875" data-reactid=".0.4.2.1.1.$container=250e1b4a02240be4992e8c36c39e9e65ef545743489abf630cda0813b7c3c7e3e.0.3"></circle></g><text class="node-label" text-anchor="middle" style="font-size: 14px;" x="0" y="53.5" data-reactid=".0.4.2.1.1.$container=250e1b4a02240be4992e8c36c39e9e65ef545743489abf630cda0813b7c3c7e3e.1">foo</text><text class="node-sublabel" text-anchor="middle" style="font-size: 12px;" x="0" y="70.5" data-reactid=".0.4.2.1.1.$container=250e1b4a02240be4992e8c36c39e9e65ef545743489abf630cda0813b7c3c7e3e.2"></text></g>

@rade
Copy link
Member Author

rade commented Mar 1, 2016

chrome/linux.

@davkal
Copy link
Contributor

davkal commented Mar 1, 2016

Since the report works, I'm guessing it's a backend issue.

@davkal
Copy link
Contributor

davkal commented Mar 1, 2016

To reproduce:

  1. open container topo
  2. docker run --name=foo -dti alpine /bin/sh
    Watch the container appear w/o host name.

You'll see that the add list on the websocket message contains a node w/o label_minor:

{"add":[{"id":"container:6b3d27397388dab19a1a3775d38351e3ab107e610cf9a322aa4bda5e39c65519",
"label_major":"foo","rank":"alpine","children":[],"shape":"hexagon","stack":false,
"metadata":{},"counters":{},"sets":{},"adjacency":null,"edges":{},"controls":{},"latest":{},"parents":{}}]...

@davkal davkal reopened this Mar 1, 2016
@tomwilkie
Copy link
Contributor

That points to a problem with TopoDiff I think.

@tomwilkie tomwilkie added this to the 0.14.0 milestone Mar 1, 2016
@tomwilkie tomwilkie removed the component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer label Mar 1, 2016
@tomwilkie tomwilkie self-assigned this Mar 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken end user or developer functionality; not working as the developers intended it
Projects
None yet
Development

No branches or pull requests

4 participants