Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #2878
Something went wrong while setting issue due date.
Closed
Open
Issue created 11 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

we need a way to create systems from the inventory data

Closed

we need a way to create systems from the inventory data

Hello,

when we have inventoried systems, we need a way to create any kind of systems from it.

We click on an inventory object, we select the type of object we want to create and it creat it for us

Cheers

(from redmine: issue id 2878, created on 2013-11-26, closed on 2017-02-13)

  • Relations:
    • relates #4358 (closed)
  • Changesets:
    • Revision 32a29dbd by Côme Chilliet on 2015-12-03T09:25:30.000Z:
Fixes #2878 Updated inventory schema, cleaned up ip matching
  • Revision 5b54eacc by Côme Chilliet on 2015-12-03T12:23:17.000Z:
Fixes #2878 Added system creation from inventory infos
  • Revision c6bf653a by Côme Chilliet on 2015-12-08T07:44:15.000Z:
Fixes #2878 Fixed system link after inventory import
  • Revision 2cfa1686 by Côme Chilliet on 2015-12-22T17:48:52.000Z:
Fixes #2878 Updated inventory schema, cleaned up ip matching
  • Revision f9f3efcb by Côme Chilliet on 2017-02-13T11:58:55.000Z:
Fixes #2878 Attempt at fixing creation of systems from inventory objects
  • Custom Fields:
    • Bug in version: 1.0.7.1
  • Uploads:
    • 0001-Fixes-2878-First-draft-of-FusionInventory-import.patch
    • Screenshot_at_16-14-49

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • Côme Chilliet
      Côme Chilliet @cchilliet · 11 years ago
      Reporter

      This could be done in a better way once the new template system will be there, is it okay if we postpone this for 1.0.9?

      (from redmine: written on 2013-11-28)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      hello,

      i would say yes for now

      cheers

      (from redmine: written on 2013-11-28)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 11 years ago
      Reporter

      Do not commit, this is an empty shell. I'll work on this for 1.0.9 with new template system.

      (from redmine: written on 2013-12-16)

    • bmortier
      bmortier @bmortier · 9 years ago
      Author Maintainer

      hello,

      Updated inventory schema, cleaned up ip matching cherry-picked into 1.0.9.1-fixes does it need other part to be fully fonctionnal

      Cheers

      (from redmine: written on 2015-12-30)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 9 years ago
      Reporter

      No it should be ok I think

      (from redmine: written on 2016-01-04)

    • Jonathan Swaelens
      Jonathan Swaelens @jswaelens · 9 years ago
      Developer

      I just tried to create a system from an inventory and I can't choose any objectType.

      So when I click on create I have the next error:

      Fatal error: Uncaught exception 'NonExistingObjectTypeException' with message 'Non-existing type ""' in /usr/share/fusiondirectory/include/class_objects.inc:214 Stack trace: #0 /usr/share/fusiondirectory/plugins/admin/systems/fusioninventory/class_fiInventory.inc(342): objects::infos('') #1 /usr/share/fusiondirectory/include/simpleplugin/class_dialogAttributes.inc(573): fiInventory->createSystem() #2 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(2380): ButtonAttribute->applyPostValue() #3 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(617): CompositeAttribute->applyPostValue() #4 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(241): simplePlugin->save_object() #5 /usr/share/fusiondirectory/include/class_management.inc(194): simpleTabs->save_object() #6 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(901): management->execute() #7 /usr/share/fusiondirectory/plugins/admin/inventory/main.inc(21): simpleManagement::mainInc('inventory in /usr/share/fusiondirectory/include/class_objects.inc on line 214
      

      Cheers

      (from redmine: written on 2016-01-18)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 9 years ago
      Reporter

      Should be fixed now, when no templates are found and the select is empty, the button should be disabled.

      (from redmine: written on 2016-01-19)

    • Jonathan Swaelens
      Jonathan Swaelens @jswaelens · 9 years ago
      Developer

      I cannot create template for winstation and phone, I have the following errors.

      Error: Object class violation (attribute 'uid' not allowed, while operating on 'uid=$,ou=computers,ou=systems,dc=fusiondirectory,dc=org' using LDAP server 'ldap://demo-dev.fusiondirectory.org')
      
      Error: Invalid DN syntax (invalid DN, while operating on 'cn=,ou=phones,ou=systems,dc=fusiondirectory,dc=org' using LDAP server 'ldap://demo-dev.fusiondirectory.org'
      

      When I try to create a system with a template of printer, network device and mobile phone I have the following errors.

      The field 'IP address' contains invalid characters!
      

      It work perfectly for servers, workstation and terminals.

      (from redmine: written on 2016-01-20)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Please test again, the templates seems to work for all systems type. If you encounter errors again make sure to give the error and the exact way to reproduce it (with the LDAP dump of the used template).

      (from redmine: written on 2017-01-17)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      The templates match on itself and therefor does not offer creation

      (from redmine: written on 2017-02-13)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Close issue

      (from redmine: written on 2017-02-13)

    • Côme Chilliet closed 7 years ago

      closed

    • bmortier added Added label 6 years ago

      added Added label

    • bmortier removed Bugs label 2 years ago

      removed Bugs label

    • bmortier added PJ1802-0188 label 2 years ago

      added PJ1802-0188 label

    Please register or sign in to reply
    Assignee
    Jonathan Swaelens's avatar
    Jonathan Swaelens
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets