Giter Site home page Giter Site logo

Comments (4)

Dannyb48 avatar Dannyb48 commented on June 20, 2024

From what I can gather, the RunDB that Linchpin uses to store the resource state info was empty for that target:

TASK [openstack : Get topology output data from RunDB] *************************
ok: [localhost] => {"changed": false, "output": "[]"}

Not sure if that is left over from the prior failed deletion attempt.

Can you try reproduce this again now that you upgraded the contra container to linchpin 2.0.2?

  • provsion your VM
  • destroy your VM

from linchpin.

chuanchang avatar chuanchang commented on June 20, 2024

Can you try reproduce this again now that you upgraded the contra container to linchpin 2.0.2?

* provsion your VM

* destroy your VM

As you seen, I have done this, please see previous comments, please let me know if you need extra information.

BTW, I had ever removed manually several provisioned VM instances from Openstack webUI, I guess it may be reason, it will be better if there is a command like linchpin list --provisioned/fresh to get latest provisioned VM instances information.

from linchpin.

Dannyb48 avatar Dannyb48 commented on June 20, 2024

I reproduced it in a non-container environment.

TASK [openstack : debug: set topo_output_resources fact rundb] ****************************************************************************************************************************************************
task path: /home/dbaez/.virtualenvs/cbn_linchpin_plugin/lib/python2.7/site-packages/linchpin/provision/roles/openstack/tasks/teardown_resource_group.yml:71
ok: [localhost] => {
    "ansible_facts": {
        "topo_output_json": []
    }, 
    "changed": false
}

TASK [openstack : set topo_output_resources fact rundb] ***********************************************************************************************************************************************************
task path: /home/dbaez/.virtualenvs/cbn_linchpin_plugin/lib/python2.7/site-packages/linchpin/provision/roles/openstack/tasks/teardown_resource_group.yml:76
fatal: [localhost]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/home/dbaez/.virtualenvs/cbn_linchpin_plugin/lib/python2.7/site-packages/linchpin/provision/roles/openstack/tasks/teardown_resource_group.yml': line 76, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: \"set topo_output_resources fact rundb\"\n  ^ here\n"
}

Without provisioning anything I just ran:

linchpin --no-monitor -vvvv destroy

``

As I suspect nothing is there in the database related to that target for it retrieve hence it fails.

It's a valid feature suggestion linchpin list --provisioned/fresh but unfortunately Linchpin is in maintenance mode right now. So we are only really providing support and fixes to already existing functionality.

from linchpin.

Dannyb48 avatar Dannyb48 commented on June 20, 2024

@chuanchang Any chance we can close this out?

from linchpin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.