Skip to content

Node knife attributes doesn't get populated after restore #57

Description

@aniruddhanavare

I am using knife backup - restore plugin with following configuration

knife plugin version : 0.0.12
chef server version : 11.18.12

It has been found that, after restore, certain node attributes are not visible when we do "knife show node" command.

I have virtual machine, which has following attributes.

Command : knife node show falRhel6x64.ammpilot.FALCON.release.ibm.com
Output

Node Name: falRhel6x64.ammpilot.FALCON.release.ibm.com
Environment: _default
FQDN: falRhel6x64.ammpilot.FALCON.release.ibm.com
IP: 159.8.215.239
Run List: recipe[zabbix-agent::linux], role[SetupPatchingNode]
Roles: ScanForPatches
Recipes: patchservice_operations::ScanEndpoints
Platform: redhat 7.2
Tags:

When I do backup using knife backup and proceed with restore operation, same node shows following attributes when it is queried

[root@localhost ~]# knife node show falRhel6x64.ammpilot.FALCON.release.ibm.com
Node Name: falRhel6x64.ammpilot.FALCON.release.ibm.com
Environment: _default
FQDN:
IP:
Run List: recipe[zabbix-agent::linux], role[SetupPatchingNode]
Roles:
Recipes:
Platform:
Tags:

If you see, certain attributes are missing. It has been seen that, certain JSON block is missing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions