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

[BUG] polycubectl - "no cube found named xxx" #135

Closed
gianlu33 opened this issue May 30, 2019 · 2 comments
Closed

[BUG] polycubectl - "no cube found named xxx" #135

gianlu33 opened this issue May 30, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@gianlu33
Copy link
Contributor

gianlu33 commented May 30, 2019

Describe the bug

Some commands do not work using the notation
polycubectl <service_type> <service_name> <add/remove/set/..>

To Reproduce

  1. polycubectl bridge add b1 stp-enabled=true -> ok
  2. polycubectl bridge b1 ports add p1 -> ok
  3. polycubectl bridge b1 stp 1 set priority=28672 -> error

Output after command 3. -> No cube found named bridge

Additional context

If i omit <service_type>, the command works correctly
E.g. polycubectl b1 stp 1 set priority=28672 -> ok

Strangely, this bug does not happens everytime (for example command 2. above does not present any problem)

@mauriciovasquezbernal
Copy link
Contributor

Thanks @gianlu33 for reporting this, it was because an old workaround we have in the code.
Already opened a PR to solve this.

@acloudiator acloudiator added this to Needs triage in Issues Board via automation May 31, 2019
@acloudiator acloudiator added this to the CLI Improvements milestone May 31, 2019
@mauriciovasquezbernal
Copy link
Contributor

Solved by #136

Issues Board automation moved this from Needs triage to Closed Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Issues Board
  
Closed
Development

No branches or pull requests

3 participants