<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot delete device in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550288#M440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have also seen this issue in version 1.5 with another error message.&lt;/P&gt;&lt;P&gt;"Unale to create rule because theres a device with matching serial number xxxxxx in provisioning state (PROVISIONED)" &lt;/P&gt;&lt;P&gt;Must be a bug that continues to live...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 20:53:47 GMT</pubDate>
    <dc:creator>steffenwebb</dc:creator>
    <dc:date>2017-11-08T20:53:47Z</dc:date>
    <item>
      <title>Cannot delete device</title>
      <link>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550286#M438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an APIC-EM server running 1.6.0.30151. I provisioned a switch successfully, so I deleted the device from Devices window. Now when I go back into projects to add the device back in, I get an error saying that the device cannot be added to the project because it is already linked to a rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The switch is not in the inventory list and using the API functions, it is not found in the inventory. How do I remove this switch so that I can provision is again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:41:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550286#M438</guid>
      <dc:creator>tyhill2014</dc:creator>
      <dc:date>2019-03-01T12:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete device</title>
      <link>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550287#M439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After further digging into this issue, I was finally able to get this device deleted. Here is how I did it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the API Delete pnp-device/"device-id". Once I ran this using Postman, the switch is now deleted from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:48:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550287#M439</guid>
      <dc:creator>tyhill2014</dc:creator>
      <dc:date>2017-11-08T20:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete device</title>
      <link>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550288#M440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have also seen this issue in version 1.5 with another error message.&lt;/P&gt;&lt;P&gt;"Unale to create rule because theres a device with matching serial number xxxxxx in provisioning state (PROVISIONED)" &lt;/P&gt;&lt;P&gt;Must be a bug that continues to live...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:53:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550288#M440</guid>
      <dc:creator>steffenwebb</dc:creator>
      <dc:date>2017-11-08T20:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete device</title>
      <link>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550289#M441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same on APIC-EM 1.5.0.1368. When I delete the device using GUI/API, it's no longer in APIC (not possible to find it in GUI for sure), but I can't create a new PnP request for the same device. I get an error: "Unable to create rule because there's device with matching serial number XXX"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is a feature, but I've found devices that started to provision in /pnp-device in addition to /pnp-project/&amp;lt;id&amp;gt;/device list. So as soon as device contacts APIC-EM, the second record in /pnp-device is created. If you delete both records, e.g. by serial number, there is no more issue. So I just had to alter the "delete" procedure a litte. Hope, this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 10:46:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3550289#M441</guid>
      <dc:creator>maksokami</dc:creator>
      <dc:date>2017-12-21T10:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete device</title>
      <link>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3788207#M442</link>
      <description>&lt;P&gt;by any chance you have an example syntax of your altered delete procedure / script? thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 16:01:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/cannot-delete-device/m-p/3788207#M442</guid>
      <dc:creator>skarpovitch</dc:creator>
      <dc:date>2019-01-25T16:01:56Z</dc:date>
    </item>
  </channel>
</rss>

